From 2c288fc04cbb697ec065a578edf8ca816287cdfd Mon Sep 17 00:00:00 2001 From: 18516761980 <4761516tqsxp> Date: 星期二, 15 二月 2022 08:05:29 +0800 Subject: [PATCH] Merge branch 'zypms' of http://47.97.1.152:5880/r/wms_saas into zypms --- 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