From 7f18cb7a252aecf3d472cb18b4a8311d3a5204bf Mon Sep 17 00:00:00 2001 From: zyd Date: Wed, 15 Jun 2022 00:33:29 +0800 Subject: [PATCH 1/7] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=88=91=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E7=AD=94=E5=A4=A7=E7=A5=9E=E7=BA=A7=E5=86=99=E7=9A=84?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=B8=AD=E7=9A=84=E5=B0=8F=E7=91=95=E7=96=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../personal/pages/my-questions/components/answerItem.vue | 3 ++- src/pages/personal/pages/my-questions/index.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/personal/pages/my-questions/components/answerItem.vue b/src/pages/personal/pages/my-questions/components/answerItem.vue index 453bed1d8..a3d44f0ec 100644 --- a/src/pages/personal/pages/my-questions/components/answerItem.vue +++ b/src/pages/personal/pages/my-questions/components/answerItem.vue @@ -108,9 +108,10 @@ export default { this.$http.postData('lawss/Reply/insertReply',{ ...this.form },{ _this: this }, res => { - if(res.merge === '添加成功'){ + if(res.ok){ this.form.reply = '' this.fileList = [] + //此处需要调用父组件中的方法,将问题列表进行刷新操作 } }, e => { diff --git a/src/pages/personal/pages/my-questions/index.vue b/src/pages/personal/pages/my-questions/index.vue index 7541be07c..95cd8c9fd 100644 --- a/src/pages/personal/pages/my-questions/index.vue +++ b/src/pages/personal/pages/my-questions/index.vue @@ -19,7 +19,7 @@ 清空 - 提问 + 提问 From 6a9810f84d2cd94b7e87624b25bf03ee4ec084a9 Mon Sep 17 00:00:00 2001 From: zyd Date: Wed, 15 Jun 2022 00:54:58 +0800 Subject: [PATCH 2/7] =?UTF-8?q?fix:=E5=8F=91=E5=B8=83=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=A1=B5=E9=9D=A2=E6=8E=92=E5=BA=8F=EF=BC=8C?= =?UTF-8?q?=E6=AD=A4=E5=A4=84=E8=BF=98=E6=9C=89=E5=9D=91=EF=BC=8C=E5=90=8E?= =?UTF-8?q?=E9=9D=A2=E5=86=8D=E8=AF=B4=E5=90=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/EnterpriseStandardDatabase.vue | 1 + .../foreignStandardsAndRegulations/index.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 58f0180dd..e3211700d 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -369,6 +369,7 @@
- 暂无数据 -
+ 暂无数据 +
正在加载数据
-
- +
+
@@ -395,7 +395,7 @@ 正在加载数据
-
+
@@ -456,7 +456,7 @@ 正在加载数据
-
+
@@ -519,7 +519,7 @@ 正在加载数据
-
+
@@ -1210,6 +1210,13 @@
+ + @@ -1239,7 +1246,10 @@ export default { }, data(){ return{ + aiKey:1, dataLoading: true, + roleFlag: false, + nodeList: [], mergeList: [], historyList: [], //相似历史问题 handleSelectForm: { @@ -1322,13 +1332,8 @@ export default { immediate: true, deep: true, handler(val) { - this.mergeList = [] - val.forEach(item =>{ - if(item.checked){ - this.mergeList.push(item.id) - } - }) - sessionStorage.setItem('mergeList', JSON.stringify(this.mergeList)) + this.aiKey++ + // sessionStorage.setItem('mergeList', JSON.stringify(this.mergeList)) } }, 'questionForm.problemDescription':{ @@ -1337,8 +1342,27 @@ export default { } }, methods:{ + checkedRole(data){ + let asdId = sessionStorage.getItem('queId') + this.$http.postData('lawss/AskUser/insertAskUser',{ + asdId: asdId, + usid: data[0].id, + },{ + _this: this + }, res => { + if(res.ok){ + this.$message.success('邀请成功') + } + }, e => { + + }) + }, + roleFlagBooFunc(boo){ + if(boo){ + this.roleFlag = true + } + }, emitInsState(state){ - console.log(state) if(state){ this.questionClick() }else { @@ -1611,6 +1635,11 @@ export default { if(res.data.length){ res.data.forEach(item => { item.checkedShow = true + if(item.state && item.state === 'yes'){ + item.checked = true + }else { + item.checked = false + } }) } this.answerList = res.data @@ -1699,6 +1728,7 @@ export default { _this: this, }, res => { this.standList = res.data + this.questionClick() }) }, //查询订阅标准 @@ -1710,6 +1740,7 @@ export default { _this: this }, res => { this.standList = res.data + this.questionClick() }, e =>{ }) @@ -1720,6 +1751,7 @@ export default { _this: this }, res =>{ this.standList = res.data + this.questionClick() }, e => { }) From 9d135cfb72607211c6702734442eafb69693eda9 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Wed, 15 Jun 2022 15:20:50 +0800 Subject: [PATCH 4/7] feat: There is no way the, bug #55665 --- .../personal/pages/my-questions/index.vue | 22 +++++++++------- .../standQA/components/questions-item.vue | 15 +++++++++-- .../regulatoryRepository/standQA/index.vue | 26 ++++++++++++++----- 3 files changed, 46 insertions(+), 17 deletions(-) diff --git a/src/pages/personal/pages/my-questions/index.vue b/src/pages/personal/pages/my-questions/index.vue index 7934e9b6d..83b9b401f 100644 --- a/src/pages/personal/pages/my-questions/index.vue +++ b/src/pages/personal/pages/my-questions/index.vue @@ -80,7 +80,7 @@ -
+