diff --git a/src/pages/regulatoryRepository/standQA/index.vue b/src/pages/regulatoryRepository/standQA/index.vue index fca85967f..2c970c7ba 100644 --- a/src/pages/regulatoryRepository/standQA/index.vue +++ b/src/pages/regulatoryRepository/standQA/index.vue @@ -132,7 +132,7 @@ 取 消 - 提 交 + 提 交 @@ -586,6 +586,7 @@ export default { activeName: 'INLAND', activeType: 'INLAND', activestand: '', + isSubmit: false, activeQue: '', standType: 'INLAND', dialogVisible: false, @@ -1035,6 +1036,7 @@ export default { }, //提交问题 queSubmit(){ + this.isSubmit = true if(this.standType === 'OTHER'){ this.questionForm.standardId = this.questionForm.pubQue this.questionForm.standardName = this.questionForm.pubQue @@ -1049,6 +1051,7 @@ export default { _this: this }, res => { this.dialogVisible = false + this.isSubmit = false this.searchBtn() }, e => { diff --git a/src/pages/regulatoryRepository/standQA/index2.vue b/src/pages/regulatoryRepository/standQA/index2.vue index 1c0fe93f9..98105726e 100644 --- a/src/pages/regulatoryRepository/standQA/index2.vue +++ b/src/pages/regulatoryRepository/standQA/index2.vue @@ -320,7 +320,7 @@ 取 消 - 提 交 + 提 交 @@ -766,6 +766,7 @@ export default { {required: true, message: '请输入问题', trigger: 'blur'}, ], }, + queSubmitLading: false, questionSerach:{ classification: 'INLAND', standardName: '', //标准名称 @@ -1226,6 +1227,7 @@ export default { }, //提交问题 queSubmit(){ + this.queSubmitLading = true if(this.standType === 'OTHER'){ this.questionForm.standardId = this.questionForm.pubQue this.questionForm.standardName = this.questionForm.pubQue @@ -1260,15 +1262,18 @@ export default { this.standSearch2() break } + this.queSubmitLading = false this.queSearch() }, e => { }) }else{ + this.queSubmitLading = false return this.$message.warning('请输入问题') } }) }else{ + this.queSubmitLading = false this.$message.warning('请选择至少一条标准') } },