diff --git a/.env.development b/.env.development index bdcd4f0..24310f4 100644 --- a/.env.development +++ b/.env.development @@ -48,7 +48,8 @@ NODE_ENV = 'development' # 大连金笔 # VITE_API_URL = 'http://101.43.164.214:11126' # 中煤木垒 -VITE_API_URL = 'http://101.43.164.214:11111' +# VITE_API_URL = 'http://101.43.164.214:11111' +VITE_API_URL = 'http://222.80.185.228:6090' # 上传 VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url=' diff --git a/.env.production b/.env.production index 1686101..6006a93 100644 --- a/.env.production +++ b/.env.production @@ -44,7 +44,8 @@ NODE_ENV = "production" # 大连金笔 # VITE_API_URL = 'http://101.43.164.214:11126' # 中煤木垒 -VITE_API_URL = 'http://101.43.164.214:11111' +# VITE_API_URL = 'http://101.43.164.214:11111' +VITE_API_URL = 'http://222.80.185.228:6090' # 打包 VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url=' diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index f9292f3..9771b01 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -524,10 +524,13 @@ onMounted(async () => { if (window.location.href.indexOf("userId") != -1) { console.log("免登录跳转进来了吗----", window.location.href.indexOf("userId")); const newUserId = window.location.href.split("userId=")[1].split("&")[0]; + const projectSn = window.location.href.split("sn=")[1].split("&")[0]; const data: any = await jumpLargeByUserIdApi({ userId: newUserId }); console.log("跳转请求的数据----", data.result); if (data.result.sn) { - store.setSN(data.result.sn); + const accountTypeList = [2, 3, 4, 7]; + const sn = accountTypeList.includes(data.result.accountType) ? projectSn : data.result.sn; + store.setSN(sn); } store.setToken(data.result.token); store.setAccount(data.result.account); @@ -673,7 +676,7 @@ function loginOut() { } //跳转后台 function jumpBgd() { - const envList = ["agjt", "zkax", "zkjc", "hfqc", "cpgs", "cqna", "jzjt", "tj", "scwc", "bthg"]; // 环境标识 + const envList = ["agjt", "zkax", "zkjc", "hfqc", "cpgs", "cqna", "jzjt", "tj", "scwc", "bthg", "zmml"]; // 环境标识 // 标准版——跳转演示平台项目后台 if (COMPANY == "") { window.location.replace("http://jxj.zhgdyun.com:100/#/login?token=" + store.token); diff --git a/src/views/sevenLargeScreen/videoManagement/index.vue b/src/views/sevenLargeScreen/videoManagement/index.vue index 4e7fa4c..1acaa01 100644 --- a/src/views/sevenLargeScreen/videoManagement/index.vue +++ b/src/views/sevenLargeScreen/videoManagement/index.vue @@ -14,6 +14,7 @@ children: 'list' }" node-key="id" + default-expand-all @node-click="checkVideo" empty-text="" >