WXL (wul)
2 天以前 f08b755cd2db76f99b96355e8e1f60dda50fffdb
测试完成
已修改3个文件
10 ■■■■ 文件已修改
src/api/AiCentre/phoneCall.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/CallButton/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/detailpage/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/phoneCall.js
@@ -10,7 +10,7 @@
    },
  });
}
// 查询外部患者表
// 更新分级号
export function CallsetState(data) {
  return request({
    url: "/smartor/ServiceTelInfo/setState",
src/components/CallButton/index.vue
@@ -92,7 +92,10 @@
    sipService.onStatusChange = (status) => {
      this.sipStatus = status.text;
      this.sipStatusClass = `status-${status.type}`;
      // 注册成功
      if (status.type === "registered") {
        this.startCallsetState();
      }
      // 处理注册失败和断开连接情况
      if (status.type === "failed" || status.type === "disconnected") {
        this.overCallsetState(); // 释放分机号
@@ -160,7 +163,6 @@
        this.randomID = res.data[0].id;
        // 正确设置 sipUri
        this.sipConfig.sipUri = `${this.randomNum}@192.168.10.124`;
        this.startCallsetState();
      } catch (error) {
        console.error("获取分机号失败:", error);
        // this.updateStatus("failed", "获取分机号失败");
src/views/followvisit/record/detailpage/index.vue
@@ -1409,8 +1409,6 @@
  methods: {
    // 获取主题样式类
    getTopicClass(item) {
      console.log(item.isabnormal, "111");
      // 根据状态值返回对应的样式类
      if (item.isabnormal == 1) {
        return "scriptTopic-isabnormal"; // 异常 - 红色