会话监管

This commit is contained in:
liuye
2023-08-17 11:36:33 +08:00
parent 378f4eba0b
commit 8e167df7e3
4 changed files with 13 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
<ai-list>
<template #title>
<ai-title :title="menuName" isShowBottomBorder>
<el-button type="primary" slot="rightBtn" @click="toSetting">设置</el-button>
<el-button type="primary" slot="rightBtn" @click="toSetting">工单特征库设置</el-button>
</ai-title>
</template>
<template #content>

View File

@@ -17,7 +17,7 @@
</ai-search-bar>
<ai-table :tableData="tableData" :total="total" :current.sync="search.current" :size.sync="search.size"
@getList="getTableData()" :col-configs="colConfigs" :dict="dict">
<el-table-column slot="options" label="操作" align="center">
<el-table-column slot="options" label="操作" width="200" align="center">
<template slot-scope="{ row }">
<el-button type="text" @click="changeStatus(row, '停用')" v-if="row.status == 1">停用</el-button>
<el-button type="text" @click="changeStatus(row, '启用')" v-else>启用</el-button>
@@ -83,10 +83,10 @@ export default {
colConfigs() {
return [
{ prop: "wordName", label: '特征词', align: "left"},
{ prop: "createTime", label: '创建时间', width: 200},
{ prop: "createUserName", label: '创建人', width: 200},
{ prop: "status", label: '状态', width: 200, dict: 'processDefStatus'},
{ slot: "options" },
{ prop: "createTime", label: '创建时间', width: 200, align: 'center'},
{ prop: "createUserName", label: '创建人', width: 200, align: 'center'},
{ prop: "status", label: '状态', width: 200, dict: 'processDefStatus', align: 'center'},
{ slot: "options"},
]
},
rules() {