-
+
{
+ // if (this.selectList.includes(item.itemId)) {
+ // this.listForm.breakdownList[index].implementerId = this.roleRow.id;
+ // this.listForm.breakdownList[index].implementer = this.roleRow.name;
+ // }
+ // });
+ // } else {
+ // this.listForm.breakdownList[this.dsadadadsada].implementerId = this.roleRow.id;
+ // this.listForm.breakdownList[this.dsadadadsada].implementer = this.roleRow.name;
+ // }
+ // this.listForm.implementer = this.roleRow.name;
+ // this.showColumn = false;
+ // this.$nextTick(() => {
+ // this.showColumn = true;
+ // });
+ // }
+ // this.modalshowflag = false;
+ // },
+ saveUserInfo2 () {
+ var idList = "";
+ var nameList = "";
+ this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes()).forEach(item => {
+ if (nameList.length > 0) {
+ nameList += ",";
+ idList += ",";
+ }
+ idList += item.id;
+ nameList += item.name;
+ });
// 如果有勾选的项
if (this.selectList.length) {
this.listForm.breakdownList.forEach((item, index) => {
+ console.log(item.itemId);
+ console.log(index);
if (this.selectList.includes(item.itemId)) {
- this.listForm.breakdownList[index].implementerId = this.roleRow.id;
- this.listForm.breakdownList[index].implementer = this.roleRow.name;
+ this.listForm.breakdownList[index].implementerId = idList;
+ this.listForm.breakdownList[index].implementer = nameList;
}
});
} else {
- this.listForm.breakdownList[this.dsadadadsada].implementerId = this.roleRow.id;
- this.listForm.breakdownList[this.dsadadadsada].implementer = this.roleRow.name;
+ this.listForm.breakdownList[this.dsadadadsada].implementerId = idList;
+ this.listForm.breakdownList[this.dsadadadsada].implementer = nameList;
}
- this.listForm.implementer = this.roleRow.name;
+ this.listForm.implementer = nameList;
this.showColumn = false;
this.$nextTick(() => {
this.showColumn = true;
});
- }
- this.modalshowflag = false;
+ this.modalshowflag2 = false;
+ //不要删除 By 宋伟佳
+ console.log(this.$refs.multipleTable.clearSelection())
+ this.$nextTick(() => {
+ for(var i=0;i 0) {
+ this.nodeList = this.roleForm.implementer.split(",");
+ }
+ this.modalshowflag2 = true;
},
getTree() {
this.$http.get("SarInstitution/institution/institutionAndUser", {}, {}, res => {
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue
index a0d0d502b..a26e77563 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue
@@ -271,9 +271,9 @@