From 002f10f7d38dc6791d26a69d061e6b17f9980fd0 Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期一, 24 三月 2025 19:41:36 +0800 Subject: [PATCH] 1 --- src/main/webapp/static/js/operateLog/operateLog.js | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/static/js/operateLog/operateLog.js b/src/main/webapp/static/js/operateLog/operateLog.js index 0907458..0ddd08e 100644 --- a/src/main/webapp/static/js/operateLog/operateLog.js +++ b/src/main/webapp/static/js/operateLog/operateLog.js @@ -18,16 +18,16 @@ toolbar: '#toolbar', cellMinWidth: 50, cols: [[ - {type: 'checkbox'} - ,{field: 'id', title: 'ID', sort: true,align: 'center', width: 80} - ,{field: 'action', align: 'center',title: '璁块棶鍦板潃'} - ,{field: 'userId$', align: 'center',title: '鐢ㄦ埛',event: 'userId'} + // {type: 'checkbox'} + {field: 'id', title: 'ID', sort: true,align: 'center', width: 80} + ,{field: 'userId$', align: 'center',title: '鐢ㄦ埛'} + ,{field: 'action', align: 'center',title: '鎿嶄綔鍐呭'} ,{field: 'ip', align: 'center',title: '瀹㈡埛绔疘P'} ,{field: 'request', align: 'center',title: '璇锋眰鏁版嵁'} ,{field: 'response', align: 'center',title: '鍝嶅簲鏁版嵁'} ,{field: 'createTime$', align: 'center',title: '娣诲姞鏃堕棿'} - ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150} + // ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:100} ]], request: { pageName: 'curr', @@ -144,6 +144,7 @@ break; case 'exportData': layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){ + layer.load(2, {time: 600*1000}); var titles=[]; var fields=[]; obj.config.cols[0].map(function (col) { @@ -316,7 +317,11 @@ elem: '#createTime\\$', type: 'datetime' }); - + layDate.render({ + elem: '.layui-laydate-range' + ,type: 'datetime' + ,range: true + }); }); // 鍏抽棴鍔ㄤ綔 -- Gitblit v1.9.1