|
@@ -9,7 +9,8 @@
|
|
<div class="star">
|
|
<div class="star">
|
|
<div class="bg1"
|
|
<div class="bg1"
|
|
@click="toOtherRouter(item,!loginPinia.canSeeSystemArr.find(i => getModuleIdIsHas(+i.MODULE_ID,item)) && !item.children && item.aPath)"
|
|
@click="toOtherRouter(item,!loginPinia.canSeeSystemArr.find(i => getModuleIdIsHas(+i.MODULE_ID,item)) && !item.children && item.aPath)"
|
|
- v-for="item in ballSystemList" :key="item.name">
|
|
|
|
|
|
+ v-for="item in ballSystemList"
|
|
|
|
+ :key="item.name" >
|
|
<div class="bgc" ref="canvasGLTF">
|
|
<div class="bgc" ref="canvasGLTF">
|
|
|
|
|
|
</div>
|
|
</div>
|
|
@@ -241,6 +242,8 @@ import {
|
|
import {handleMes, showMessage} from "@/unit/element-ui/tip";
|
|
import {handleMes, showMessage} from "@/unit/element-ui/tip";
|
|
import {encode} from "js-base64";
|
|
import {encode} from "js-base64";
|
|
|
|
|
|
|
|
+const useSystemList = localStorage.getItem('canSeeSystemArr') !== undefined ? JSON.parse( localStorage.getItem('canSeeSystemArr')) : null
|
|
|
|
+
|
|
// import {Clay} from "@/static/clay.min";
|
|
// import {Clay} from "@/static/clay.min";
|
|
onBeforeUnmount(() => {
|
|
onBeforeUnmount(() => {
|
|
// cancelAnimationFrame(animationFrameId);
|
|
// cancelAnimationFrame(animationFrameId);
|
|
@@ -311,8 +314,16 @@ function loginZHFXFN(type, url, systemType) {
|
|
}
|
|
}
|
|
|
|
|
|
function toPage(item, isDisabled) {
|
|
function toPage(item, isDisabled) {
|
|
-
|
|
|
|
- let path = isDisabled ? item.loginPage : item.aPath
|
|
|
|
|
|
+ let path1 = ''
|
|
|
|
+ let ticker = ''
|
|
|
|
+ useSystemList.forEach(item1 =>{
|
|
|
|
+ if (item1.MODULE_ID === item.moduleId){
|
|
|
|
+ const ticket = encodeURIComponent(item1.TICKET);
|
|
|
|
+ path1 = item.aPath
|
|
|
|
+ ticker = '?ticket=' + ticket;
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ let path = isDisabled ? item.loginPage : path1+ticker
|
|
if (item.isOutZj) {
|
|
if (item.isOutZj) {
|
|
window.open(path, path)
|
|
window.open(path, path)
|
|
return;
|
|
return;
|
|
@@ -363,7 +374,8 @@ function toPage(item, isDisabled) {
|
|
case '663': //城市体检
|
|
case '663': //城市体检
|
|
loginZW(9, path, "47e0971bb15b4420bf1f351510378c72");
|
|
loginZW(9, path, "47e0971bb15b4420bf1f351510378c72");
|
|
break
|
|
break
|
|
-
|
|
|
|
|
|
+ default:
|
|
|
|
+ window.open(path);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -443,6 +455,12 @@ function editUserLoginStateZw(usercode, userkeycode, login_lock, login_type, url
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+//直接跳转登录
|
|
|
|
+function login(type,url,systemType) {
|
|
|
|
+ debugger
|
|
|
|
+ localStorage.setItem('auth-token', )
|
|
|
|
+}
|
|
|
|
+
|
|
function loginZW(type, url, systemType) {
|
|
function loginZW(type, url, systemType) {
|
|
debugger
|
|
debugger
|
|
loginInZw(loginPinia.loginInfo.username, encode(loginPinia.loginInfo.psd), type)
|
|
loginInZw(loginPinia.loginInfo.username, encode(loginPinia.loginInfo.psd), type)
|
|
@@ -1007,6 +1025,9 @@ const systemList = ref([
|
|
name: '上海市城市更新信息系统'
|
|
name: '上海市城市更新信息系统'
|
|
}
|
|
}
|
|
])
|
|
])
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
const ballSystemList = ref([
|
|
const ballSystemList = ref([
|
|
{
|
|
{
|
|
name: 'GIS中台', children: [
|
|
name: 'GIS中台', children: [
|
|
@@ -1031,51 +1052,69 @@ const ballSystemList = ref([
|
|
// {name:'空间地理信息共享交换系统',aPath:'https://cimweb.zjw.sh.cegn.cn:2007/space-browsing/#/main/home',moduleId:'569',loginPage:'https://cimweb.zjw.sh.cegn.cn:2007/space-browsing/#/login'},
|
|
// {name:'空间地理信息共享交换系统',aPath:'https://cimweb.zjw.sh.cegn.cn:2007/space-browsing/#/main/home',moduleId:'569',loginPage:'https://cimweb.zjw.sh.cegn.cn:2007/space-browsing/#/login'},
|
|
{
|
|
{
|
|
name: 'BIM数据应用系统',
|
|
name: 'BIM数据应用系统',
|
|
- aPath: 'https://cimweb.zjw.sh.cegn.cn:2007/bim-application-web/',
|
|
|
|
- moduleId: '1035',
|
|
|
|
- loginPage: 'https://cimweb.zjw.sh.cegn.cn:2002/cim-home/#/login'
|
|
|
|
|
|
+ aPath: 'https://cimweb.zjw.sh.cegn.cn:2007/bim-application-web/#/index',
|
|
|
|
+ // aPath: 'http://localhost:5174/#/index',
|
|
|
|
+ moduleId: '1029',
|
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2007/cim-home/#/login'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
name: 'BIM数据管理系统',
|
|
name: 'BIM数据管理系统',
|
|
- aPath: 'http://10.90.12.4:8008/#/login',
|
|
|
|
|
|
+ // aPath: 'http://10.90.12.4:8008/#/login',
|
|
|
|
+ aPath: 'http://10.90.12.4:8008/#/dashboard?loginCode=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzMDQ3IiwiaWF0IjoxNzI0NzU1MjI4LCJleHAiOjE3MjQ4NDE2Mjh9.2-BKiy8OqFQaCVmeVvDDzPzTTxXc1_ddyos6iB6zX7w&loginWay=cd-auth',
|
|
moduleId: '964',
|
|
moduleId: '964',
|
|
- loginPage: 'https://cimweb.zjw.sh.cegn.cn:2002/cim-home/#/login'
|
|
|
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2007/cim-home/#/login'
|
|
},
|
|
},
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
name: 'IOT中台', children: [
|
|
name: 'IOT中台', children: [
|
|
{
|
|
{
|
|
- name: '视频数据管理',
|
|
|
|
- isOutZj: true,
|
|
|
|
- aPath: 'http://10.86.133.76:8080/#/realMonitor?xmNo=172',
|
|
|
|
- moduleId: '1027',
|
|
|
|
- loginPage: 'https://cimweb.zjw.sh.cegn.cn:2002/cim-home/#/login'
|
|
|
|
|
|
+ name: '视频数据管理系统',
|
|
|
|
+ disabled: true,
|
|
|
|
+ aPath: 'http://10.90.13.56:8000',
|
|
|
|
+ moduleId: '749',
|
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2007/cim-home/#/login'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '视频数据应用系统',
|
|
|
|
+ aPath: 'http://10.90.12.105:40499/#/index',
|
|
|
|
+ moduleId: '749',
|
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2007/cim-home/#/login'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: 'IOT数据管理',
|
|
|
|
- aPath: 'http://10.90.12.105:40499/',
|
|
|
|
- moduleId: '1028',
|
|
|
|
- loginPage: 'https://cimweb.zjw.sh.cegn.cn:2002/cim-home/#/login'
|
|
|
|
|
|
+ name: 'IOT数据应用系统',
|
|
|
|
+ aPath: 'http://10.90.14.52:16001/dmpweb/#/index',
|
|
|
|
+ moduleId: '765',
|
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2007/cim-home/#/login'
|
|
}]
|
|
}]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
name: '智能分析\nAI中台',
|
|
name: '智能分析\nAI中台',
|
|
children: [
|
|
children: [
|
|
|
|
+ {
|
|
|
|
+ // disabled: true,
|
|
|
|
+ name: '数据可视化系统',
|
|
|
|
+ aPath: 'http://localhost:3000/#/index',
|
|
|
|
+ moduleId: '1030',
|
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2007/cim-home/#/login'
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ disabled: true,
|
|
|
|
+ name: '数据分析融合系统',
|
|
|
|
+ aPath: 'http://10.90.12.105:40490/#/index',
|
|
|
|
+ moduleId: '1046',
|
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2007/cim-home/#/login'
|
|
|
|
+ },
|
|
|
|
+
|
|
// {name:'数据分析赋能',aPath:'https://cimweb.zjw.sh.cegn.cn:2007/space-application/#/main/home',moduleId:'569',loginPage:'https://cimweb.zjw.sh.cegn.cn:2007/space-application/#/login'},
|
|
// {name:'数据分析赋能',aPath:'https://cimweb.zjw.sh.cegn.cn:2007/space-application/#/main/home',moduleId:'569',loginPage:'https://cimweb.zjw.sh.cegn.cn:2007/space-application/#/login'},
|
|
{
|
|
{
|
|
name: '数据治理监控',
|
|
name: '数据治理监控',
|
|
aPath: 'https://cimweb.zjw.sh.cegn.cn:2007/space-monitor/#/home',
|
|
aPath: 'https://cimweb.zjw.sh.cegn.cn:2007/space-monitor/#/home',
|
|
moduleId: '662',
|
|
moduleId: '662',
|
|
- loginPage: 'https://cimweb.zjw.sh.cegn.cn:2002/cim-home/#/login'
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- disabled: true,
|
|
|
|
- name: '数据可视化系统',
|
|
|
|
- aPath: '',
|
|
|
|
- moduleId: '',
|
|
|
|
- loginPage: ''
|
|
|
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2007/cim-home/#/login'
|
|
},
|
|
},
|
|
|
|
+
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{name: '应用赋能中台', path: '/power-home', moduleId: '651',},
|
|
{name: '应用赋能中台', path: '/power-home', moduleId: '651',},
|
|
@@ -1419,7 +1458,7 @@ const ballSystemList = ref([
|
|
padding: 10px;
|
|
padding: 10px;
|
|
position: absolute;
|
|
position: absolute;
|
|
|
|
|
|
- top: 80%;
|
|
|
|
|
|
+ top: 60%;
|
|
}
|
|
}
|
|
|
|
|
|
//height: 290px;
|
|
//height: 290px;
|