From 3d6614704b575e7302d607bbe07d909ad0134361 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Sat, 26 Mar 2022 10:47:53 +0800 Subject: [PATCH] feat: There is no way the, BUG #52085 --- .../processCenter/pages/creatProcess/qbfs/step3.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue index 05623a89e..950a663d6 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/step3.vue @@ -447,10 +447,11 @@ export default { bpnId: this.$route.query.bpnId }).then(res => { let mes = JSON.parse(res.mes) + console.log(mes) this.qbfsForm = mes.qbfsForm this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName - this.qbfsForm['id'] = bringData.id + this.qbfsForm['id'] = mes.qbfsForm.id this.qbfsForm['NYLXCLASS'] = this.filterObj(this.qbfsForm['NYLXCLASS']) this.qbfsForm['SYCXCLASS'] = this.filterObj(this.qbfsForm['SYCXCLASS']) this.qbfsForm['SYCPXCLASS'] = this.filterObj(this.qbfsForm['SYCPXCLASS']) @@ -502,7 +503,6 @@ export default { FSD:"", } const json = Object.assign(bringData, bringData.attrInfoMap,item,obj); - console.log(json) this.qbfsForm = JSON.parse(JSON.stringify(json)) this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName @@ -523,7 +523,11 @@ export default { }, filterObj(obj){ if(obj && obj !== ''){ - return obj.split(",") + if(obj instanceof Array){ + return obj; + }else { + return obj.split(",") + } } return ""; },