班组人员组件修改bug

master
zhaoxiaolin 1 month ago
parent 9e0906878e
commit 52f550a4cf

@ -380,7 +380,7 @@ export default {
this.$nextTick(() => {
this.$refs.itemConfUser.initFunc(id);
});
});
},
/** 提交按钮 */
@ -388,16 +388,6 @@ export default {
this.$refs["form"].validate((valid) => {
if (valid) {
if (this.form.id != null) {
this.form.rightData = this.rightList;
this.teamPerson = [];
this.form.rightData.forEach((item) => {
this.peopleList.forEach((item1) => {
if (item == item1.key) {
this.teamPerson.push(item1.nickName);
}
});
});
this.form.teamPerson = this.teamPerson.toString();
updateEquTeam(this.form).then((response) => {
this.$modal.msgSuccess("修改成功");
this.open = false;

Loading…
Cancel
Save