自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-13 ca43ecdc1691b071de7e6b0b0f97986fbad4ad46
src/main/webapp/static/js/operateLog/operateLog.js
@@ -13,15 +13,15 @@
        url: baseUrl+'/operateLog/list/auth',
        page: true,
        limit: 16,
        // even: true,
        even: true,
        toolbar: '#toolbar',
        cellMinWidth: 50,
        cols: [[
            {type: 'checkbox', fixed: 'left'}
            ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
            {type: 'checkbox'}
            ,{field: 'id', title: 'ID', sort: true,align: 'center', width: 80}
            ,{field: 'action', align: 'center',title: '访问地址'}
            ,{field: 'userId$', align: 'center',title: '用户',event: 'userId', style: 'text-decoration: underline;cursor:pointer'}
            ,{field: 'ip',  edit:'text', align: 'center',title: '客户端IP'}
            ,{field: 'userId$', align: 'center',title: '用户',event: 'userId'}
            ,{field: 'ip', edit:'text', align: 'center',title: '客户端IP'}
            ,{field: 'request', align: 'center',title: '请求数据'}
            ,{field: 'response', align: 'center',title: '响应数据'}
            ,{field: 'createTime$', align: 'center',title: '添加时间'}
@@ -45,7 +45,7 @@
        },
        done: function(res, curr, count) {
            if (res.code === 403) {
                top.location.href = "/";
                top.location.href = baseUrl+"/";
            }
            pageCurr=curr;
            limit();
@@ -77,7 +77,7 @@
            },
            done: function (res, curr, count) {
                if (res.code === 403) {
                    top.location.href = "/";
                    top.location.href = baseUrl+"/";
                }
                pageCurr=curr;
                limit();
@@ -132,7 +132,7 @@
                                    layer.closeAll();
                                    tableReload(false);
                                } else if (res.code === 403){
                                    top.location.href = "/";
                                    top.location.href = baseUrl+"/";
                                } else {
                                    layer.msg(res.msg)
                                }
@@ -171,7 +171,7 @@
                            if (res.code === 200) {
                                table.exportFile(titles,res.data,'xls');
                            } else if (res.code === 403) {
                                top.location.href = "/";
                                top.location.href = baseUrl+"/";
                            } else {
                                layer.msg(res.msg)
                            }
@@ -288,7 +288,7 @@
                        $(this).val("");
                    });
                } else if (res.code === 403){
                    top.location.href = "/";
                    top.location.href = baseUrl+"/";
                }else {
                    layer.msg(res.msg)
                }
@@ -335,7 +335,7 @@
        },
        done: function (res, curr, count) {
            if (res.code === 403) {
                top.location.href = "/";
                top.location.href = baseUrl+"/";
            }
            pageCurr=curr;
            if (res.data.length === 0 && count !== 0) {