From 2df906a447195f9786dd468512ea895d6cc18532 Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期四, 15 五月 2025 14:53:54 +0800
Subject: [PATCH] APP3.5开发

---
 igds-app/index.html |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/igds-app/index.html b/igds-app/index.html
index eeb7cf3..3e48efc 100644
--- a/igds-app/index.html
+++ b/igds-app/index.html
@@ -199,11 +199,12 @@
 		mui.plusReady(function() {
 			var user = JSON.parse(localStorage.getItem('user'));
 			data.tokenAuth = user.tokenAuth;
-			url = user.url + "/api-phone/v35/gateway";
+			url = user.url + "/api/phone/v35/gateway";
 
 			$("#cname").html(user.cname);
-			if (user.companyId == user.deptId) {
+			if (user.deptType == "00"||user.deptType == "10") {
 				data.data.companyId = user.companyId;
+				data.data.deptId = user.deptId
 				getListDept();
 			} else {
 				$("#deptName").html("鎵�鍦ㄥ簱鍖猴細" + user.deptName);

--
Gitblit v1.9.3