@@ -11,12 +11,12 @@
<link rel="stylesheet" href="./js/layui/css/modules/admin.css">
<link rel="stylesheet" href="./js/layui/css/modules/login.css">
<style>
- .bg {
+ /* .bg {
width: 100%;
height: 100%;
background: url('../static/js/layui/css/modules/layer/default/bg.png');.
background-size: 100% 100%;
- }
+ } */
</style>
</head>
<body>
@@ -288,10 +288,18 @@
function renderTable(condition, searchType, table, citys, quxians, indicators, ttype, sdate) {
console.log('renderTable')
+ // var tishi = layer.load(2, { shade: [0.15, '#ccc'] });
+ var tishi = layer.open({
+ shadeClose: false
+ ,type: 2
+ ,content: '加载中...'
+ });
+ console.log('tishi: ', tishi);
$.ajax({
type: "POST",
url: './renderTable',
async: false,
+ traditional: true,
data: {
"condition": condition,
"searchType": searchType,
@@ -302,6 +310,7 @@
"sdate": sdate
},
success: function (r) {
+ layer.close(tishi);
dataA = r;
// 没有权限提示
if (r?.msg && r.msg.length > 0) {
@@ -333,6 +342,9 @@
data: r.datas
});
return false;
+ },
+ error: function(err){
}