|
|
|
@ -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;
|
|
|
|
|