|
@@ -892,6 +892,8 @@ import axios from "axios";
|
|
|
import {addCodeUrl} from "../../../api/company/companyUser";
|
|
import {addCodeUrl} from "../../../api/company/companyUser";
|
|
|
import selectDoctor from "@/views/qw/user/selectDoctor.vue";
|
|
import selectDoctor from "@/views/qw/user/selectDoctor.vue";
|
|
|
import AiSipCallUser from "../../aiSipCall/aiSipCallUser.vue";
|
|
import AiSipCallUser from "../../aiSipCall/aiSipCallUser.vue";
|
|
|
|
|
+import {bindCidServer,unbindCidServer} from "@/api/company/companyAiWorkflowServer";
|
|
|
|
|
+
|
|
|
export default {
|
|
export default {
|
|
|
name: "User",
|
|
name: "User",
|
|
|
components: {selectDoctor, Treeselect ,selectUser,AiSipCallUser},
|
|
components: {selectDoctor, Treeselect ,selectUser,AiSipCallUser},
|
|
@@ -2147,7 +2149,23 @@ export default {
|
|
|
// 将分号分隔的内容转换为换行显示
|
|
// 将分号分隔的内容转换为换行显示
|
|
|
return dataInfo.split(/;\s*/).map(item => item.trim()).filter(item => item).join('\n');
|
|
return dataInfo.split(/;\s*/).map(item => item.trim()).filter(item => item).join('\n');
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+ //用户绑定cidserver服务器
|
|
|
|
|
+ handleBindCidServer(row){
|
|
|
|
|
+ let param = {
|
|
|
|
|
+ userId : row.userId,
|
|
|
|
|
+ companyId : row.companyId
|
|
|
|
|
+ }
|
|
|
|
|
+ this.bindCidServerLoading = true;
|
|
|
|
|
+ bindCidServer(param).then(res=>{
|
|
|
|
|
+ console.log(res);
|
|
|
|
|
+ this.bindCidServerLoading = false;
|
|
|
|
|
+ this.$message.success('绑定成功');
|
|
|
|
|
+ this.getList();
|
|
|
|
|
+ }).catch(res=>{
|
|
|
|
|
+ this.bindCidServerLoading = false;
|
|
|
|
|
+ console.log(res)
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|