From c70e400c7e5113fdee191d11a6bffb091f84a1a0 Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Mon, 21 Feb 2022 10:00:15 +0800 Subject: [PATCH] commit --- src/pages/processCenter/pages/creatProcess/bzrk/step1.vue | 4 ++-- src/pages/processCenter/pages/creatProcess/bzrk/step3.vue | 2 +- src/pages/processCenter/pages/creatProcess/bzrk/step4.vue | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index 376fb2101..b13b07f8b 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -2072,7 +2072,7 @@ export default { this.defaultCheckedKeys3 = [this.form.dybxh] this.treeCheckedKeys = this.form.treeListId.split(',') this.form.standType = this.form.standInData === "0" ? 'INLAND' : 'FOREIGN' - this.form.standYear = this.form.standYear ? parseInt(this.form.standYear) : '' + this.form.standYear = this.form.standYear ? this.form.standYear : '' if (this.form.country !== undefined && this.form.country !== null && this.form.country !== '') { this.form.country = this.form.country.split(","); } @@ -2211,7 +2211,7 @@ export default { this.key2++ this.key3++ this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN' - this.form.standYear = bringData.standYear ? parseInt(bringData.standYear) : '' + this.form.standYear = bringData.standYear ? bringData.standYear : '' this.form.prcNum = this.prcNum this.form.prcName = this.prcName this.form['id'] = bringData.id diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue index d7d84b0f6..42b2a59d7 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue @@ -1091,7 +1091,7 @@ export default { 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 ? parseInt(this.form.standYear) : '' + this.form.standYear = this.form.standYear ? this.form.standYear : '' this.form.prcNum = this.prcNum this.form.prcName = this.prcName if( this.form.country !== undefined && this.form.country !== null && this.form.country !== ''){ diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue index caca4b13c..a94daa191 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue @@ -2540,11 +2540,14 @@ export default { }).then(res => { if (res) { const processForm = JSON.parse(res.mesg) + console.log(processForm); + console.log(this.form); // this.commentText = processForm.commentText if (processForm.form === undefined) { this.getFormFieldList(processForm) } else { //表单文件处理 + console.log(2); this.getFormFieldList(processForm.form) } } @@ -2565,7 +2568,7 @@ export default { this.defaultCheckedKeys3 = [this.form.dybxh]; this.treeCheckedKeys = this.form.treeListId.split(',') this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN' - this.form.standYear = this.form.standYear ? parseInt(this.form.standYear) : '' + this.form.standYear = this.form.standYear ? this.form.standYear : '' this.form.prcNum = this.prcNum this.form.prcName = this.prcName this.form['id'] = item.id