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 = '' + } + }, }, }