From 475e152e135dc582fa32711c8304fdf42b240cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Thu, 9 Jun 2022 11:16:04 +0800 Subject: [PATCH] =?UTF-8?q?52917=20=E3=80=90=E6=A0=87=E5=87=86=E9=97=AE?= =?UTF-8?q?=E7=AD=94=E5=8A=9F=E8=83=BD=E3=80=91=E5=9B=9E=E7=AD=94=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=BA=94=E8=AF=A5=E5=8F=AF=E4=BB=A5=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E9=A2=84=E8=A7=88=EF=BC=8C=E7=8E=B0=E5=9C=A8?= =?UTF-8?q?=E6=98=AF=E4=B8=8D=E6=94=AF=E6=8C=81=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/my-questions/components/questionItemInfo.vue | 7 +++++-- .../standQA/components/questionItemInfo.vue | 9 +++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) 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: {