From dda8a553730027c292c1f41cdb54cc754c56d884 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, 11 May 2022 11:30:15 +0800 Subject: [PATCH] =?UTF-8?q?52744=20=E6=A0=87=E5=87=86=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=20=E6=B5=81=E7=A8=8B=E5=8F=91=E8=B5=B7?= =?UTF-8?q?=EF=BC=8C=E4=BF=9D=E5=AD=98=E8=8D=89=E7=A8=BF=E5=8F=91=E8=B5=B7?= =?UTF-8?q?=EF=BC=8C=E6=89=B9=E5=87=86=E8=8A=82=E7=82=B9=E9=A9=B3=E5=9B=9E?= =?UTF-8?q?=20=E5=9B=BD=E5=AE=B6=E5=9C=B0=E5=8C=BA=E4=B8=A2=E5=A4=B1202205?= =?UTF-8?q?11095157535?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzrk/step1.vue | 59 +- .../pages/creatProcess/bzrk/step2.vue | 10 +- .../pages/creatProcess/bzrk/step3.vue | 8 +- .../pages/creatProcess/bzrk/step4.vue | 4 +- .../pages/creatProcess/bzrk/step5.vue | 722 +++++++++++++----- 5 files changed, 555 insertions(+), 248 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index 65ac10fdb..b5da1d706 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -72,6 +72,31 @@ value-format="yyyy-MM-dd"> + + + + + + + + @@ -153,31 +178,6 @@ clearable > - - - - - - - - @@ -2111,21 +2111,25 @@ export default { * @description: 动态表单读取 */ getFormFieldList(item) { + console.log(item); this.$nextTick(() => { this.form = JSON.parse(JSON.stringify(item)) this.defaultCheckedKeys = [this.form.standSystem] this.defaultCheckedKeys1 = [this.form.cycvppsbm] this.defaultCheckedKeys2 = [this.form.kccvppsbm] this.defaultCheckedKeys3 = [this.form.dybxh] - this.treeCheckedKeys = this.form.treeListId.split(',') + if (this.form.treeListId) { + this.treeCheckedKeys = this.form.treeListId.split(',') + } this.form.standType = this.form.standInData === "0" ? 'INLAND' : 'FOREIGN' this.form.standYear = this.form.standYear ? this.form.standYear : '' - if (this.form.country !== undefined && this.form.country !== null && this.form.country !== '') { + if (this.form.country) { this.form.country = this.form.country.split(","); } this.form.prcNum = this.prcNum this.form.prcName = this.prcName this.form['id'] = item.id + console.log(this.form); // 遍历对象初始化文件信息 for (const p in this.form) { @@ -3224,6 +3228,7 @@ export default { this.saveLoading = false this.$message.success('保存成功') this.bpnId = res.result + this.$router.push({path: '/processCenter?tabsName=ProcessCenter'}) }).catch(e => { this.saveLoading = false }) diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue index 4b8627a66..97acce26f 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue @@ -1180,17 +1180,17 @@ export default { this.form = JSON.parse(JSON.stringify(item)) let wssmrName = this.form.wssmrname || this.form.wssmr this.form.wssmr = wssmrName - 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.form.sycpx = this.form.sycpx && this.form.sycpx !== [] ? this.form.sycpx : '' + this.form.nylx = this.form.nylx && this.form.nylx !== [] ? this.form.nylx : '' + this.form.cllx = this.form.cllx && this.form.cllx !== [] ? this.form.cllx: '' + this.form.syrz = this.form.syrz && this.form.syrz !== [] ? this.form.syrz : '' this.defaultCheckedKeys = [this.form.standSystem] this.defaultCheckedKeys1 = [this.form.cycvppsbm] this.defaultCheckedKeys2 = [this.form.kccvppsbm] this.defaultCheckedKeys3 = [this.form.dybxh] this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN' this.form.standYear = this.form.standYear ? this.form.standYear : '' - if (this.form.country !== undefined && this.form.country !== null && this.form.country !== '') { + if (this.form.country) { this.form.country = this.form.country.split(","); } this.form.prcNum = this.prcNum diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue index 49d53b1e9..31ac891dd 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue @@ -1136,10 +1136,10 @@ export default { this.form = JSON.parse(JSON.stringify(item)) let wssmrName = this.form.wssmrname || this.form.wssmr this.form.wssmr = wssmrName - 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.form.sycpx = this.form.sycpx && this.form.sycpx !== [] ? this.form.sycpx : '' + this.form.nylx = this.form.nylx && this.form.nylx !== [] ? this.form.nylx : '' + this.form.cllx = this.form.cllx && this.form.cllx !== [] ? this.form.cllx: '' + this.form.syrz = this.form.syrz && this.form.syrz !== [] ? this.form.syrz: '' this.defaultCheckedKeys = [this.form.standSystem] this.defaultCheckedKeys1 = [this.form.cycvppsbm] this.defaultCheckedKeys2 = [this.form.kccvppsbm] diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue index 33b9bbc47..965909809 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue @@ -2648,7 +2648,9 @@ export default { this.form.prcNum = this.prcNum this.form.prcName = this.prcName this.form['id'] = item.id - this.form.country = item.country.split(',') + if (this.form.country) { + this.form.country = this.form.country.split(","); + } this.$forceUpdate() }) }, diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue index 80881c2e8..b05a9f745 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue @@ -24,13 +24,26 @@
- + 国内标准入库 海外标准入库 - + + + + + + + + @@ -108,7 +122,8 @@ disabled v-model="form.issueTime" type="date" - placeholder="请选择标准发布日期"> + placeholder="请选择标准发布日期" + value-format="yyyy-MM-dd"> - - - - - - + + - + 文本信息
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
- {{ form.xgdName }} +
+ + {{ value.name }}
- -
-
- {{ form.fbgbjbdName }} +
+ {{ value.name }}
- -
-
- {{ form.zbjbdName }} +
+ {{ value.name }}
- -
-
- {{ form.ssgName }} +
+ {{ value.name }}
- -
-
- {{ form.caName }} +
+ {{ value.name }}
- - @@ -242,8 +328,16 @@ -
- {{ form.kwjName }} +
+ {{ value.name }} +
+
+ - - +
+ + +
+ {{ value.name }}
- - @@ -252,24 +346,24 @@ -
- {{ form.jdwjName }} +
+ {{ value.name }}
- -
-
- {{ form.bpgName }} +
+ {{ value.name }}
- -
-
- {{ form.zqyjgName }} +
+ {{ value.name }}
- - @@ -307,7 +401,7 @@ - + - + - + - + - + - + - + - + - - + {{ form.wssmr }} - - + + + + + + + @@ -458,6 +536,17 @@ > + + + + +
@@ -470,18 +559,18 @@ @@ -489,75 +578,50 @@ - - - - - - - - -
- {{ form.glwjName }} +
+ {{ value.name }}
- -
- - - - - - - - - - - - - - - - - @@ -571,8 +635,8 @@ @@ -582,25 +646,6 @@
-
- - - - - - - - - - - - - - - - - -
@@ -650,7 +695,7 @@
-
+