From 36091d86113c7f4b2cc7c20d62647f23745425ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com>
Date: Fri, 10 Jun 2022 13:36:39 +0800
Subject: [PATCH 1/4] =?UTF-8?q?=E9=97=AE=E7=AD=94=E8=B7=B3=E8=BD=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../otherBussStandardDetails/index.vue | 12 ++++
.../details/otherStandardDetails/index.vue | 13 +++-
.../components/questions-item.vue | 1 -
.../personal/pages/my-questions/index.vue | 16 ++++-
.../standQA/components/questionItemInfo.vue | 1 +
.../standQA/components/questions-item.vue | 40 ++++++-----
.../regulatoryRepository/standQA/index.vue | 70 +++++++++++++++++--
7 files changed, 124 insertions(+), 29 deletions(-)
diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue
index cd58896bc..dd53790ec 100644
--- a/src/pages/details/otherBussStandardDetails/index.vue
+++ b/src/pages/details/otherBussStandardDetails/index.vue
@@ -333,6 +333,7 @@
更新记录
+ 标准问答
@@ -2949,6 +2950,17 @@ export default {
this.relateDialog1 = true
this.relateNowList1 = list
},
+ //标准问答按钮
+ knowledgeSharing() {
+ this.$router.push({
+ path: '/standQA',
+ query:{
+ standId: this.$route.params.id,
+ standType: 'BUSINESS_STAND',
+ sourceType: 'details',
+ }
+ })
+ },
// 更新LOG
relateEvent () {
this.$http.get('lawss/sarUpdLog/getLogList', {
diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue
index 7d92ae364..cefcccc97 100644
--- a/src/pages/details/otherStandardDetails/index.vue
+++ b/src/pages/details/otherStandardDetails/index.vue
@@ -30,7 +30,7 @@
更新记录
-
+ 标准问答
@@ -2454,9 +2454,16 @@ export default {
pageSizeChange1() {
this.getKnowList()
},
+ //标准问答按钮
knowledgeSharing() {
- this.knowledgeSharingDialog = true
- this.getKnowList()
+ this.$router.push({
+ path: '/standQA',
+ query:{
+ standId: this.$route.params.id,
+ standType: this.sarStandardsInfoEO.standType,
+ sourceType: 'details',
+ }
+ })
},
// 获取知识点列表数据
getKnowList() {
diff --git a/src/pages/personal/pages/my-questions/components/questions-item.vue b/src/pages/personal/pages/my-questions/components/questions-item.vue
index b7c409f56..a4f3fb635 100644
--- a/src/pages/personal/pages/my-questions/components/questions-item.vue
+++ b/src/pages/personal/pages/my-questions/components/questions-item.vue
@@ -36,7 +36,6 @@ export default {
immediate: true,
deep: true,
handler(val){
- console.log(val);
}
}
}
diff --git a/src/pages/personal/pages/my-questions/index.vue b/src/pages/personal/pages/my-questions/index.vue
index 81ea17608..b2bddf81f 100644
--- a/src/pages/personal/pages/my-questions/index.vue
+++ b/src/pages/personal/pages/my-questions/index.vue
@@ -817,7 +817,7 @@
相似历史问题:
-
+
{{item.problemDescription}}
{{item.questionTime}}
@@ -1334,8 +1334,18 @@ export default {
}
}),
//点击跳转问题详情
- historyJump(id){
- this.$router.push('/standQA')
+ historyJump(item){
+ this.$router.push({
+ path: '/standQA',
+ query:{
+ standId: item.standardId,
+ queId: item.id,
+ standType: item.classification,
+ sourceType: 'dialog',
+ standName: item.standardName,
+ }
+ })
+ this.dialogVisible = false
},
// 点击查看
handlePreview(item) {
diff --git a/src/pages/regulatoryRepository/standQA/components/questionItemInfo.vue b/src/pages/regulatoryRepository/standQA/components/questionItemInfo.vue
index 00b0653e1..6e40ad4fb 100644
--- a/src/pages/regulatoryRepository/standQA/components/questionItemInfo.vue
+++ b/src/pages/regulatoryRepository/standQA/components/questionItemInfo.vue
@@ -48,6 +48,7 @@ export default {
deep: true,
handler(val) {
this.answer = val
+ console.log(val);
}
}
}
diff --git a/src/pages/regulatoryRepository/standQA/components/questions-item.vue b/src/pages/regulatoryRepository/standQA/components/questions-item.vue
index 82d5f6d9e..4964aa64b 100644
--- a/src/pages/regulatoryRepository/standQA/components/questions-item.vue
+++ b/src/pages/regulatoryRepository/standQA/components/questions-item.vue
@@ -1,26 +1,28 @@
-
-
- 订阅
-
-
-
-
-
提问:
-
{{question.problemDescription}}
+
+
+
+ 订阅
+
+
+
+
+
提问:
+ {{question.problemDescription}}
+
-
-
-
-
{{answer.answerer}}
-
{{question.questionTime}}
+
+
+
{{question.answerer}}
+ {{question.questionTime}}
+
-
+