You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.2 KiB

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script src="../../../admin/js/jquery-3.6.0.min.js "></script>
<script>
$(function () {
$.ajax({
type: "GET",
async: false,
url: "/dsBase/zbdc/getSchoolTypeId",
success: function (res) {
if (res.success) {
switch (res.school_type_id) {
case 211:
// window.location.href = "./cgzb_xx.html";
window.location.href = "./cgzb_xx_new.html";
break;
case 311:
// window.location.href = "./cgzb_cz.html";
window.location.href = "./cgzb_cz_new.html";
break;
case 342:
// window.location.href = "./cgzb_gz.html";
window.location.href = "./cgzb_gz_new.html";
break;
case 312:
// window.location.href = "./cgzb_jnygz.html";
window.location.href = "./cgzb_jnygz_new.html";
break;
case 341:
//window.location.href = "./cgzb_wqzx.html";
window.location.href = "./cgzb_wqzx_new.html";
break;
case 345:
window.location.href = "./cgzb_senygz.html";
break;
}
} else {
layer.msg(res.message, {
icon: 2,
time: 2000
});
}
}
});
});
</script>
</body>
</html>