diff --git a/src/views/allot/list.vue b/src/views/allot/list.vue index d059e18..8168f8b 100644 --- a/src/views/allot/list.vue +++ b/src/views/allot/list.vue @@ -148,6 +148,7 @@ sortable /> { @@ -736,7 +733,9 @@ export default { }, selectDepartmentUser(val) { this.renlingren = [] + this.renwudan.teamId = undefined this.getTeamList(val) + this.getUserList(val) }, getUserList(val) { this.api({ @@ -746,7 +745,12 @@ export default { departmentId: val } }).then((data) => { - this.users = data + this.users = data.map(row => { + return { + id: row.id, + name: row.nickname + } + }) }) }, openZhongjian() { @@ -928,7 +932,7 @@ export default { }) }, selectTeamUser(val) { - console.log(this.teams) + this.renlingren = [] const _this = this for (let i = 0; i < this.teams.length; i++) { if (this.teams[i].id === val) { diff --git a/src/views/bjd/dt_list.vue b/src/views/bjd/dt_list.vue index a0e32c6..0e04c2a 100644 --- a/src/views/bjd/dt_list.vue +++ b/src/views/bjd/dt_list.vue @@ -132,7 +132,7 @@ - + - + - +