From c65db22f67af8018ae7105ea00d8743e42835e13 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期六, 29 三月 2025 15:52:09 +0800 Subject: [PATCH] 1 --- src/main/webapp/static/js/locRule/locRule.js | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/locRule/locRule.js b/src/main/webapp/static/js/locRule/locRule.js index 1089ff5..5b1ddce 100644 --- a/src/main/webapp/static/js/locRule/locRule.js +++ b/src/main/webapp/static/js/locRule/locRule.js @@ -20,6 +20,7 @@ toolbar: '#toolbar', cellMinWidth: 50, height: 'full-120', + where:{cstmr : 0}, cols: [[ {type: 'checkbox'} // ,{field: 'id', align: 'center',title: 'ID'} @@ -28,7 +29,7 @@ ,{field: 'model', align: 'center',title: '閫氱敤鍨嬪彿', hide: true} ,{field: 'cstmr', align: 'center',title: '瀹㈡埛', hide: true} ,{field: 'batch', align: 'center',title: '鎵瑰彿'} - ,{field: 'other', align: 'center',title: '鍏朵粬', hide: true} + ,{field: 'other', align: 'center',title: '搴撳尯'} ,{field: 'rowBeg', align: 'center',title: '寮�濮嬫帓'} ,{field: 'rowEnd', align: 'center',title: '缁撴潫鎺�'} ,{field: 'bayBeg', align: 'center',title: '寮�濮嬪垪'} @@ -103,6 +104,7 @@ break; case 'exportData': admin.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){ + layer.load(2, {time: 600*1000}); var titles=[]; var fields=[]; obj.config.cols[0].map(function (col) { @@ -166,6 +168,7 @@ layDateRender(mData); form.val('detail', mData); form.on('submit(editSubmit)', function (data) { + data.field.cstmr = 0; var loadIndex = layer.load(2); $.ajax({ url: baseUrl+"/locRule/"+(mData?'update':'add')+"/auth", -- Gitblit v1.9.1