席位管理

This commit is contained in:
liuye
2024-03-14 10:50:41 +08:00
parent ec55f48a63
commit d0a695e874

View File

@@ -29,7 +29,7 @@
</ai-search-bar>
<ai-table :tableData="tableData" :total="total" :current.sync="search.current" :size.sync="search.size"
@getList="getTableData()" :col-configs="colConfigs">
<el-table-column slot="avatar" label="头像 " align="left" width="200">
<el-table-column slot="avatar" label="头像 " align="left" width="150">
<template slot-scope="{ row }">
<img :src="row.avatar ? row.avatar : 'https://cdn.cunwuyun.cn/dvcp/group-img.png'" alt="" class="group-avatar">
</template>
@@ -49,7 +49,7 @@
<div>{{row.matchGroupCount}}/{{row.groupCount}}</div>
</template>
</el-table-column>
<el-table-column slot="options" label="操作" align="center" width="200px">
<el-table-column slot="options" label="操作" align="center" width="150px">
<template slot-scope="{ row }">
<el-button type="text" @click="toGroup(row)">群匹配</el-button>
<!-- <el-button type="text" @click="toAnnouce(row)">推送任务</el-button> -->
@@ -134,7 +134,7 @@ export default {
...mapState(['user']),
colConfigs() {
return [
{ prop: "type", label: '类型', dict: 'xbotType'},
{ prop: "type", label: '类型', dict: 'xbotType', width: 150},
{ slot: "avatar"},
{ prop: "xbotName", label: '机位'},
{ slot: "loginUserId", label: '用户id'},
@@ -144,7 +144,7 @@ export default {
{ slot: "groupCount", label: '监控群聊'},
{ slot: "areaName"},
{ slot: "num", label: '群匹配'},
{ prop: "status", label: '状态', dict: 'deviceStatus'},
{ prop: "status", label: '状态', dict: 'deviceStatus', align: "center"},
{ slot: "option"},
]
},