main
kgdxpr 9 months ago
parent 5ddc314451
commit 594cde1bc4

@ -74,9 +74,11 @@
var $ = layui.jquery; var $ = layui.jquery;
var identityId = GetQueryString("identity_id");
table.render({ table.render({
elem: '#data-table', elem: '#data-table',
url: '/dsBase/dataease/getDataSetByProvince', url: '/dsBase/dataease/getDataSetByProvince?identity_id=' + identityId,
height: 'full-35', height: 'full-35',
page: { page: {
limit: 20 limit: 20
@ -117,6 +119,16 @@
window.location.href = "./dataMod_proxy_province.html?id=" + obj.data.id window.location.href = "./dataMod_proxy_province.html?id=" + obj.data.id
} }
}); });
function GetQueryString(name, istop) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (typeof (istop) != "undefined") r = top.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]);
return null;
}
}); });
</script> </script>

Loading…
Cancel
Save