diff --git a/src/pages/processCenter/pages/creatProcess/zczqyj/step1.vue b/src/pages/processCenter/pages/creatProcess/zczqyj/step1.vue index c3f8f788b..7d49d51b2 100644 --- a/src/pages/processCenter/pages/creatProcess/zczqyj/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/zczqyj/step1.vue @@ -342,7 +342,7 @@ export default { }, data() { return { - bpnId: '', + bpnId: this.$route.query.bpnId, standardCheckedList: [], tableHeight: { standardTableHeight: null @@ -449,7 +449,6 @@ export default { } }, mounted(){ - this.bpnId = this.$route.query.bpnId if(this.bpnId){ this.getData() } @@ -462,6 +461,7 @@ export default { let mes = JSON.parse(res.mes); this.form = mes.form this.roleForm = mes.roleForm + this.commentText = mes.commentText }); }, filterObj(obj){ @@ -645,6 +645,7 @@ export default { json.commentText = this.commentText json.filesId = this.addFjList json.filesName = this.form.fjListName + _formData.append('id', this.bpnId || '') _formData.append("createUser", this.$store.getters.userInfo.userId); _formData.append("createUserName", this.$store.getters.userInfo.userName); _formData.append("prcType", "laws2"); @@ -656,6 +657,7 @@ export default { saveTaskFirst(_formData).then(res => { this.saveLoading = false; this.$message.success("保存成功"); + this.bpnId = res.result }).catch(e => { this.saveLoading = false; });