From aef5e1733629fb64f205c71302dc8073e28f1bde Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Mon, 27 Dec 2021 17:25:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E7=AC=A6=E5=90=88=E9=A1=B9=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E8=8D=89=E7=A8=BF=E5=8F=91=E8=B5=B7=E5=BE=85=E5=8A=9E?= =?UTF-8?q?=E6=B6=88=E5=A4=B1=E9=97=AE=E9=A2=98=EF=BC=8C=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E5=9B=9E=E6=98=BE=EF=BC=8C=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/wfhxzg/step1.vue | 2 +- .../pages/creatProcess/wfhxzg/step2.vue | 2 +- .../pages/creatProcess/wfhxzg/step3.vue | 14 ++++++++------ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue index 183eebc5a..3d3945aff 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue @@ -578,7 +578,7 @@ export default { if (valid) { this.isSubmit = true let paramsInfo = new FormData() - paramsInfo.append('id', this.bpnId || '') + // paramsInfo.append('id', this.bpnId || '') paramsInfo.append('createUser', this.$store.getters.userInfo.userId) paramsInfo.append('createUserName', this.$store.getters.userInfo.userName) paramsInfo.append('type', '8') diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step2.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step2.vue index d06c3cdc8..2e3b80444 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step2.vue @@ -290,13 +290,13 @@ export default { this.$message.warning("请选择至少一条数据进行分发责任人"); } else { this.nodeList = [] + this.drawerTitle = '选择分发责任人' this.nodeList.push(id) this.modalshowflag = true } }, // 每行选择负责人点击操作 clickOpen(val, id) { - console.log(val) this.$refs.multipleTable.clearSelection() this.rowDutyPeople = val this.nodeList = [] diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue index 20206b405..a96f17315 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue @@ -77,7 +77,7 @@ :rows="3" resize="none" placeholder="请输入意见" - v-model="commentText"> + v-model="textarea"> @@ -186,7 +186,7 @@ export default { passInfo: 0, detailData: [], loading: false, - commentText: '', // 意见 + textarea: '', // 意见 title: '', // 新增编辑抽屉标题 ListModel: false, // 新增编辑抽屉开关 nonSearch: { @@ -266,6 +266,7 @@ export default { if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) { this.dataList = fileData[0].standardInfoList this.standardInfoList = this.dataList + this.textarea = JSON.parse(JSON.stringify(item)).textarea } } } else { @@ -274,6 +275,7 @@ export default { if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) { this.dataList = fileData[i].standardInfoList this.standardInfoList = this.dataList + this.textarea = JSON.parse(JSON.stringify(item)).commentText } } } @@ -311,12 +313,12 @@ export default { }, // 退回按钮 handleSubmitNo() { - if (this.commentText) { + if (this.textarea) { var json = { passInfo: 1, actionFlag: 1, - commentText: this.commentText, + commentText: this.textarea, standardInfoList: this.standardInfoList, } const params = new FormData(); @@ -370,7 +372,7 @@ export default { _formData.append('json', JSON.stringify({ // roleForm: this.roleForm, dockUserList: list, - commentText: this.commentText + textarea: this.textarea })) saveTaskForPub(_formData).then(res => { this.saveLoading = false @@ -411,7 +413,7 @@ export default { let json = { passInfo: this.passInfo, responUserList: list, - commentText: this.commentText, + commentText: this.textarea, actionFlag: 0 } if(flag)return;