xbot变更需求

This commit is contained in:
liuye
2023-09-06 15:24:11 +08:00
parent 390315d8fc
commit 45083c459d
2 changed files with 15 additions and 2 deletions

View File

@@ -171,7 +171,7 @@ export default {
{prop: 'position', label: '职务'},
{prop: 'departmentNames', label: '部门'},
{prop: 'mobile', label: '手机号'},
{prop: 'mobile', label: '群聊数'},
{prop: 'xbotGroupCount', label: '群聊数'},
// {slot: 'tags', label: '标签'},
// {prop: 'status', label: '账号状态', align: 'center', format: v => v == 1 ? '已激活' : '未激活'}
],

View File

@@ -19,7 +19,7 @@
v-model="search.type"
clearable
placeholder="事件类型"
:selectList="dict.getDict('xbotReportEventType')"
:selectList="typeList"
@change="search.current = 1, getList()">
</ai-select>
<el-date-picker size="small" v-model="searchDotime" type="daterange" range-separator="至" @change="timeChange"
@@ -135,6 +135,7 @@ export default {
created() {
this.dict.load('clapEventStatus', 'residentEventSource', 'xbotReportEventType').then(() => {
this.getList()
this.getTypeList()
})
},
@@ -162,6 +163,18 @@ export default {
}
})
},
getTypeList() {
this.instance.post(`/app/appsessionarchivefeaturelibrary/eventTypeList`).then(res => {
if (res.code == 0) {
res.data.map((item) => {
var i = {distName: item, dictValue: item}
this.typeList.push(i)
})
// this.tableData = res.data.records
// this.total = res.data.total
}
})
},
toDetail(id) {
this.$emit('change', {
type: 'Detail',