From 8cab17153dd8b7e47f9749b02293f169d078212f Mon Sep 17 00:00:00 2001 From: yuyou_x <2336760928@qq.com> Date: 星期四, 14 三月 2024 10:33:45 +0800 Subject: [PATCH] 1 --- HTML/views/BaseSetting/Materials.html | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/HTML/views/BaseSetting/Materials.html b/HTML/views/BaseSetting/Materials.html index 7732a42..737e044 100644 --- a/HTML/views/BaseSetting/Materials.html +++ b/HTML/views/BaseSetting/Materials.html @@ -17,10 +17,10 @@ }); </script> </head> - <body> + <body id="body"> <div class="layui-fluid" style="padding-bottom: 0;"> <div class="layui-card"> - <div class="layui-form layui-card-header layuiadmin-card-header-auto" style="border-bottom:1px solid #CCC"> + <div class="layui-form layui-card-header layuiadmin-card-header-auto" style="border-bottom:1px solid #CCC" id="top"> <div class="layui-form-item"> <!-- 鐗╂枡缂栫爜 --> <div class="layui-inline"> @@ -120,6 +120,9 @@ </div> </div> </div> + + <div id="center"></div> + <div class="layui-card-body"> <table id="LAY-app-content-list" lay-filter="LAY-app-content-list"></table> @@ -203,6 +206,7 @@ laypage = layui.laypage, layer = layui.layer; + var h1 = GetTableHeight(); refreshTable("","","","","","","",""); var tableIns; //鑾峰彇绫诲埆淇℃伅 @@ -303,7 +307,7 @@ var infoOptions = { elem: "#LAY-app-content-list", - height: "full-140", + height: h1, id: "LAY-app-content-list", page: true, limit: pageCnt, @@ -463,6 +467,12 @@ doing = true; }); } + else if (res.code == 2) { + layer.msg("鐗╂枡缂栫爜鎴栧悕绉伴噸澶嶏紝娣诲姞澶辫触锛�", { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function() {doing = true;}); + } else //涓嶆垚鍔� { layer.msg(res.msg, { -- Gitblit v1.8.0