From 470659e4a98947e78d4d490a59e378f1f35cc3af Mon Sep 17 00:00:00 2001 From: zichen1019 <1510748736@qq.com> Date: Thu, 26 Aug 2021 15:36:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=86=E9=85=8D=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/allot/list.vue | 20 ++++++++++++-------- src/views/bjd/dt_list.vue | 2 +- src/views/bjd/jj_list.vue | 2 +- src/views/bjd/qy_list.vue | 2 +- 4 files changed, 15 insertions(+), 11 deletions(-) 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 @@ - + - + - +