Ver código fonte

Fix修复跳转到企业主页

YueYunyun 2 anos atrás
pai
commit
144b3929be

+ 1 - 1
VbdsmUI_V2.1.1/src/pc/powergov/platformparkuser/js/datagrid.js

@@ -68,7 +68,7 @@ tableObj.datagrid({
 				align: "left",
 				formatter: function (value, row) {
 					var orgId = row.orgId
-					return '<a href="http://' + host + "/?auth_cid=" + orgId + '" target="_parent">' + value + "</a>"
+					return '<a href="http://' + host + "/classic.html?auth_cid=" + orgId + '" target="_parent">' + value + "</a>"
 				},
 			},
 			{

+ 1 - 1
VbdsmUI_V2.1.1/src/pc/powergov/platformuser/js/datagrid.js

@@ -69,7 +69,7 @@ tableObj.datagrid({
 				align: "left",
 				formatter: function (value, row) {
 					var orgId = row.orgId
-					return '<a href="http://' + host + "/?auth_cid=" + orgId + '" target="_blank">' + value + "</a>"
+					return '<a href="http://' + host + "/classic.html?auth_cid=" + orgId + '" target="_blank">' + value + "</a>"
 				},
 			},
 			{

+ 1 - 1
VbdsmUI_V2.1.1/src/pc/powergov/statistics/js/power_distribution_load_chart_new.js

@@ -1159,7 +1159,7 @@ function initTabData() {
 					align: "left",
 					formatter: function (value, row) {
 						var orgId = row.companyId
-						return '<a href="http://' + host + "/?auth_cid=" + orgId + '" target="_blank">' + value + "</a>"
+						return '<a href="http://' + host + "/classic.html?auth_cid=" + orgId + '" target="_blank">' + value + "</a>"
 					},
 				},
 				{

+ 1 - 1
VbdsmUI_V2.1.1/src/pc/powerservice/powerservice/powerserviceList.html

@@ -247,7 +247,7 @@
 						align: "left",
 						formatter: function (value, row) {
 							var orgId = row.orgId
-							return '<a href="http://' + host + "/?auth_cid=" + orgId + '" target="_blank">' + value + "</a>"
+							return '<a href="http://' + host + "/classic.html?auth_cid=" + orgId + '" target="_blank">' + value + "</a>"
 						},
 					},
 					{ field: "monitorOnline", title: "监测点(离线/总数)", width: 150, align: "center" },