|
@@ -719,28 +719,28 @@ function loginKj(type, url, systemType) {
|
|
|
var change_time = rows[0].CHANGE_TIME;
|
|
|
debugger
|
|
|
//保存用户信息
|
|
|
- getUserRoleInfo(usercode,userkeycode).then(async res3 => {
|
|
|
+ getUserRoleInfo(usercode, userkeycode).then(async res3 => {
|
|
|
|
|
|
localStorage.setItem("ptjk_changetime", change_time);
|
|
|
const loginUserInfo = {
|
|
|
- ywxt_usercode:usercode,
|
|
|
- ywxt_username:username,
|
|
|
- ywxt_unitcode:unitcode,
|
|
|
- ywxt_unitname:unitname,
|
|
|
- ywxt_contact:contact,
|
|
|
- ywxt_telephone:telephone,
|
|
|
- ywxt_email:email,
|
|
|
- ywxt_identify:identify,
|
|
|
- ywxt_userkeycode:userkeycode,
|
|
|
- ptjk_changetime:change_time,
|
|
|
- role:res3.msg[0].Rows,
|
|
|
- password:password
|
|
|
+ ywxt_usercode: usercode,
|
|
|
+ ywxt_username: username,
|
|
|
+ ywxt_unitcode: unitcode,
|
|
|
+ ywxt_unitname: unitname,
|
|
|
+ ywxt_contact: contact,
|
|
|
+ ywxt_telephone: telephone,
|
|
|
+ ywxt_email: email,
|
|
|
+ ywxt_identify: identify,
|
|
|
+ ywxt_userkeycode: userkeycode,
|
|
|
+ ptjk_changetime: change_time,
|
|
|
+ role: res3.msg[0].Rows,
|
|
|
+ password: password
|
|
|
}
|
|
|
// 根据user_id获取角色
|
|
|
- localStorage.setItem('loginUserInfoSpace',JSON.stringify(loginUserInfo))
|
|
|
- loginKj_log(unitcode,usercode, "运维系统-登录", "登录系统成功", "系统登录");
|
|
|
+ localStorage.setItem('loginUserInfoSpace', JSON.stringify(loginUserInfo))
|
|
|
+ loginKj_log(unitcode, usercode, "运维系统-登录", "登录系统成功", "系统登录");
|
|
|
//空间运维系统 登录成功后 需要缓存用户权限
|
|
|
- selectUserRole(usercode,url,);
|
|
|
+ selectUserRole(usercode, url,);
|
|
|
//window.open(url,url);
|
|
|
return;
|
|
|
})
|
|
@@ -846,7 +846,6 @@ function toOtherRouter(item, isDisabled) {
|
|
|
loginIn_yyfnzt()
|
|
|
}
|
|
|
|
|
|
- console.log(router, 'useRouter()', item)
|
|
|
if (item.path) {
|
|
|
let routeUrl = router.resolve({
|
|
|
path: item.path,
|
|
@@ -1026,17 +1025,39 @@ const ballSystemList = ref([
|
|
|
},
|
|
|
]
|
|
|
},
|
|
|
- {name: 'BIM中台'},
|
|
|
+ {
|
|
|
+ name: 'BIM中台',
|
|
|
+ children: [
|
|
|
+ // {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数据应用系统',
|
|
|
+ aPath: 'https://cimweb.zjw.sh.cegn.cn:2007/bim-application-web/',
|
|
|
+ moduleId: '1035',
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2002/cim-home/#/login'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'BIM数据管理系统',
|
|
|
+ aPath: 'http://10.90.12.4:8008/#/login',
|
|
|
+ moduleId: '964',
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2002/cim-home/#/login'
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
name: 'IOT中台', children: [
|
|
|
{
|
|
|
name: '视频数据管理',
|
|
|
isOutZj: true,
|
|
|
aPath: 'http://10.86.133.76:8080/#/realMonitor?xmNo=172',
|
|
|
- moduleId: '569',
|
|
|
- loginPage: 'http://10.86.133.76:8080/#/realMonitor?xmNo=172'
|
|
|
+ moduleId: '1027',
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2002/cim-home/#/login'
|
|
|
},
|
|
|
- {name: 'IOT数据管理', disabled: true}]
|
|
|
+ {
|
|
|
+ name: 'IOT数据管理',
|
|
|
+ aPath: 'http://10.90.12.105:40499/',
|
|
|
+ moduleId: '1028',
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2002/cim-home/#/login'
|
|
|
+ }]
|
|
|
},
|
|
|
{
|
|
|
name: '智能分析\nAI中台',
|
|
@@ -1046,11 +1067,18 @@ const ballSystemList = ref([
|
|
|
name: '数据治理监控',
|
|
|
aPath: 'https://cimweb.zjw.sh.cegn.cn:2007/space-monitor/#/home',
|
|
|
moduleId: '662',
|
|
|
- loginPage: 'https://cimweb.zjw.sh.cegn.cn:2007/space-monitor/#/login'
|
|
|
+ loginPage: 'https://cimweb.zjw.sh.cegn.cn:2002/cim-home/#/login'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ disabled: true,
|
|
|
+ name: '数据可视化系统',
|
|
|
+ aPath: '',
|
|
|
+ moduleId: '',
|
|
|
+ loginPage: ''
|
|
|
},
|
|
|
]
|
|
|
},
|
|
|
- {name: '应用赋能中台', path: '/power-home'},
|
|
|
+ {name: '应用赋能中台', path: '/power-home', moduleId: '651',},
|
|
|
])
|
|
|
|
|
|
</script>
|