From a9a8af3cd6e452cbcb8f8a046890cd5b36a61b17 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期三, 21 八月 2024 10:34:39 +0800 Subject: [PATCH] 档查询出来有多条数据时,加上数量条件,进行匹配,如果数量也匹配不上,就默认返回第一个 --- src/main/webapp/static/js/basWrkStatus/basWrkStatus.js | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/static/js/basWrkStatus/basWrkStatus.js b/src/main/webapp/static/js/basWrkStatus/basWrkStatus.js index ee26777..a64f6da 100644 --- a/src/main/webapp/static/js/basWrkStatus/basWrkStatus.js +++ b/src/main/webapp/static/js/basWrkStatus/basWrkStatus.js @@ -13,7 +13,8 @@ url: baseUrl+'/basWrkStatus/list/auth', page: true, limit: 16, - skin: 'line', + limits: [16, 30, 50, 100, 200, 500], + // skin: 'line', even: true, toolbar: '#toolbar', cellMinWidth: 50, @@ -85,7 +86,7 @@ type: 2, title: '鏂板', maxmin: true, - area: [top.detailWidth, top.detailHeight], + area: ['500px', top.detailHeight], shadeClose: false, content: 'basWrkStatus_detail.html', success: function(layero, index){ @@ -199,7 +200,7 @@ type: 2, title: '淇敼', maxmin: true, - area: [top.detailWidth, top.detailHeight], + area: ['500px', top.detailHeight], shadeClose: false, content: 'basWrkStatus_detail.html', success: function(layero, index){ -- Gitblit v1.9.1