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_ProcList.html | 28 ++++++++++++++++++----------
1 files changed, 18 insertions(+), 10 deletions(-)
diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_ProcList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_ProcList.html"
index e8995c5..2520c4e 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_ProcList.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_ProcList.html"
@@ -29,7 +29,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>
@@ -54,12 +54,12 @@
, layer = layui.layer;
form.on('submit(HQuery)', function () {
- //var sMainStr = JSON.stringify(table.cache['ck-table']);
+ //var sMainStr = JSON.stringify(table.cache['mainTable']);
RoadQuery($('#Value').val());
});
form.on('submit(FH)', function () {
- //var sMainStr = JSON.stringify(table.cache['ck-table']);
- var checkStatus = table.checkStatus('ck-table')
+ //var sMainStr = JSON.stringify(table.cache['mainTable']);
+ var checkStatus = table.checkStatus('mainTable')
, data = checkStatus.data;
switch (Type) {
@@ -76,17 +76,25 @@
});
RoadQuery($('#Value').val());
table.render({
- elem: '#ck-table'
+ elem: '#mainTable'
// , url: '/demo/table/user/'
, data: []
, cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
, cols: [[
{ type: 'radio' }
- , { field: 'HItemID', width: 150, title: '宸ュ簭ID', hide: true }
- , { field: '宸ュ簭浠g爜', width: 150, title: '宸ュ簭浠g爜' }
- , { field: '宸ュ簭', width: 150, title: '宸ュ簭鍚嶇О', sort: true }
+ , { field: 'HItemID', title: '宸ュ簭ID', hide: true }
+ , { field: '宸ュ簭浠g爜', title: '宸ュ簭浠g爜' }
+ , { field: '宸ュ簭', title: '宸ュ簭鍚嶇О', sort: true }
+ , { field: '宸ヤ綔涓績ID', title: '宸ヤ綔涓績ID', hide: true }
+ , { field: '宸ヤ綔涓績浠g爜', title: '宸ヤ綔涓績浠g爜', hide: true }
+ , { field: '宸ヤ綔涓績', title: '宸ヤ綔涓績', sort: true, hide: true }
+ , { field: '閮ㄩ棬ID', title: '閮ㄩ棬ID', hide: true, hide: true }
+ , { field: '閮ㄩ棬浠g爜', title: '閮ㄩ棬浠g爜', hide: true }
+ , { field: '閮ㄩ棬', title: '閮ㄩ棬', sort: true, hide: true }
]]
- , page: true
+ , page: true
+ , limits: [50, 500, 5000, 50000],
+ limit: 50
});
///鍔犺浇鏄剧ず鏁版嵁
function RoadQuery(Where) {
@@ -103,7 +111,7 @@
//data: { "Value": Value },
success: function (result) {
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