|
@@ -111,6 +111,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag v-if="scope.row.sendMsgType == 0">方式一</el-tag>
|
|
|
<el-tag v-if="scope.row.sendMsgType == 1" type="success">方式二</el-tag>
|
|
|
+ <el-tag v-if="scope.row.sendMsgType == 2" type="warning">掉线通知</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="UUID" align="center" prop="uid" />
|
|
@@ -287,6 +288,15 @@
|
|
|
>
|
|
|
解除主机
|
|
|
</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ :icon="scope.row.videoGetStatus == 0 ? 'el-icon-circle-check' : 'el-icon-remove-outline'"
|
|
|
+ plain
|
|
|
+ @click="changeVideoStatus(scope.row)"
|
|
|
+ >
|
|
|
+ {{ scope.row.videoGetStatus == 0 ? "开启" : "禁用" }}视频号接收
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="AI客服" align="center" class-name="small-padding fixed-width" width="100px" fixed="right">
|
|
@@ -508,6 +518,10 @@
|
|
|
:label="1"
|
|
|
>方式二
|
|
|
</el-radio>
|
|
|
+ <el-radio
|
|
|
+ :label="2"
|
|
|
+ >掉线通知
|
|
|
+ </el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -535,6 +549,7 @@ import {
|
|
|
delQwIpad,
|
|
|
qrCodeVerify,
|
|
|
outLoginQwIpad,
|
|
|
+ changeVideoStatus,
|
|
|
handleAllocateRemoteHost,
|
|
|
qwBindCloudHost, qwUnbindCloudHost, handleAuthAppKey, handleInputAuthAppKey, selectCloudAP, staffListUser
|
|
|
} from '../../../api/qw/user'
|
|
@@ -714,6 +729,12 @@ export default {
|
|
|
this.reset();
|
|
|
this.getList();
|
|
|
},
|
|
|
+ changeVideoStatus(val){
|
|
|
+ changeVideoStatus(val.id).then(res => {
|
|
|
+ this.$message.success("修改状态成功");
|
|
|
+ this.getList()
|
|
|
+ })
|
|
|
+ },
|
|
|
|
|
|
//绑定AI客服
|
|
|
bindFastGptRole(row) {
|