|
@@ -32,6 +32,15 @@
|
|
|
shiro:hasPermission="G_INDUSTRIAL_CARRIER"
|
|
shiro:hasPermission="G_INDUSTRIAL_CARRIER"
|
|
|
onclick="redirectToIndustrialCarrier()">工业载体</a>
|
|
onclick="redirectToIndustrialCarrier()">工业载体</a>
|
|
|
</li>
|
|
</li>
|
|
|
|
|
+ <li class="dropDown dropDown_hover"><a href="#" class="dropDown_A">应用中心<i class="Hui-iconfont"></i></a>
|
|
|
|
|
+ <ul class="dropDown-menu menu radius box-shadow">
|
|
|
|
|
+ <li><a href="https://xsg.tq.geostsapp.cn/xgkfq/infoCollect/#/index" data-title="工业资源" target="_blank">工业资源</a></li>
|
|
|
|
|
+ <li><a onclick="checkLogin1('azw')" data-title="安专委平台">安专委平台</a></li>
|
|
|
|
|
+ <li><a onclick="checkLogin1('dljk')" data-title="电炉监控系统">电炉监控系统</a></li>
|
|
|
|
|
+ <li><a onclick="checkLogin1('lyjj')" data-title="楼宇经济管理平台">楼宇经济管理平台</a></li>
|
|
|
|
|
+ <li><a href="http://escloud.snd.gov.cn/home/serverDetail/78" data-title="境外投资项目备案系统" target="_blank">境外投资项目备案系统</a></li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </li>
|
|
|
<li class=" navbar-levelone " data-module="G_EPIDEMIC_SERVICE"><a href="#"
|
|
<li class=" navbar-levelone " data-module="G_EPIDEMIC_SERVICE"><a href="#"
|
|
|
shiro:hasPermission="G_EPIDEMIC_SERVICE"
|
|
shiro:hasPermission="G_EPIDEMIC_SERVICE"
|
|
|
onclick="redirectToEpidemicService()">疫情云</a>
|
|
onclick="redirectToEpidemicService()">疫情云</a>
|
|
@@ -264,6 +273,65 @@
|
|
|
window.open(pagePath.substring(0, pagePath.lastIndexOf("/")) + '/serviceleague/epidemic/#/infoList');
|
|
window.open(pagePath.substring(0, pagePath.lastIndexOf("/")) + '/serviceleague/epidemic/#/infoList');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ function checkLogin1(e) {
|
|
|
|
|
+ $.ajax({
|
|
|
|
|
+ url: pagePath + "/home/checkLogin/",
|
|
|
|
|
+ type: "get",
|
|
|
|
|
+ dataType: "json",
|
|
|
|
|
+ data:{
|
|
|
|
|
+ timeStamp: new Date()
|
|
|
|
|
+ },
|
|
|
|
|
+ success: function (result) {
|
|
|
|
|
+ if (result.success) {
|
|
|
|
|
+ var obj = result.obj;
|
|
|
|
|
+ if (obj.isLogin) {
|
|
|
|
|
+ if(e == 'azw') {
|
|
|
|
|
+ window.open("http://202.102.20.60:8008/xq/#/login?username="+obj.userName)
|
|
|
|
|
+ } else if(e='dljk') {
|
|
|
|
|
+ window.open("http://202.102.20.60:8008/ly/#/login?username="+obj.userName)
|
|
|
|
|
+ } else if(e='lyjj') {
|
|
|
|
|
+ window.open("http://112.4.85.47:8000/lyzf/#/login?username="+obj.userName)
|
|
|
|
|
+ } else if (e == 'jwtz') {
|
|
|
|
|
+ if (obj.userType == 3) {
|
|
|
|
|
+ window.open('http://112.4.85.50:9300/irsweb/?id=' + loginUserId)
|
|
|
|
|
+ }
|
|
|
|
|
+ } else if(e == 'gycf') {
|
|
|
|
|
+ window.open(pagePath.substring(0,pagePath.lastIndexOf("/")) + '/industry/home/#/home');
|
|
|
|
|
+ $.ajax({
|
|
|
|
|
+ url: pagePath + "/token/create",
|
|
|
|
|
+ type: "get",
|
|
|
|
|
+ dataType: "json",
|
|
|
|
|
+ data: {
|
|
|
|
|
+ timeStamp: new Date()
|
|
|
|
|
+ },
|
|
|
|
|
+ success: function (result) {
|
|
|
|
|
+ if (result.success) {
|
|
|
|
|
+ var token = result.obj;
|
|
|
|
|
+ localStorage.setItem("INDUSTRIAL_CARRIER", token);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ location.href = pagePath + "/home/login";
|
|
|
|
|
+ if(e == 'azw') {
|
|
|
|
|
+ localStorage.setItem("safetySupervision", "1");
|
|
|
|
|
+ localStorage.setItem("errorMsg", "用户不存在!");
|
|
|
|
|
+ }
|
|
|
|
|
+ if(e == 'gycf') {
|
|
|
|
|
+ localStorage.setItem("industrialCarrier", "1");
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ errorMessage(result.message);
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ error: function () {
|
|
|
|
|
+ errorMessage('系统错误!');
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
function clearStorage() {
|
|
function clearStorage() {
|
|
|
localStorage.clear();
|
|
localStorage.clear();
|
|
|
}
|
|
}
|