席位管理
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
:destroyOnClose="true"
|
||||
width="720px"
|
||||
@closed="dialog=false" :customFooter="false">
|
||||
<ai-table :tableData="tableDataGroup" :total="totalGroup" :current.sync="searchGroup.current" :size.sync="searchGroup.size"
|
||||
<ai-table :tableData="tableDataGroup" :isShowPagination="false"
|
||||
@getList="getTableDataGroup()" :col-configs="colConfigsGroup">
|
||||
<el-table-column slot="avatar" label="群聊头像" align="left">
|
||||
<template slot-scope="{ row }">
|
||||
@@ -157,17 +157,17 @@ export default {
|
||||
getTableDataGroup() {
|
||||
this.instance.post(`/app/xbotCallback/groupList`,null,{
|
||||
params: {
|
||||
...this.searchGroup,
|
||||
// ...this.searchGroup,
|
||||
current: 1,
|
||||
managerWxid: this.groupInfo.loginUserId
|
||||
}
|
||||
}).then(res => {
|
||||
if(res?.data) {
|
||||
console.log(JSON.parse(res.data))
|
||||
this.tableDataGroup = JSON.parse(res.data)
|
||||
this.tableDataGroup.map((item) => {
|
||||
item.num = item.member_list.length
|
||||
})
|
||||
this.totalGroup = res.data.total
|
||||
// this.totalGroup = res.data.total
|
||||
}
|
||||
})
|
||||
|
||||
@@ -210,5 +210,11 @@ export default {
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
:deep .ai-dialog__content {
|
||||
.ai-table {
|
||||
max-height: 1000px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -63,6 +63,7 @@ export default {
|
||||
current: 1,
|
||||
size: 10,
|
||||
},
|
||||
total: 0,
|
||||
tableData: [],
|
||||
current: 1,
|
||||
form: {
|
||||
|
||||
Reference in New Issue
Block a user