diff --git a/src/pages/personal/pages/my-questions/components/questionItemInfo.vue b/src/pages/personal/pages/my-questions/components/questionItemInfo.vue index 141c8c910..09c9b87c8 100644 --- a/src/pages/personal/pages/my-questions/components/questionItemInfo.vue +++ b/src/pages/personal/pages/my-questions/components/questionItemInfo.vue @@ -10,7 +10,7 @@
-
+
附件: {{answer.appendixName}}
@@ -43,7 +43,10 @@ export default { } }, methods:{ - answerChang(val){ + //点击预览 + clickButtonTo() { + const attId = this.answer.appendixId + this.$preview(attId) }, }, watch:{ diff --git a/src/pages/regulatoryRepository/standQA/components/questionItemInfo.vue b/src/pages/regulatoryRepository/standQA/components/questionItemInfo.vue index ab94073d8..00b0653e1 100644 --- a/src/pages/regulatoryRepository/standQA/components/questionItemInfo.vue +++ b/src/pages/regulatoryRepository/standQA/components/questionItemInfo.vue @@ -10,9 +10,9 @@
-
+
附件: - {{answer.appendixName}} + {{answer.appendixName}}
@@ -36,6 +36,11 @@ export default { } }, methods:{ + //点击预览 + clickButtonTo() { + const attId = this.answer.appendixId + this.$preview(attId) + }, }, watch:{ answer: {