diff --git a/src/pages/personal/pages/my-questions/index.vue b/src/pages/personal/pages/my-questions/index.vue index 28a50229b..3447d6e1e 100644 --- a/src/pages/personal/pages/my-questions/index.vue +++ b/src/pages/personal/pages/my-questions/index.vue @@ -828,7 +828,7 @@ 选择标准 - {{ questionForm.standSortShow }} {{questionForm.standNumber }} {{ questionForm.standYear === '' ? '' : '-' }} {{ questionForm.standYear }} + {{ questionForm.standSortShow }} {{questionForm.standNumber }}{{ questionForm.standYear === '' ? '' : '-' }}{{ questionForm.standYear }} {{questionForm.standardName}} diff --git a/src/pages/regulatoryRepository/standQA/index.vue b/src/pages/regulatoryRepository/standQA/index.vue index 8f02d804b..a951bf09e 100644 --- a/src/pages/regulatoryRepository/standQA/index.vue +++ b/src/pages/regulatoryRepository/standQA/index.vue @@ -103,7 +103,7 @@ 选择标准 - {{ questionForm.standSortShow }} {{questionForm.standNumber }}-{{ questionForm.standYear }} + {{ questionForm.standSortShow }} {{questionForm.standNumber }}{{ questionForm.standYear === '' ? '' : '-' }}{{ questionForm.standYear }} {{questionForm.standardName}} @@ -1057,16 +1057,21 @@ export default { }, //提交问题 queSubmit(){ - this.isSubmit = true + // this.isSubmit = true if(this.standType === 'OTHER'){ this.questionForm.standardId = this.questionForm.pubQue this.questionForm.standardName = this.questionForm.pubQue this.questionForm.standardEncdoing = this.questionForm.pubQue } + if(!this.questionForm.standardId){ + this.$message.warning('请选择至少一条标准') + return + } if(this.questionForm.standardId){ this.questionForm.fileList = this.fileList this.$refs['queForm'].validate((valid) => { if(valid){ + this.isSubmit = true this.$http.postData('lawss/AskQuestions/insertAskQuestions',{ ...this.questionForm }, { _this: this