| | |
| | | count: typeof totalItems !== 'undefined' ? totalItems : 0, |
| | | limit: typeof pageSize !== 'undefined' ? pageSize : 6, |
| | | curr: typeof currentPage !== 'undefined' ? currentPage : 1, |
| | | layout: [ 'prev', 'next', ], |
| | | prev: '<i class="layui-icon layui-icon-left"></i>', |
| | | next: '<i class="layui-icon layui-icon-right"></i>', |
| | | layout: ['prev', 'page', 'next', ], |
| | | // prev: '<i class="layui-icon layui-icon-left"></i>', |
| | | // next: '<i class="layui-icon layui-icon-right"></i>', |
| | | jump: function (obj, first) { |
| | | if (!first) { |
| | | searchRecord(obj.curr, obj.limit) |
| | |
| | | count: totalCount, |
| | | limit: pageSize, |
| | | curr: currentPage, |
| | | layout: ['prev', 'next', ], |
| | | prev: '<i class="layui-icon layui-icon-left"></i>', |
| | | next: '<i class="layui-icon layui-icon-right"></i>', |
| | | layout: ['prev', 'page', 'next', ], |
| | | // prev: '<i class="layui-icon layui-icon-left"></i>', |
| | | // next: '<i class="layui-icon layui-icon-right"></i>', |
| | | jump: function (obj, first) { |
| | | if (!first) { |
| | | searchRecord(obj.curr, obj.limit) |
| | |
| | | }); |
| | | } |
| | | function openConf() { |
| | | var url = ctx + "com.fzzy.igds.SnapConf.d"; |
| | | var options = { |
| | | title: "抓拍配置", |
| | | url: url, |
| | | btn: 0, |
| | | yes: function (index, layero) { |
| | | $.modal.close(index); |
| | | } |
| | | }; |
| | | $.modal.openOptions(options); |
| | | var url = ctx + "com.fzzy.igds.ConfByDept.d"; |
| | | $.modal.openTab("库区配置", url); |
| | | } |