会话监管

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

@@ -18,7 +18,7 @@
<span class="tips">当前机位1有效期为{{configInfo.validity}}&nbsp;&nbsp;&nbsp;&nbsp;ip地址为{{configInfo.xbotIp}}</span>
</template>
<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>
</ai-search-bar>
<ai-table :tableData="tableData" :total="total" :current.sync="search.current" :size.sync="search.size"
@@ -131,7 +131,7 @@ export default {
openWechat() {
this.instance.post(`/app/appxbotconfig/openWechat?id=${this.configInfo.id}`).then(res => {
if(res.code === 0) {
this.configInfo.status = 1
this.configInfo.status = 0
this.$message.success('启动成功!')
}
})
@@ -210,10 +210,11 @@ export default {
height: 50px;
border-radius: 50%;
}
:deep .ai-dialog__content {
:deep .ai-dialog__content--wrapper {
// height: 1000px;
// overflow-y: scroll;
.ai-table {
max-height: 1000px;
overflow-y: scroll;
// height: 1000px;
}
}
}