2 次代码提交 d2b3b85e61 ... 9bcbc8ecdb

作者 SHA1 备注 提交日期
  wangrulan 9bcbc8ecdb Merge branch 'master' of http://nokia.tianhaikj.tk:13000/other/hb_nokia_pm_ui 2 年之前
  wangrulan 59bc104137 样式 2 年之前

二进制
src/main/resources/static/js/layui/css/modules/layer/default/bg.png


二进制
src/main/resources/static/js/layui/css/modules/layer/default/bg2.jpg


文件差异内容过多而无法显示
+ 0 - 0
src/main/resources/static/js/layui/css/modules/login.css


+ 2 - 2
src/main/resources/templates/login.html

@@ -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>

+ 12 - 0
src/main/resources/templates/template.html

@@ -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){
+                    layer.close(tishi);
                 }
             });
         }

部分文件因为文件数量过多而无法显示