WXL (wul)
2026-05-07 ecbcc059d43f64877551756de129c653d31d0032
src/components/CallButton/index.vue
@@ -51,6 +51,7 @@
      isRegistering: true, // 初始为注册中状态
      randomNum: randomNum,
      randomID: null,
      orgname: localStorage.getItem("orgname"),
      callStatus: "idle", // idle, calling, connected, ended
      sipStatus: "未连接",
      sipStatusClass: "status-disconnected",
@@ -58,7 +59,7 @@
        // 移除硬编码的wsUrl和domain
        wsUrl: "",
        sipUri: "",
        password: "Smartor@2023",//丽水
        password: "Smartor@2023", //丽水
        // password: "heskj@1234",//市一
        displayName: "Web 小龙",
        // realm: "9.208.5.18:8090",
@@ -98,6 +99,15 @@
    },
  },
  created() {
    if (
      this.orgname == "第一人民医院湖滨院区" ||
      this.orgname == "第一人民医院吴山院区"
    ) {
      this.sipConfig.password = "heskj@1234";
    } else {
      this.sipConfig.password = "Smartor@2023";
    }
    // CallgetList();
  },
@@ -200,7 +210,10 @@
          this.sipConfig.sipUri = `${this.randomNum}@192.168.10.124`;
        } else if (orgName == "龙泉市人民医院") {
          this.sipConfig.sipUri = `${this.randomNum}@10.10.0.220`;
        } else if (orgName == "杭州市第一人民医院湖滨院区"||orgName == "杭州市第一人民医院吴山院区") {
        } else if (
          orgName == "第一人民医院湖滨院区" ||
          orgName == "第一人民医院吴山院区"
        ) {
          this.sipConfig.sipUri = `${this.randomNum}@192.169.129.198`;
        }
      } catch (error) {