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.standardEncdoing = this.questionForm.pubQue
|
||||
}
|
||||
if(this.questionForm.standardId){
|
||||
this.questionForm.fileList = this.fileList
|
||||
this.$refs['queForm'].validate((valid) => {
|
||||
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('请选择至少一条标准')
|
||||
if(!this.questionForm.standardId){
|
||||
this.$message.warning('请选择至少一条标准')
|
||||
return
|
||||
}
|
||||
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('请输入问题')
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user