From f9902f7a3b79d22bde9f199263ac36de26816470 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 08 五月 2026 14:46:10 +0800
Subject: [PATCH] 测试完成

---
 src/components/CallButton/index.vue |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/components/CallButton/index.vue b/src/components/CallButton/index.vue
index 76a2b82..d44aee1 100644
--- a/src/components/CallButton/index.vue
+++ b/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鍜宒omain
         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) {

--
Gitblit v1.9.3