小胡
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
51 additions and
10 deletions
-
admin/systemlog/template/lyear/list.htm
-
core/core_version.php
-
dzz/comment/template/list.htm
-
dzz/filemanage/template/lyear/list.htm
-
dzz/share/template/lyear/share.htm
|
|
@ -33,6 +33,7 @@ |
|
|
|
<script type="text/html" id="toolbar"> |
|
|
|
<div class="layui-btn-container"> |
|
|
|
<button type="button" class="layui-btn layui-btn-normal" lay-event="getCheckData">获取选中行数据</button> |
|
|
|
<button type="button" class="layui-btn layui-btn-normal" lay-event="get">刷新</button> |
|
|
|
</div> |
|
|
|
</script> |
|
|
|
<script type="text/html" id="barDemo"> |
|
|
@ -44,12 +45,14 @@ |
|
|
|
</main> |
|
|
|
<script src="static/lyear/js/layui/layui.js"></script> |
|
|
|
<script> |
|
|
|
var operation = '{$_GET['operation']}'; |
|
|
|
layui.use('table', function(){ |
|
|
|
var table = layui.table; |
|
|
|
table.render({ |
|
|
|
elem: '#table', |
|
|
|
url: '{MOD_URL}&do=getinfo', |
|
|
|
toolbar: '#toolbar', |
|
|
|
where: {operation: operation}, |
|
|
|
title: '系统日志数据表格', |
|
|
|
text: { |
|
|
|
none: '暂无相关数据' |
|
|
@ -111,6 +114,14 @@ layui.use('table', function(){ |
|
|
|
btn: ['确定'] |
|
|
|
}); |
|
|
|
break; |
|
|
|
case 'get': |
|
|
|
layui.table.reload('table', { |
|
|
|
where: {operation: operation}, // 清空搜索参数 |
|
|
|
page: { |
|
|
|
curr: 1 //重新从第 1 页开始 |
|
|
|
} |
|
|
|
}); |
|
|
|
break; |
|
|
|
}; |
|
|
|
}); |
|
|
|
//监听工具条 |
|
|
@ -165,7 +176,7 @@ layui.use('table', function(){ |
|
|
|
$('#keyword').val(''); |
|
|
|
// 刷新表格 |
|
|
|
table.reload('table', { |
|
|
|
where: {}, // 清空搜索参数 |
|
|
|
where: {operation: operation}, // 清空搜索参数 |
|
|
|
page: { |
|
|
|
curr: 1 //重新从第 1 页开始 |
|
|
|
} |
|
|
|
|
|
@ -13,5 +13,5 @@ if(!defined('IN_DZZ')) { |
|
|
|
if(!defined('CORE_VERSION')) { |
|
|
|
define('CORE_VERSION', '2.3.2'); |
|
|
|
define('CORE_RELEASE', '20250101'); |
|
|
|
define('CORE_FIXBUG' , '21000000'); |
|
|
|
define('CORE_FIXBUG' , '23200000'); |
|
|
|
} |
|
|
@ -30,6 +30,7 @@ |
|
|
|
<div class="layui-btn-container"> |
|
|
|
<button type="button" class="layui-btn layui-btn-normal" lay-event="getCheckData">获取选中行数据</button> |
|
|
|
<button type="button" class="layui-btn layui-btn-danger" lay-event="delete">{lang delete}</button> |
|
|
|
<button type="button" class="layui-btn layui-btn-normal" lay-event="get">刷新</button> |
|
|
|
</div> |
|
|
|
</script> |
|
|
|
<script type="text/html" id="barDemo"> |
|
|
@ -44,6 +45,7 @@ |
|
|
|
</main> |
|
|
|
<script src="static/lyear/js/layui/layui.js"></script> |
|
|
|
<script> |
|
|
|
var type = ''; |
|
|
|
layui.use('table', function(){ |
|
|
|
var table = layui.table; |
|
|
|
table.render({ |
|
|
@ -160,6 +162,14 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
case 'get': |
|
|
|
layui.table.reload('table', { |
|
|
|
where: {type: type}, // 清空搜索参数 |
|
|
|
page: { |
|
|
|
curr: 1 //重新从第 1 页开始 |
|
|
|
} |
|
|
|
}); |
|
|
|
break; |
|
|
|
}; |
|
|
|
}); |
|
|
|
//监听工具条 |
|
|
@ -250,7 +260,7 @@ |
|
|
|
$('#keyword').val(''); |
|
|
|
// 刷新表格 |
|
|
|
table.reload('table', { |
|
|
|
where: {}, // 清空搜索参数 |
|
|
|
where: {type: type}, // 清空搜索参数 |
|
|
|
page: { |
|
|
|
curr: 1 //重新从第 1 页开始 |
|
|
|
} |
|
|
@ -268,7 +278,7 @@ |
|
|
|
type = $(this).data('type'); |
|
|
|
// 刷新表格并传递 operation 参数 |
|
|
|
table.reload('table', { |
|
|
|
where: {type: type }, |
|
|
|
where: {type: type}, |
|
|
|
page: { |
|
|
|
curr: 1 //重新从第 1 页开始 |
|
|
|
} |
|
|
|
|
|
@ -62,6 +62,7 @@ |
|
|
|
<div class="layui-btn-container"> |
|
|
|
<button type="button" class="layui-btn layui-btn-normal" lay-event="getCheckData">获取选中行数据</button> |
|
|
|
<button type="button" class="layui-btn layui-btn-danger" lay-event="delete">{lang delete}</button> |
|
|
|
<button type="button" class="layui-btn layui-btn-normal" lay-event="get">刷新</button> |
|
|
|
</div> |
|
|
|
</script> |
|
|
|
<script type="text/html" id="barDemo"> |
|
|
@ -76,6 +77,7 @@ |
|
|
|
</main> |
|
|
|
<script src="static/lyear/js/layui/layui.js"></script> |
|
|
|
<script> |
|
|
|
var type = ''; |
|
|
|
layui.use('table', function(){ |
|
|
|
var table = layui.table; |
|
|
|
table.render({ |
|
|
@ -201,6 +203,14 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
case 'get': |
|
|
|
layui.table.reload('table', { |
|
|
|
where: {type: type}, // 清空搜索参数 |
|
|
|
page: { |
|
|
|
curr: 1 //重新从第 1 页开始 |
|
|
|
} |
|
|
|
}); |
|
|
|
break; |
|
|
|
}; |
|
|
|
}); |
|
|
|
//监听工具条 |
|
|
@ -327,7 +337,7 @@ |
|
|
|
$('#orgid_{$org[orgid]}_Menu').text('$org[depart]'); |
|
|
|
// 刷新表格 |
|
|
|
table.reload('table', { |
|
|
|
where: {}, // 清空搜索参数 |
|
|
|
where: {type: type}, // 清空搜索参数 |
|
|
|
page: { |
|
|
|
curr: 1 //重新从第 1 页开始 |
|
|
|
} |
|
|
|
|
|
@ -40,6 +40,7 @@ |
|
|
|
<button type="button" class="layui-btn layui-btn-danger" lay-event="delete">{lang del_share}</button> |
|
|
|
<!--{if $_G['adminid']}--><button type="button" class="layui-btn layui-bg-orange" lay-event="forbidden">{lang screen_share}</button> |
|
|
|
<button type="button" class="layui-btn layui-bg-blue" lay-event="allow">{lang cancel_shielding}</button><!--{/if}--> |
|
|
|
<button type="button" class="layui-btn layui-btn-normal" lay-event="get">刷新</button> |
|
|
|
</div> |
|
|
|
</script> |
|
|
|
<script type="text/html" id="barDemo"> |
|
|
@ -52,6 +53,7 @@ |
|
|
|
</main> |
|
|
|
<script src="static/lyear/js/layui/layui.js"></script> |
|
|
|
<script> |
|
|
|
var type = ''; |
|
|
|
layui.use('table', function(){ |
|
|
|
var table = layui.table; |
|
|
|
table.render({ |
|
|
@ -235,6 +237,14 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
case 'get': |
|
|
|
layui.table.reload('table', { |
|
|
|
where: {type: type}, // 清空搜索参数 |
|
|
|
page: { |
|
|
|
curr: 1 //重新从第 1 页开始 |
|
|
|
} |
|
|
|
}); |
|
|
|
break; |
|
|
|
}; |
|
|
|
}); |
|
|
|
//监听工具条 |
|
|
@ -319,7 +329,7 @@ |
|
|
|
$('#keyword').val(''); |
|
|
|
// 刷新表格 |
|
|
|
table.reload('table', { |
|
|
|
where: {}, // 清空搜索参数 |
|
|
|
where: {type: type}, // 清空搜索参数 |
|
|
|
page: { |
|
|
|
curr: 1 //重新从第 1 页开始 |
|
|
|
} |
|
|
@ -338,7 +348,7 @@ |
|
|
|
type = $(this).data('type'); |
|
|
|
// 刷新表格并传递 operation 参数 |
|
|
|
table.reload('table', { |
|
|
|
where: {type: type }, |
|
|
|
where: {type: type}, |
|
|
|
page: { |
|
|
|
curr: 1 //重新从第 1 页开始 |
|
|
|
} |
|
|
|