From 9096f4ff47567b613441a3d239e969514b0b9f76 Mon Sep 17 00:00:00 2001 From: chengsc <Demo@DESKTOP-CPA90BF> Date: 星期三, 21 八月 2024 10:30:42 +0800 Subject: [PATCH] 修改页面权限显示错误 --- 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