From a0024b5e1dd4969e5a1c4e36f3dca643fc0a3a00 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Wed, 15 Jun 2022 14:44:15 +0800 Subject: [PATCH 01/13] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20bu?= =?UTF-8?q?g=20#55663=20=E7=88=B6=E5=AD=90=E7=BB=84=E4=BB=B6=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=81=9A=E5=85=B3=E8=81=94=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../my-questions/components/answerItem.vue | 84 +++++++++++-------- .../components/questionItemInfo.vue | 2 +- .../personal/pages/my-questions/index.vue | 62 ++++++++++---- 3 files changed, 98 insertions(+), 50 deletions(-) diff --git a/src/pages/personal/pages/my-questions/components/answerItem.vue b/src/pages/personal/pages/my-questions/components/answerItem.vue index e29d86c41..c8990b856 100644 --- a/src/pages/personal/pages/my-questions/components/answerItem.vue +++ b/src/pages/personal/pages/my-questions/components/answerItem.vue @@ -66,23 +66,23 @@
点击或拖拽上传文件
- - diff --git a/src/pages/personal/pages/my-questions/components/questionItemInfo.vue b/src/pages/personal/pages/my-questions/components/questionItemInfo.vue index 7ec276963..bc31a6c57 100644 --- a/src/pages/personal/pages/my-questions/components/questionItemInfo.vue +++ b/src/pages/personal/pages/my-questions/components/questionItemInfo.vue @@ -24,7 +24,7 @@
- 归档 + 归档
diff --git a/src/pages/personal/pages/my-questions/index.vue b/src/pages/personal/pages/my-questions/index.vue index 08dd5ddad..7934e9b6d 100644 --- a/src/pages/personal/pages/my-questions/index.vue +++ b/src/pages/personal/pages/my-questions/index.vue @@ -63,8 +63,8 @@
- 暂无数据 -
+ 暂无数据 +
正在加载数据
-
- +
+
@@ -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 02/13] 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 @@ -
+