会话监管
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
<span class="tips">当前机位1有效期为:{{configInfo.validity}} ip地址为:{{configInfo.xbotIp}}</span>
|
<span class="tips">当前机位1有效期为:{{configInfo.validity}} ip地址为:{{configInfo.xbotIp}}</span>
|
||||||
</template>
|
</template>
|
||||||
<template #right>
|
<template #right>
|
||||||
<el-button size="small" :type="configInfo.status == 1 ? 'info' : 'primary'" @click="openWechat()" :disabled="configInfo.status == 1">启动</el-button>
|
<el-button size="small" :type="configInfo.status != 1 ? 'info' : 'primary'" @click="openWechat()" :disabled="configInfo.status != 1">{{configInfo.status != 1 ? '已启动' : '启动'}}</el-button>
|
||||||
</template>
|
</template>
|
||||||
</ai-search-bar>
|
</ai-search-bar>
|
||||||
<ai-table :tableData="tableData" :total="total" :current.sync="search.current" :size.sync="search.size"
|
<ai-table :tableData="tableData" :total="total" :current.sync="search.current" :size.sync="search.size"
|
||||||
@@ -131,7 +131,7 @@ export default {
|
|||||||
openWechat() {
|
openWechat() {
|
||||||
this.instance.post(`/app/appxbotconfig/openWechat?id=${this.configInfo.id}`).then(res => {
|
this.instance.post(`/app/appxbotconfig/openWechat?id=${this.configInfo.id}`).then(res => {
|
||||||
if(res.code === 0) {
|
if(res.code === 0) {
|
||||||
this.configInfo.status = 1
|
this.configInfo.status = 0
|
||||||
this.$message.success('启动成功!')
|
this.$message.success('启动成功!')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -210,10 +210,11 @@ export default {
|
|||||||
height: 50px;
|
height: 50px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
:deep .ai-dialog__content {
|
:deep .ai-dialog__content--wrapper {
|
||||||
|
// height: 1000px;
|
||||||
|
// overflow-y: scroll;
|
||||||
.ai-table {
|
.ai-table {
|
||||||
max-height: 1000px;
|
// height: 1000px;
|
||||||
overflow-y: scroll;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -461,6 +461,7 @@
|
|||||||
startTime: this.time ? this.time[0] : '',
|
startTime: this.time ? this.time[0] : '',
|
||||||
endTime: this.time ? this.time[1] : '',
|
endTime: this.time ? this.time[1] : '',
|
||||||
seq: this.listInfo.seq,
|
seq: this.listInfo.seq,
|
||||||
|
msgId: !this.listInfo.seq ? this.params.msgId : ''
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<ai-list>
|
<ai-list>
|
||||||
<template #title>
|
<template #title>
|
||||||
<ai-title :title="menuName" isShowBottomBorder>
|
<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>
|
</ai-title>
|
||||||
</template>
|
</template>
|
||||||
<template #content>
|
<template #content>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
</ai-search-bar>
|
</ai-search-bar>
|
||||||
<ai-table :tableData="tableData" :total="total" :current.sync="search.current" :size.sync="search.size"
|
<ai-table :tableData="tableData" :total="total" :current.sync="search.current" :size.sync="search.size"
|
||||||
@getList="getTableData()" :col-configs="colConfigs" :dict="dict">
|
@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 }">
|
<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-if="row.status == 1">停用</el-button>
|
||||||
<el-button type="text" @click="changeStatus(row, '启用')" v-else>启用</el-button>
|
<el-button type="text" @click="changeStatus(row, '启用')" v-else>启用</el-button>
|
||||||
@@ -83,10 +83,10 @@ export default {
|
|||||||
colConfigs() {
|
colConfigs() {
|
||||||
return [
|
return [
|
||||||
{ prop: "wordName", label: '特征词', align: "left"},
|
{ prop: "wordName", label: '特征词', align: "left"},
|
||||||
{ prop: "createTime", label: '创建时间', width: 200},
|
{ prop: "createTime", label: '创建时间', width: 200, align: 'center'},
|
||||||
{ prop: "createUserName", label: '创建人', width: 200},
|
{ prop: "createUserName", label: '创建人', width: 200, align: 'center'},
|
||||||
{ prop: "status", label: '状态', width: 200, dict: 'processDefStatus'},
|
{ prop: "status", label: '状态', width: 200, dict: 'processDefStatus', align: 'center'},
|
||||||
{ slot: "options" },
|
{ slot: "options"},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
rules() {
|
rules() {
|
||||||
|
|||||||
Reference in New Issue
Block a user