From 5d888a7cf6f28628c256f36e27c2710cd5f52832 Mon Sep 17 00:00:00 2001
From: yanyizhou <2311759275@qq.com>
Date: Thu, 26 Aug 2021 10:24:28 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E8=AF=84=E4=BC=B0=E6=B5=81?=
=?UTF-8?q?=E7=A8=8B2=20=E6=89=B9=E9=87=8F=E5=88=86=E5=8F=91=E8=B4=A3?=
=?UTF-8?q?=E4=BB=BB=E4=BA=BAstep5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/xmpg2/step5.vue | 76 +++++++++++++++----
1 file changed, 63 insertions(+), 13 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue
index 8c501b270..a6811563d 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue
@@ -42,16 +42,18 @@
填写信息
-
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ {{ "批量分发该标准下的责任人" }}
@@ -226,6 +238,13 @@ export default {
},
data() {
return {
+ workPeopleList:[],
+ //防止按钮点击过快的按钮loading
+ buttonLoading: false,
+ //刷新表格
+ refreshTable: true,
+ //展开表格
+ // tableExpand: false,
hasChildren: true,
active: "1",
loading: false,
@@ -323,7 +342,6 @@ export default {
taskIds: this.taskIds,
pId: this.pId
}).then(res => {
- console.log(res.mesg);
if (res) {
const processForm = JSON.parse(res.mesg);
this.getFormFieldList(processForm);
@@ -357,7 +375,6 @@ export default {
workPeople: "请选择责任人"
};
children.push(aa);
- console.log(children);
}
);
this.dataList.forEach(key => {
@@ -402,7 +419,6 @@ export default {
this.isSubmit = true;
this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm);
- console.log(json);
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.taskIds,
userId: this.userId,
@@ -440,6 +456,24 @@ export default {
this.$message.warning("请选择要分发的数据");
}
}
+ //批量分发某标准下的责任人
+ else if (type === 3){
+
+ //弹出选人框
+ // if (this.tableExpand === false){
+ this.modalshowflag = true;
+ this.drawerTitle = "批量选择责任人";
+ // }
+ //展开表格
+ this.workPeopleList = row
+ // console.log('279',row.children)
+ this.refreshTable = false
+ // this.tableExpand = !this.tableExpand
+ this.$nextTick(() => {
+ this.refreshTable = true
+ });
+
+ }
},
//标准表格选择框改变
selectStandChange(data) {
@@ -494,6 +528,22 @@ export default {
});
});
this.dataList = JSON.parse(JSON.stringify(this.dataList));
+ }else if (this.type === 3){
+ // console.log("529",this.workPeopleList)
+ for (let i=0;i {
+ //
+ // childrenItem.workPeople = data[0].name;
+ // childrenItem.workPeopleId = data[0].id;
+ // })
+
}
this.modalshowflag = false;
},