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/basWrkIotype/basWrkIotype.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/basWrkIotype/basWrkIotype.js b/src/main/webapp/static/js/basWrkIotype/basWrkIotype.js index 90b3bc4..723120b 100644 --- a/src/main/webapp/static/js/basWrkIotype/basWrkIotype.js +++ b/src/main/webapp/static/js/basWrkIotype/basWrkIotype.js @@ -13,6 +13,7 @@ url: baseUrl+'/basWrkIotype/list/auth', page: true, limit: 16, + limits: [16, 30, 50, 100, 200, 500], // skin: 'line', even: true, toolbar: '#toolbar', @@ -86,7 +87,7 @@ type: 2, title: '鏂板', maxmin: true, - area: [top.detailWidth, top.detailHeight], + area: ['500px', top.detailHeight], shadeClose: false, content: 'basWrkIotype_detail.html', success: function(layero, index){ @@ -200,7 +201,7 @@ type: 2, title: '淇敼', maxmin: true, - area: [top.detailWidth, top.detailHeight], + area: ['500px', top.detailHeight], shadeClose: false, content: 'basWrkIotype_detail.html', success: function(layero, index){ -- Gitblit v1.9.1