From be7d738131c8cf9c8e00c6abfde469f2d82cbfb0 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期五, 15 三月 2024 16:48:45 +0800
Subject: [PATCH] 1

---
 WebTM/views/Baseset/基础资料/Gy_QCCheckItemListView.html |   33 ++++++++++++++++++---------------
 1 files changed, 18 insertions(+), 15 deletions(-)

diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QCCheckItemListView.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QCCheckItemListView.html"
index 0612bdc..e4d98ee 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QCCheckItemListView.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QCCheckItemListView.html"
@@ -27,7 +27,7 @@
             </div>
         </div>
     </div>
-    <table class="layui-hide" id="ck-table"></table>
+    <table class="layui-hide" id="mainTable"></table>
     <script src="../../../layuiadmin/layui/layui.js"></script>
     <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
     <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
@@ -35,25 +35,28 @@
     <script>
         layui.use(['table', 'form', 'layer'], function () {
             var table = layui.table
-            , form = layui.form
-            , layer = layui.layer;
+                , form = layui.form
+                , layer = layui.layer;
 
             form.on('submit(HQuery)', function () {
                 RoadQuery($('#Value').val());
             });
             RoadQuery($('#Value').val());
             table.render({
-                elem: '#ck-table'
-               , data: []
-              , cellMinWidth: 80
-              , cols: [[
-                  { type: 'radio' }
-                  , { field: 'HItemID', width: 150, title: 'HItemID', hide: true }
-                  , { field: '浠g爜', title: '浠g爜' }
-                  , { field: '鍚嶇О', title: '鍚嶇О' }
-                  , { field: '妫�楠岄」鐩被鍒�', title: '妫�楠岄」鐩被鍒�' }
-              ]]
-              , page: true
+                elem: '#mainTable'
+                , data: []
+                , cellMinWidth: 80
+                , cols: [[
+                    { type: 'radio' }
+                    , { field: 'HItemID', width: 150, title: 'HItemID', hide: true }
+                    , { field: '浠g爜', title: '浠g爜' }
+                    , { field: '鍚嶇О', title: '鍚嶇О' }
+                    , { field: '妫�楠岄」鐩被鍒�', title: '妫�楠岄」鐩被鍒�' }
+                    , { field: '榛樿缁撹', title: '榛樿缁撹', hide: true }
+                ]]
+                , page: true
+                , limits: [50, 500, 5000, 50000],
+                limit: 50
             });
             ///鍔犺浇鏄剧ず鏁版嵁
             function RoadQuery(Where) {
@@ -70,7 +73,7 @@
                     success: function (result) {
                         if (result.count == 1) {
                             ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
-                            table.reload('ck-table', {
+                            table.reload('mainTable', {
                                 data: ajaxReturnData
                                 , height: 'full-10'
                                 , loading: false

--
Gitblit v1.9.1