From 1c4928947c1c233af5ce91b77d910625e365c9fc Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期一, 14 二月 2022 08:44:42 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/projectPlan/projectPlan.js | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/static/js/projectPlan/projectPlan.js b/src/main/webapp/static/js/projectPlan/projectPlan.js index 96c38fb..3c2fd9d 100644 --- a/src/main/webapp/static/js/projectPlan/projectPlan.js +++ b/src/main/webapp/static/js/projectPlan/projectPlan.js @@ -1,5 +1,6 @@ var pageCurr; var items; +var insTb2; getItems(); @@ -15,7 +16,7 @@ var admin = layui.admin; // 鏁版嵁娓叉煋 - tableIns = table.render({ + insTb2 = table.render({ elem: '#projectPlan', headers: {token: localStorage.getItem('token')}, url: baseUrl+'/projectPlan/list/auth', @@ -27,7 +28,7 @@ where: { items: items }, - + height: 'full-100', cols: [[ {type: 'checkbox', hide:true} // ,{field: 'id', align: 'center',title: '鍞竴ID'} @@ -79,7 +80,7 @@ }); searchData['orderByField'] = obj.field; searchData['orderByType'] = obj.type; - tableIns.reload({ + insTb2.reload({ where: searchData, page: {curr: 1} }); @@ -295,7 +296,7 @@ $.each($('#search-box [name]').serializeArray(), function() { searchData[this.name] = this.value; }); - tableIns.reload({ + insTb2.reload({ where: searchData, page: {curr: pageCurr} }); -- Gitblit v1.9.1