window.onload = function getCode() {
var code = '';
var url = window.location.search;
if (url.indexOf("?") != -1) {
var strs = url.split("?");
var codeAndValue = strs[1];
var codes = codeAndValue.split("=");
code = codes[1];
}
window.open("${pageContext.request.contextPath }/system/emPowerAction_grandPower.do?code="+code, "_self");
}
var code = '';
var url = window.location.search;
if (url.indexOf("?") != -1) {
var strs = url.split("?");
var codeAndValue = strs[1];
var codes = codeAndValue.split("=");
code = codes[1];
}
window.open("${pageContext.request.contextPath }/system/emPowerAction_grandPower.do?code="+code, "_self");
}