From 76276fc50b16c01c13c61d7ed9bfb806c60f7054 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, 9 Mar 2022 14:05:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E7=AC=A6=E5=90=88=E9=A1=B9=E6=95=B4?= =?UTF-8?q?=E6=94=B9=E6=B5=81=E7=A8=8B=E6=92=A4=E5=9B=9E=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=8F=91=E8=B5=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/creatProcess/wfhxzg/step1.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue index 04fa73d4e..b8247fcd3 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue @@ -436,9 +436,9 @@ export default { bpnId: this.$route.query.bpnId }).then(res => { let mes = JSON.parse(res.mes); - this.dataList = mes.dataList; - this.roleForm = mes.roleForm; - this.commentText = mes.commentText; + this.dataList = mes.dataList || mes.json.standardInfoList; + this.roleForm = mes.roleForm || mes.json.roleForm; + this.commentText = mes.commentText || mes.json.commentText; }); }, //点击新增事件 @@ -609,6 +609,7 @@ export default { this.$message.warning('请完善人员信息') } else { if(!this.submitFlag){ + console.log('第一次提交'); this.$refs['roleForm'].validate((valid) => { if (valid) { this.isSubmit = true @@ -647,6 +648,7 @@ export default { } }) }else{ + console.log('修改后提交'); this.$refs["roleForm"].validate((valid) => { if (valid) { let specialJson = {