From cc001fbe24174f7458f356a6db5fea6d6dc1341c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Wed, 30 Mar 2022 13:38:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?52001=20=E6=A0=87=E5=87=86=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E6=B5=81=E7=A8=8B--=E4=BC=9A=E7=AD=BE=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E5=9C=88=E4=B8=BB=E7=9A=84=E5=AD=97=E6=AE=B5=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E6=B2=A1=E5=9B=9E=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/processCenter/pages/creatProcess/bzrk/step3.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue index 7d81b9d0c..c8b3f398a 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue @@ -1129,6 +1129,13 @@ export default { getFormFieldList (item) { this.$nextTick(() => { this.form = JSON.parse(JSON.stringify(item)) + let wssmrName = this.form.wssmrname + this.form.wssmr = wssmrName + this.form.sycpx = this.form.sycpx.split(',') + this.form.nylx = this.form.nylx.split(',') + this.form.cllx = this.form.cllx.split(',') + this.form.syrz = this.form.syrz.split(',') + this.form.syrz = this.form.syrz.split(',') this.defaultCheckedKeys = [this.form.standSystem] this.defaultCheckedKeys1 = [this.form.cycvppsbm] this.defaultCheckedKeys2 = [this.form.kccvppsbm] From 48ad6683e3f5eff923734193160f7b6f7479f0e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Wed, 30 Mar 2022 13:52:54 +0800 Subject: [PATCH 2/2] =?UTF-8?q?52249=20=E6=A0=87=E5=87=86=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E6=B5=81=E7=A8=8B=EF=BC=8C=E9=80=89=E6=8B=A9=E6=B5=B7?= =?UTF-8?q?=E5=A4=96=EF=BC=8C=E5=88=B0=E6=89=B9=E5=87=86=E8=8A=82=E7=82=B9?= =?UTF-8?q?=EF=BC=8C=E5=9C=88=E4=BD=8F=E7=9A=84=E7=9C=8B=E7=9C=8B=E8=BF=99?= =?UTF-8?q?=E5=9B=9B=E4=B8=AA=E6=A1=86=E8=83=BD=E4=B8=8D=E8=83=BD=E4=B8=8D?= =?UTF-8?q?=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/creatProcess/bzrk/step2.vue | 9 ++++----- .../processCenter/pages/creatProcess/bzrk/step3.vue | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue index cedbb0aab..bcd2d3a5e 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue @@ -1170,11 +1170,10 @@ export default { this.form = JSON.parse(JSON.stringify(item)) let wssmrName = this.form.wssmrname this.form.wssmr = wssmrName - this.form.sycpx = this.form.sycpx.split(',') - this.form.nylx = this.form.nylx.split(',') - this.form.cllx = this.form.cllx.split(',') - this.form.syrz = this.form.syrz.split(',') - this.form.syrz = this.form.syrz.split(',') + this.form.sycpx = this.form.sycpx && this.form.sycpx !== [] ? this.form.sycpx.split(',') : '' + this.form.nylx = this.form.nylx && this.form.nylx !== [] ? this.form.nylx.split(',') : '' + this.form.cllx = this.form.cllx && this.form.cllx !== [] ? this.form.cllx.split(',') : '' + this.form.syrz = this.form.syrz && this.form.syrz !== [] ? this.form.syrz.split(',') : '' this.defaultCheckedKeys = [this.form.standSystem] this.defaultCheckedKeys1 = [this.form.cycvppsbm] this.defaultCheckedKeys2 = [this.form.kccvppsbm] diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue index c8b3f398a..9b5301fa0 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue @@ -1131,11 +1131,10 @@ export default { this.form = JSON.parse(JSON.stringify(item)) let wssmrName = this.form.wssmrname this.form.wssmr = wssmrName - this.form.sycpx = this.form.sycpx.split(',') - this.form.nylx = this.form.nylx.split(',') - this.form.cllx = this.form.cllx.split(',') - this.form.syrz = this.form.syrz.split(',') - this.form.syrz = this.form.syrz.split(',') + this.form.sycpx = this.form.sycpx && this.form.sycpx !== [] ? this.form.sycpx.split(',') : '' + this.form.nylx = this.form.nylx && this.form.nylx !== [] ? this.form.nylx.split(',') : '' + this.form.cllx = this.form.cllx && this.form.cllx !== [] ? this.form.cllx.split(',') : '' + this.form.syrz = this.form.syrz && this.form.syrz !== [] ? this.form.syrz.split(',') : '' this.defaultCheckedKeys = [this.form.standSystem] this.defaultCheckedKeys1 = [this.form.cycvppsbm] this.defaultCheckedKeys2 = [this.form.kccvppsbm]