feat: There is no way the, bug #55728
This commit is contained in:
@@ -1828,26 +1828,28 @@ export default {
|
|||||||
this.questionForm.standardName = this.questionForm.pubQue
|
this.questionForm.standardName = this.questionForm.pubQue
|
||||||
this.questionForm.standardEncdoing = this.questionForm.pubQue
|
this.questionForm.standardEncdoing = this.questionForm.pubQue
|
||||||
}
|
}
|
||||||
if(this.questionForm.standardId){
|
if(!this.questionForm.standardId){
|
||||||
this.questionForm.fileList = this.fileList
|
this.$message.warning('请选择至少一条标准')
|
||||||
this.$refs['queForm'].validate((valid) => {
|
return
|
||||||
if(valid){
|
|
||||||
this.$http.postData('lawss/AskQuestions/insertAskQuestions',{ ...this.questionForm },
|
|
||||||
{
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
console.log(res);
|
|
||||||
this.dialogVisible = false
|
|
||||||
}, e => {
|
|
||||||
|
|
||||||
})
|
|
||||||
}else{
|
|
||||||
return this.$message.warning('请输入问题')
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}else{
|
|
||||||
this.$message.warning('请选择至少一条标准')
|
|
||||||
}
|
}
|
||||||
|
this.questionForm.fileList = this.fileList
|
||||||
|
this.$refs['queForm'].validate((valid) => {
|
||||||
|
if(valid){
|
||||||
|
this.$http.postData('lawss/AskQuestions/insertAskQuestions',{ ...this.questionForm },
|
||||||
|
{
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.dialogVisible = false
|
||||||
|
this.activeName = "myQue"
|
||||||
|
this.activeType = this.standType
|
||||||
|
this.searchBtn()
|
||||||
|
}, e => {
|
||||||
|
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
return this.$message.warning('请输入问题')
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,12 +4,7 @@
|
|||||||
<div id="stand-item">
|
<div id="stand-item">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<span>{{stand.standardEncdoing}}</span>
|
<span>{{stand.standardName}}</span>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<div class="item">
|
|
||||||
<span :title="stand.standardEncdoing + stand.standardName">{{stand.standardName}}</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1213,8 +1213,27 @@ export default {
|
|||||||
{
|
{
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
console.log(res);
|
|
||||||
this.dialogVisible = false
|
this.dialogVisible = false
|
||||||
|
switch (this.standType){
|
||||||
|
case 'INLAND':
|
||||||
|
this.standSearch2()
|
||||||
|
break
|
||||||
|
case 'FOREIGN':
|
||||||
|
this.activeName = 'FOREIGN'
|
||||||
|
this.questionSerach.classification = 'FOREIGN'
|
||||||
|
this.standSearch2()
|
||||||
|
break
|
||||||
|
case 'BUSINESS_STAND':
|
||||||
|
this.activeName = 'BUSINESS_STAND'
|
||||||
|
this.questionSerach.classification = 'BUSINESS_STAND'
|
||||||
|
this.standSearch2()
|
||||||
|
break
|
||||||
|
case 'OTHER':
|
||||||
|
this.activeName = 'OTHER'
|
||||||
|
this.questionSerach.classification = 'OTHER'
|
||||||
|
this.standSearch2()
|
||||||
|
break
|
||||||
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user