基础信息班组班次

master
A0010407 1 year ago
parent 6dbf798cfe
commit 9f9835675a

@ -432,17 +432,6 @@ export default {
this.rightList = []; this.rightList = [];
this.reset(); this.reset();
const teamId = row.teamId || this.ids const teamId = row.teamId || this.ids
// listTeamMembers(this.queryParams).then(response => {
// console.log(response.rows);
// for(let i in response.rows){
// // 穿
// this.leftList.push({
// id:response.rows[i].userId,
// key: response.rows[i].userId,
// label: response.rows[i].userName
// })
// }
// });
console.log('this.leftList',this.leftList); console.log('this.leftList',this.leftList);
getTeam(teamId).then(response => { getTeam(teamId).then(response => {
this.form = response.data; this.form = response.data;
@ -471,7 +460,9 @@ export default {
this.getList(); this.getList();
}); });
} else { } else {
this.form.rightData = this.rightList;
addTeam(this.form).then(response => { addTeam(this.form).then(response => {
console.log("打印1",this.rightList,"打印2",this.form.rightData);
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();

Loading…
Cancel
Save