From 074f77fac0578c80948ce754263bb95969fea1ad Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 15 Aug 2024 10:47:14 +0800 Subject: [PATCH] =?UTF-8?q?xbot=E5=B8=AD=E4=BD=8D=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E9=9C=80=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/GroupList.vue | 29 ++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/packages/xbot/AppSeatManagementXbot/components/GroupList.vue b/packages/xbot/AppSeatManagementXbot/components/GroupList.vue index 5f1466f3..d90f6bd6 100644 --- a/packages/xbot/AppSeatManagementXbot/components/GroupList.vue +++ b/packages/xbot/AppSeatManagementXbot/components/GroupList.vue @@ -59,13 +59,21 @@
{{editInfo.managerWxid}}
- + + + + @@ -109,7 +117,8 @@ export default { dialog: false, editInfo: {}, showArea: false, - areaInfo: {} + areaInfo: {}, + chooseUserList: [], } }, created() { @@ -190,7 +199,7 @@ export default { edit(row) { this.dialog = true this.editInfo = {...row} - this.editInfo.user = [{id: row.managerTpwxid, name: row.managerTpUserName}] + this.chooseUserList = [{id: row.managerTpwxid, name: row.managerTpUserName}] }, onChooseUser(v) { this.editInfo.wxUserId = v[0].id @@ -235,6 +244,18 @@ export default { } }); }, + + selectPerson(val) { + if (val) { + this.editInfo.managerTpUserName = val.name + this.editInfo.wxUserId = val.wxUserId + this.editInfo.managerTpwxid = val.id + } else { + this.editInfo.managerTpUserName = '' + this.editInfo.wxUserId = '' + this.editInfo.managerTpwxid = '' + } + }, }, }