From 6ffb8581dc10fd3e335f283ee7855e418ea0d002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E6=98=AF=E7=AD=96=E8=AF=97=E6=BA=90?= Date: Thu, 5 Aug 2021 04:36:22 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=9F=E8=AE=A1=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=EF=BC=8C=E6=98=BE=E7=A4=BA=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E9=80=89=E9=A1=B9label=E5=92=8C=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E5=86=85=E5=AE=B9=201=E3=80=81=E5=9C=A8=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E6=97=B6=EF=BC=8C=E6=98=BE=E7=A4=BA=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E9=80=89=E9=A1=B9=E7=9A=84label=E5=92=8C=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E9=80=89=E9=A1=B9=E8=BE=93=E5=85=A5=E6=A1=86=E7=9A=84?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E3=80=82=E5=9B=A0=E4=B8=BA=E5=AE=9E=E9=99=85?= =?UTF-8?q?=E9=97=AE=E5=8D=B7=E4=B8=AD=E5=B8=A6=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E7=9A=84=E9=80=89=E9=A1=B9=EF=BC=8Clabel=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E5=AE=9A=E5=8F=AB=E5=85=B6=E4=BB=96=EF=BC=8C=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E6=8A=8Alabel=E6=98=BE=E7=A4=BA=E5=87=BA=E6=9D=A5=E3=80=82=202?= =?UTF-8?q?=E3=80=81=E7=9B=AE=E5=89=8D=E6=B2=A1=E6=9C=89=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E7=9A=84=E6=98=AF=E5=A4=9A=E9=80=89=EF=BC=8C=E7=94=B1=E4=BA=8E?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E9=A1=BA=E5=BA=8F=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E8=BE=93=E5=85=A5=E6=A1=86=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E4=B8=8D=E4=B8=80=E5=AE=9A=E8=83=BD=E8=B7=9F=E5=9C=A8=E5=85=B6?= =?UTF-8?q?=E4=BB=96label=E5=90=8E=E9=9D=A2=EF=BC=88=E4=BE=8B=E5=A6=82?= =?UTF-8?q?=EF=BC=9A=E5=85=B6=E4=BB=96=EF=BC=8C=E9=80=89=E9=A1=B9=E4=B8=80?= =?UTF-8?q?=EF=BC=9A=E8=BE=93=E5=85=A5=E6=A1=86=E7=9A=84=E5=86=85=E5=AE=B9?= =?UTF-8?q?=EF=BC=89=E3=80=82=E5=BE=85=E4=BC=98=E5=8C=96=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/form/statistics/item.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/form/statistics/item.vue b/src/views/form/statistics/item.vue index 7ff823c..bcc8cd5 100644 --- a/src/views/form/statistics/item.vue +++ b/src/views/form/statistics/item.vue @@ -46,6 +46,10 @@ export default { return this.resultData ? this.resultData['processData'] : {} }, getItemValue() { + if(this.processData[`field${this.fieldItemId}other`]){ + // 如果存在其他的内容,返回lable+内容 + return this.processData[`field${this.fieldItemId}`] + ':'+this.processData[`field${this.fieldItemId}other`] + } return this.processData[`field${this.fieldItemId}`] ? this.processData[`field${this.fieldItemId}`] : '' } }