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 1/9] =?UTF-8?q?52744=20=E6=A0=87=E5=87=86=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E6=B5=81=E7=A8=8B=20=E6=B5=81=E7=A8=8B=E5=8F=91?= =?UTF-8?q?=E8=B5=B7=EF=BC=8C=E4=BF=9D=E5=AD=98=E8=8D=89=E7=A8=BF=E5=8F=91?= =?UTF-8?q?=E8=B5=B7=EF=BC=8C=E6=89=B9=E5=87=86=E8=8A=82=E7=82=B9=E9=A9=B3?= =?UTF-8?q?=E5=9B=9E=20=E5=9B=BD=E5=AE=B6=E5=9C=B0=E5=8C=BA=E4=B8=A2?= =?UTF-8?q?=E5=A4=B120220511095157535?= 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 @@
-
+
From 83c17a46955b6faa4cea2685b58977251a27bf8e 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 14:31:32 +0800 Subject: [PATCH 2/9] =?UTF-8?q?52715=20=E3=80=90=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=AB=AF=E3=80=91=E6=A0=87=E5=87=86=E8=B0=83=E7=A0=94=E6=B5=81?= =?UTF-8?q?=E7=A8=8B-=E6=89=8B=E6=9C=BA=E8=BD=AC=E5=8A=9E=E9=99=88?= =?UTF-8?q?=E6=98=A5=E6=A2=85=E5=90=8EPC=E7=AB=AF=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=20=E6=B5=81=E7=A8=8B=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E4=B8=A2=E5=A4=B1=20=E6=89=8B=E6=9C=BA=E7=AB=AF=E7=BC=BA?= =?UTF-8?q?=E5=B0=91=E6=B5=81=E7=A8=8B=E5=90=8D=E7=A7=B0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/phone/bzdy/step2.vue | 40 ++++++++++--------- .../processCenter/pages/phone/bzdy/step4.vue | 3 +- .../processCenter/pages/phone/bzdy/step6.vue | 2 + .../processCenter/pages/phone/bzdy/step7.vue | 2 + .../processCenter/pages/phone/bzdy/step8.vue | 2 + .../processCenter/pages/phone/bzdy/step9.vue | 2 + 6 files changed, 31 insertions(+), 20 deletions(-) diff --git a/src/pages/processCenter/pages/phone/bzdy/step2.vue b/src/pages/processCenter/pages/phone/bzdy/step2.vue index 96be90b23..ab9b04792 100644 --- a/src/pages/processCenter/pages/phone/bzdy/step2.vue +++ b/src/pages/processCenter/pages/phone/bzdy/step2.vue @@ -24,6 +24,7 @@
+ @@ -265,25 +266,26 @@ } }) }, - getData() { - return new Promise((resolve, reject) => { - inboundLiaisonDetail({ - taskIds: this.taskIds, - pId: this.pId - }).then(res => { - let data = JSON.parse(res.mesg) - this.form.fjList = data.fjList || data.form.fjList - this.form.modelList = data.modelList || data.form.modelList - this.form.title = data.title || data.form.title - this.form.date = data.date || data.form.date - this.json = data || data.form - this.form.responUserList = data.form? data.form.responUserList : '' - this.form.responUserListName = data.form? data.form.responUserListName : '' - this.commentText2 = data.commentText2 || '' - }).catch(e => { - }) - }) - }, + getData() { + return new Promise((resolve, reject) => { + inboundLiaisonDetail({ + taskIds: this.taskIds, + pId: this.pId + }).then(res => { + let data = JSON.parse(res.mesg) + this.form.fjList = data.fjList || data.form.fjList + this.form.modelList = data.modelList || data.form.modelList + this.form.title = data.title || data.form.title + this.form.processName = data.processName || data.form.processName + this.form.date = data.date || data.form.date + this.json = data || data.form + this.form.responUserList = data.form? data.form.responUserList : '' + this.form.responUserListName = data.form? data.form.responUserListName : '' + this.commentText2 = data.commentText2 || '' + }).catch(e => { + }) + }) + }, }, mounted () { this.getData() diff --git a/src/pages/processCenter/pages/phone/bzdy/step4.vue b/src/pages/processCenter/pages/phone/bzdy/step4.vue index 262f1f350..26990a8cf 100644 --- a/src/pages/processCenter/pages/phone/bzdy/step4.vue +++ b/src/pages/processCenter/pages/phone/bzdy/step4.vue @@ -24,6 +24,7 @@
+ @@ -94,7 +95,6 @@ show-submit :submitLoading="isSubmit" :saveLoading="saveLoading" - @save="handleSave" @submit="handleSubmit" show-back @back="handleSubmitNo" @@ -268,6 +268,7 @@ pId: this.pId }).then(res => { let data = JSON.parse(res.mesg) + this.form.processName = data.form ? data.form.processName : data.processName this.form.dyhz = data.form ? data.form.dyhz : data.dyhz this.form.title = data.title || data.form.title this.form.date = data.date || data.form.date diff --git a/src/pages/processCenter/pages/phone/bzdy/step6.vue b/src/pages/processCenter/pages/phone/bzdy/step6.vue index 8d06711e7..90d7ae54a 100644 --- a/src/pages/processCenter/pages/phone/bzdy/step6.vue +++ b/src/pages/processCenter/pages/phone/bzdy/step6.vue @@ -24,6 +24,7 @@
+ @@ -324,6 +325,7 @@ pId: this.pId }).then(res => { let data = JSON.parse(res.mesg) + this.form.processName = data.form ? data.form.processName : data.processName this.form.title = data.title || data.form.title this.form.date = data.date || data.form.date this.json = data || data.form diff --git a/src/pages/processCenter/pages/phone/bzdy/step7.vue b/src/pages/processCenter/pages/phone/bzdy/step7.vue index fd0c0504a..d31948e15 100644 --- a/src/pages/processCenter/pages/phone/bzdy/step7.vue +++ b/src/pages/processCenter/pages/phone/bzdy/step7.vue @@ -23,6 +23,7 @@
+ @@ -286,6 +287,7 @@ pId: this.pId }).then(res => { let data = JSON.parse(res.mesg) + this.form.processName = data.form ? data.form.processName : data.processName this.form.title = data.title || data.form.title this.form.date = data.date || data.form.date this.json = data || data.form diff --git a/src/pages/processCenter/pages/phone/bzdy/step8.vue b/src/pages/processCenter/pages/phone/bzdy/step8.vue index a7546b022..d384fa013 100644 --- a/src/pages/processCenter/pages/phone/bzdy/step8.vue +++ b/src/pages/processCenter/pages/phone/bzdy/step8.vue @@ -23,6 +23,7 @@
+ @@ -286,6 +287,7 @@ pId: this.pId }).then(res => { let data = JSON.parse(res.mesg) + this.form.processName = data.form ? data.form.processName : data.processName this.form.title = data.title || data.form.title this.form.date = data.date || data.form.date this.json = data || data.form diff --git a/src/pages/processCenter/pages/phone/bzdy/step9.vue b/src/pages/processCenter/pages/phone/bzdy/step9.vue index 2b5e8548e..284c9978a 100644 --- a/src/pages/processCenter/pages/phone/bzdy/step9.vue +++ b/src/pages/processCenter/pages/phone/bzdy/step9.vue @@ -23,6 +23,7 @@
+ @@ -288,6 +289,7 @@ }).then(res => { let data = JSON.parse(res.mesg) this.commentText9 = data.commentText9 || '' + this.form.processName = data.form ? data.form.processName : data.processName this.form.title = data.title || data.form.title this.form.date = data.date || data.form.date this.json = data || data.form From c0053f23228203dff97e33d54fca25fde993a3ad 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, 12 May 2022 10:25:33 +0800 Subject: [PATCH 3/9] =?UTF-8?q?=E5=85=A5=E5=BA=93=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=AD=97=E6=AE=B5=E5=A4=A7=E5=B0=8F=20?= =?UTF-8?q?=E5=9B=BD=E5=AE=B6=E5=9C=B0=E5=8C=BA=E4=BF=9D=E5=AD=98=E6=B6=88?= =?UTF-8?q?=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/creatProcess/bzrk/step1.vue | 12 ++++++++---- .../processCenter/pages/creatProcess/bzrk/step2.vue | 12 ++---------- .../processCenter/pages/creatProcess/bzrk/step3.vue | 7 +++---- .../processCenter/pages/creatProcess/bzrk/step4.vue | 10 ++++++---- .../processCenter/pages/creatProcess/bzrk/step5.vue | 2 ++ 5 files changed, 21 insertions(+), 22 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index b5da1d706..d50a59ecd 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -958,6 +958,7 @@ { this.saveLoading = false }) @@ -3295,7 +3296,7 @@ export default { if (res.ok) { this.fileInfoHandle() this.isSubmit = true - this.form.country = this.countryArr; + // this.form.country = this.countryArr; var json = Object.assign(this.form, this.roleForm) json.zrUserId = this.form.zrUserId json.jlUserId = this.form.jlUserId @@ -3354,7 +3355,7 @@ export default { } else { this.fileInfoHandle() this.isSubmit = true - this.form.country = this.countryArr; + // this.form.country = this.countryArr; var json = Object.assign(this.form, this.roleForm) json.zrUserId = this.form.zrUserId json.jlUserId = this.form.jlUserId @@ -3487,6 +3488,9 @@ export default { /deep/ .prc-content-border .form-item-disabled .el-form-item__content .el-input .el-input__inner { width: 100%; } + /deep/.el-form-item__content .el-textarea .el-textarea__inner { + width: 94%; + } /deep/ .search-area { display: contents; diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue index 97acce26f..1ab306f45 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue @@ -627,6 +627,7 @@ item.name).join(",") }, handleSubmit() { - this.form.country = this.countryArr; this.$refs['form'].validate((valid) => { if (valid) { if (this.submitType === 1) { @@ -3001,7 +3001,9 @@ export default { /deep/ .prc-content-border .form-item-disabled .el-form-item__content .el-input .el-input__inner { width: 70%; } - + /deep/.el-form-item__content .el-textarea .el-textarea__inner { + width: 94%; + } /deep/ .el-upload-list__item-name { white-space: inherit; } diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue index b05a9f745..09e84563c 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue @@ -627,6 +627,7 @@ Date: Thu, 12 May 2022 10:55:31 +0800 Subject: [PATCH 4/9] =?UTF-8?q?52749=20=E6=A0=87=E5=87=86=E8=B0=83?= =?UTF-8?q?=E7=A0=94=E6=B5=81=E7=A8=8B=20=E6=B5=81=E7=A8=8B=E5=8F=91?= =?UTF-8?q?=E8=B5=B7=20=E5=9C=A8=E9=80=89=E4=BA=BA=E7=9A=84=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=20=E4=BF=9D=E5=AD=98=E6=95=B0=E6=8D=AE=20=E6=9C=AA?= =?UTF-8?q?=E8=B7=B3=E5=87=BA=E9=A1=B5=E9=9D=A2=20=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=20=E6=B5=81=E7=A8=8B=E4=B8=A2=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzdy/step1.vue | 39 ++++++++++++------- .../tabComponents/taskDraft/index.vue | 2 +- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue index c0847bffe..91c7fef8b 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue @@ -269,7 +269,7 @@ import ProcessHeader from '../../components/ProcessHeader' import ProcessFooter from '../../components/ProcessFooter' import ProcessTitle from '../../components/ProcessTitle' -import { saveTaskFirst } from 'api/process' +import { queryTaskFirst, saveTaskFirst } from "api/process"; import { taskDel } from 'api/process' export default { name: "bzdyStep1", @@ -559,14 +559,13 @@ export default { this.saveLoading = false }) }, - handleSubmit(username) { + handleSubmit() { this.$refs['qbkwForm'].validate((valid) => { if (valid) { this.$refs['Form'].validate((valid) => { if (valid) { this.isSubmit = true this.$http.post('lawss/activiti/startProcessRollBack', { - id: this.bpnId || '', createUser: this.$store.getters.userInfo.userId, createUserName: this.$store.getters.userInfo.userName, type: '2', @@ -586,14 +585,12 @@ export default { }, {}, res => { if (res.success) { this.$message.success('流程发起成功') - if (this.bpnId !== '') { - let taskId = { - id: this.bpnId - } - taskDel(taskId).then(res=>{ - return res - }) + let taskId = { + id: this.$route.query.bpnId } + taskDel(taskId).then(res=>{ + return res + }) this.$router.push('/processCenter') } this.isSubmit = false @@ -612,12 +609,28 @@ export default { } }) }, - aa () { - return 11111 - } + getData () { + queryTaskFirst({ + bpnId: this.bpnId + }).then(res => { + this.bpnId = this.$route.query.bpnId + let mes = JSON.parse(res.mes) + if (mes.form.date) { + mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) + } else { + mes.form.date = '' + } + this.form = mes.form + this.roleForm = mes.roleForm + this.commentText1 = mes.commentText1 || '' + }) + }, }, mounted () { this.bpnId = this.$route.query.bpnId + if (this.bpnId !== undefined) { + this.getData() + } }, } diff --git a/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue b/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue index 2388596ef..e6aed9d79 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue @@ -621,7 +621,7 @@ export default { // 法规入库及评估流程 case '2': this.$router.push({ - name: 'bzdyStep1-1', + name: 'bzdyStep1', query: { type: '2', processName: '标准调研流程', From d5c544c238ab36a4fd1be9a5901f6e8f08a29f59 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, 12 May 2022 13:19:15 +0800 Subject: [PATCH 5/9] =?UTF-8?q?52765=20=E3=80=90WELINK-=E6=B5=B7=E5=A4=96?= =?UTF-8?q?=E3=80=91=E6=A0=87=E5=87=86=E5=85=A5=E5=BA=93=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=20=E6=89=B9=E5=87=86=E8=8A=82=E7=82=B9=20=E5=9F=BA=E7=A1=80?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=20=E7=BC=BA=E5=B0=91=20=E6=A0=87=E5=87=86?= =?UTF-8?q?=E7=B1=BB=E5=88=AB=E3=80=81=E6=A0=87=E7=AD=BE=E3=80=81=E5=BD=92?= =?UTF-8?q?=E6=A1=A3=E4=BD=8D=E7=BD=AE=E3=80=81=E6=A0=87=E5=87=86=E4=BD=93?= =?UTF-8?q?=E7=B3=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/phone/bzrk/step2.vue | 70 ++++++++++++------- 1 file changed, 46 insertions(+), 24 deletions(-) diff --git a/src/pages/processCenter/pages/phone/bzrk/step2.vue b/src/pages/processCenter/pages/phone/bzrk/step2.vue index ba636badf..909ba77fa 100644 --- a/src/pages/processCenter/pages/phone/bzrk/step2.vue +++ b/src/pages/processCenter/pages/phone/bzrk/step2.vue @@ -39,7 +39,7 @@ > - + - + + + + + + + + + + +
@@ -252,6 +274,17 @@ > + + + + + @@ -274,28 +307,17 @@ > - - - - - - - - - - + + + + + + + + + + +
- + - - - + + + + + + + - + - - - + + + + + + + - - - + + + + + + + - - - + + + + + + + +
- + - + @@ -617,6 +622,7 @@
- + @@ -522,6 +523,7 @@ v-else v-model="form.dtbjh" disabled + type="textarea" placeholder="请输入代替标准号" clearable > @@ -548,11 +550,12 @@
- + @@ -579,6 +584,7 @@ v-else v-model="form.cbbh" disabled + type="textarea" placeholder="请输入采标编号" clearable > diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue index 24391a59c..fc611d8e3 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue @@ -1072,10 +1072,11 @@
- + - +
- + - + @@ -617,6 +622,7 @@ Date: Thu, 12 May 2022 14:14:21 +0800 Subject: [PATCH 7/9] =?UTF-8?q?52767=20=E3=80=90WELINK-=E6=B5=B7=E5=A4=96?= =?UTF-8?q?=E3=80=91=E6=A0=87=E5=87=86=E5=85=A5=E5=BA=93=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=20=E6=89=B9=E5=87=86=E8=8A=82=E7=82=B9=20=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/processCenter/pages/phone/bzrk/step2.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/processCenter/pages/phone/bzrk/step2.vue b/src/pages/processCenter/pages/phone/bzrk/step2.vue index 909ba77fa..78aef7434 100644 --- a/src/pages/processCenter/pages/phone/bzrk/step2.vue +++ b/src/pages/processCenter/pages/phone/bzrk/step2.vue @@ -289,8 +289,10 @@ - - + + + + From 9547d88b600c6bfbc32537fec4b81e496219bd8a 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, 12 May 2022 15:24:30 +0800 Subject: [PATCH 8/9] =?UTF-8?q?52772=20=E6=A0=87=E5=87=86=E5=8C=96?= =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=97=A5=E5=8E=86=E4=BD=8D=E7=BD=AE=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/navMenu/index.vue | 10 ++++---- .../processCenter/pages/phone/bzrk/step2.vue | 25 ++++++++----------- .../workingGroup/index.vue | 10 ++++++-- 3 files changed, 24 insertions(+), 21 deletions(-) diff --git a/src/components/navMenu/index.vue b/src/components/navMenu/index.vue index 07fafe8e4..8f723900c 100644 --- a/src/components/navMenu/index.vue +++ b/src/components/navMenu/index.vue @@ -286,11 +286,11 @@ path: '/standContrast', menuId: '1d83a6278f781419f628e9f5560f5c86' }, - { - title: '标准化活动日历', - path: '/standCalendar', - menuId: '5e834b3fca90619e593ad0ee83263885' - }, + // { + // title: '标准化活动日历', + // path: '/standCalendar', + // menuId: '5e834b3fca90619e593ad0ee83263885' + // }, // { // title: '标准比对库', // path: '/standardComparisonLibrary', diff --git a/src/pages/processCenter/pages/phone/bzrk/step2.vue b/src/pages/processCenter/pages/phone/bzrk/step2.vue index 78aef7434..b27252a72 100644 --- a/src/pages/processCenter/pages/phone/bzrk/step2.vue +++ b/src/pages/processCenter/pages/phone/bzrk/step2.vue @@ -812,6 +812,8 @@ export default { // jdwjFileMap: {}, this.kwjFileMap = this.assemble(processForm.kwj, processForm.kwjName); // kwjFileMap: {}, + this.xdbFileMap = this.assemble(processForm.xdb, processForm.xdbName); + // xdbFileMap: {}, this.glwjFileMap = this.assemble(processForm.glwj, processForm.glwjName); // glwjFileMap: {}, this.caFileMap = this.assemble(processForm.ca, processForm.caName); @@ -830,14 +832,19 @@ export default { getFormFieldList(item) { this.$nextTick(() => { this.form = JSON.parse(JSON.stringify(item)) -/* console.log(this.form) + let wssmrName = this.form.wssmrname || this.form.wssmr + this.form.wssmr = wssmrName + 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.defaultCheckedKeys3 = [this.form.dybxh] this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN' - this.form.standYear = this.form.standYear ? parseInt(this.form.standYear) : '' - if (this.form.country !== undefined && this.form.country !== null && this.form.country !== '') { + this.form.standYear = this.form.standYear ? this.form.standYear : '' + if (this.form.country) { this.form.country = this.form.country.split(","); } this.form.prcNum = this.prcNum @@ -881,16 +888,6 @@ export default { this.handleSubmit() }, handleSubmit() { - const val = this.form.country; - if (val !== "" && val !== null && typeof (val) !== "undefined") { - if (val instanceof Array) { - this.form.country = val.join(","); - } else { - this.form.country = val; - } - } else if (val === "") { - this.form.country = []; - } this.isSubmit = true; this.form.commentText = this.commentText; this.form.approvalOpinion = this.formTongGuo.approvalOpinion; diff --git a/src/pages/regulatoryRepository/workingGroup/index.vue b/src/pages/regulatoryRepository/workingGroup/index.vue index e99e5b298..cb22f3ab5 100644 --- a/src/pages/regulatoryRepository/workingGroup/index.vue +++ b/src/pages/regulatoryRepository/workingGroup/index.vue @@ -14,7 +14,10 @@ - 工作组统计 +
+ 标准化活动日历 + 工作组统计 +