From 9334dde64242a5b9dc9ba59371fb88cab68402eb Mon Sep 17 00:00:00 2001 From: zyn Date: Fri, 14 Apr 2023 10:03:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E7=AD=94=E5=BA=93=E6=8F=90=E9=97=AE?= =?UTF-8?q?=E6=8C=89=E9=92=AEloading=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/personal/pages/my-questions/index.vue | 2 +- src/pages/regulatoryRepository/standQA/index.vue | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) 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