编辑提交无校验 51824

This commit is contained in:
宋伟佳
2022-03-16 16:16:25 +08:00
parent 08215c4a19
commit beef71c7c0
@@ -389,6 +389,11 @@ export default {
this.nodeList = [];
this.nodeList2 = [];
}
} else {
if (!this.addForm.workLeaderGroup.length) {
this.$message.warning("请选择工作组组长");
} else if (!this.addForm.workPeopleGroup.length) {
this.$message.warning("请选择工作组组员");
} else {
let workLeader = "";
let workLeaderId = "";
@@ -398,7 +403,6 @@ export default {
workLeaderId += item.id;
workLeaderId += ",";
});
let workPeople = "";
let workPeopleId = "";
this.addForm.workPeopleGroup.map(item => {
@@ -426,6 +430,7 @@ export default {
this.addModel = false;
this.$refs.workGroup.clearSelection();
}
}
} else {
this.$message.warning("请填写整信息");
}