From 15c90ad541d895a4e0ceab0dd430260535479341 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 07 五月 2026 10:20:44 +0800
Subject: [PATCH] 测试完成
---
src/components/CallButton/index.vue | 22 +++++++++++++++++++---
1 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/src/components/CallButton/index.vue b/src/components/CallButton/index.vue
index 7c7798c..d44aee1 100644
--- a/src/components/CallButton/index.vue
+++ b/src/components/CallButton/index.vue
@@ -51,14 +51,16 @@
isRegistering: true, // 鍒濆涓烘敞鍐屼腑鐘舵��
randomNum: randomNum,
randomID: null,
+ orgname: localStorage.getItem("orgname"),
callStatus: "idle", // idle, calling, connected, ended
sipStatus: "鏈繛鎺�",
sipStatusClass: "status-disconnected",
sipConfig: {
// 绉婚櫎纭紪鐮佺殑wsUrl鍜宒omain
- wsUrl:'',
- sipUri:'',
- password: "Smartor@2023",
+ wsUrl: "",
+ sipUri: "",
+ password: "Smartor@2023", //涓芥按
+ // password: "heskj@1234",//甯備竴
displayName: "Web 灏忛緳",
// realm: "9.208.5.18:8090",
},
@@ -97,6 +99,15 @@
},
},
created() {
+ if (
+ this.orgname == "绗竴浜烘皯鍖婚櫌婀栨花闄㈠尯" ||
+ this.orgname == "绗竴浜烘皯鍖婚櫌鍚村北闄㈠尯"
+ ) {
+ this.sipConfig.password = "heskj@1234";
+ } else {
+ this.sipConfig.password = "Smartor@2023";
+ }
+
// CallgetList();
},
@@ -199,6 +210,11 @@
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 == "绗竴浜烘皯鍖婚櫌鍚村北闄㈠尯"
+ ) {
+ this.sipConfig.sipUri = `${this.randomNum}@192.169.129.198`;
}
} catch (error) {
console.error("鑾峰彇鍒嗘満鍙峰け璐�:", error);
--
Gitblit v1.9.3