二级页面交互

This commit is contained in:
zxy
2024-02-14 09:49:15 +08:00
parent bbd3b80bca
commit b44ea6530c
4 changed files with 12 additions and 6 deletions

View File

@@ -1,5 +1,11 @@
//var baseUrl = 'http://cgsu81beft.51xd.pub';
var baseUrl = "http://39.101.167.152:8088/shekecaiji";
var href = window.location.href.split("=");
var shengFen = unescape(href[1].split("&")[0]);
var pyName = href[2].split("&")[0];
var shortName = unescape(href[3]).split("&")[0];
$("#name").text(shengFen + "劳动力需求大数据平台");
$("#center_map_name").text(shengFen + "劳动力需求热力图")
//头部数据--------------------------------------
//获取当前时间

View File

@@ -518,7 +518,7 @@ function getData1() {
function getCityListByProvinceCode(zhName, pyName, name) {
console.log(zhName, pyName, name);
window.location.href =
"detail.html?longnName=" +
"detail.html?shengFen=" +
escape(zhName) +
"&abbreviation=" +
pyName +