From 1f53cfd55643ac516b731a48a10d29ee223a49f7 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Tue, 12 Jul 2022 16:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=B3=95=E8=A7=84=E6=8A=80?= =?UTF-8?q?=E6=9C=AF=E8=AF=84=E4=BC=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/initiatingProcess.vue | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/jero-web/src/views/businessSupport/technologyAssessment/components/initiatingProcess.vue b/jero-web/src/views/businessSupport/technologyAssessment/components/initiatingProcess.vue index 5130a4307..2731a6cd9 100644 --- a/jero-web/src/views/businessSupport/technologyAssessment/components/initiatingProcess.vue +++ b/jero-web/src/views/businessSupport/technologyAssessment/components/initiatingProcess.vue @@ -42,7 +42,7 @@
- {{selectedRowKeysRecord[0] ? selectedRowKeysRecord[0].serial_number :''}} + {{selectedRowKeysRecord[0] ? selectedRowKeysRecord[0].serialNumber :''}}
@@ -343,12 +343,12 @@ let content = record.filter(res => { return res.id == this.selectedRowKeys[0] }) - if (content && content.length > 0){ + if (content && content.length > 0) { this.selectedRowKeysRecord.push({ - standId:content[0].id, - serialNumber:content[0].serial_number, - title:content[0].title, - technologyTerritory:content[0].technology_territory, + standId: content[0].id, + serialNumber: content[0].serial_number, + title: content[0].title, + technologyTerritory: content[0].technology_territory }) } }, @@ -410,9 +410,9 @@ } else { this.JLoading = true let value = Object.assign(this.formInline, this.selectedRowKeysRecord[0]) - if (this.isTrue){ + if (this.isTrue) { value.evaluationType = 'Item evaluation' - }else{ + } else { value.evaluationType = 'Feedback evaluation' } value.startTime = startTime @@ -421,6 +421,9 @@ value.id = this.getUUID() value.regulationOwnerId = this.userInfo().id Object.keys(value).forEach(res => { + if (value[res] && value[res] instanceof Array) { + value[res] = value[res].join(',') + } if (value[res] && value[res] instanceof String) { value[res] = value[res].replace(/\"/g, '“') value[res] = value[res].replace(/\'/g, '‘')