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 8e45ab5..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