1、去掉ry-ui.min

2、登录去掉密码显示,
3、导出调整为绝对路径
4、新增一个detail详细方法
This commit is contained in:
RuoYi
2018-09-18 17:43:31 +08:00
parent ac14519d76
commit b6048e5429
29 changed files with 126 additions and 169 deletions

View File

@ -59,10 +59,12 @@
$(function() {
var options = {
url: prefix + "/list",
detailUrl: prefix + "/detail/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
sortName: "operTime",
sortOrder: "desc",
modalName: "日志",
search: false,
showExport: false,
columns: [{
@ -123,19 +125,13 @@
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-warning btn-xs ' + detailFlag + '" href="#" onclick="detail(\'' + row.operId + '\')"><i class="fa fa-search"></i>详细</a>');
actions.push('<a class="btn btn-warning btn-xs ' + detailFlag + '" href="#" onclick="$.operate.detail(\'' + row.operId + '\')"><i class="fa fa-search"></i>详细</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
/*操作日志-详细*/
function detail(id) {
var url = prefix + '/detail/' + id;
$.modal.open("操作日志详细", url);
}
</script>
</body>
</html>