mirror of https://gitee.com/stylefeng/guns
调整表格列
parent
8c62a22923
commit
84d31a8340
|
@ -23,8 +23,6 @@ layui.use(['table', 'HttpRequest', 'func', 'form'], function () {
|
||||||
{field: 'appCode', sort: true, align: "center", title: '应用编码'},
|
{field: 'appCode', sort: true, align: "center", title: '应用编码'},
|
||||||
{field: 'activeFlag', sort: true, align: "center", title: '是否激活', templet: '#activeTpl'},
|
{field: 'activeFlag', sort: true, align: "center", title: '是否激活', templet: '#activeTpl'},
|
||||||
{field: 'statusFlag', sort: true, align: "center", title: '是否启用', templet: '#statusTpl'},
|
{field: 'statusFlag', sort: true, align: "center", title: '是否启用', templet: '#statusTpl'},
|
||||||
{field: 'createTime', sort: true, align: "center", title: '创建时间'},
|
|
||||||
{field: 'updateTime', sort: true, align: "center", title: '更新时间'},
|
|
||||||
{align: 'center', toolbar: '#tableBar', title: '操作'}
|
{align: 'center', toolbar: '#tableBar', title: '操作'}
|
||||||
]];
|
]];
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,16 +19,6 @@ layui.use(['table', 'form', 'func', 'HttpRequest', 'util'], function () {
|
||||||
{field: 'positionName', sort: true, title: '职位名称'},
|
{field: 'positionName', sort: true, title: '职位名称'},
|
||||||
{field: 'positionCode', sort: true, title: '职位编码'},
|
{field: 'positionCode', sort: true, title: '职位编码'},
|
||||||
{field: 'positionRemark', sort: true, title: '备注'},
|
{field: 'positionRemark', sort: true, title: '备注'},
|
||||||
{
|
|
||||||
field: 'createTime', sort: true, title: '创建时间', templet: function (d) {
|
|
||||||
return util.toDateString(d.createTime);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
field: 'updateTime', sort: true, title: '更新时间', templet: function (d) {
|
|
||||||
return d.updateTime == null ? '' : util.toDateString(d.updateTime);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{field: 'statusFlag', sort: true, templet: '#statusTpl', title: '状态'},
|
{field: 'statusFlag', sort: true, templet: '#statusTpl', title: '状态'},
|
||||||
{align: 'center', toolbar: '#tableBar', title: '操作'}
|
{align: 'center', toolbar: '#tableBar', title: '操作'}
|
||||||
]];
|
]];
|
||||||
|
|
|
@ -18,13 +18,9 @@ layui.use(['table', 'admin', 'form', 'func', 'HttpRequest', 'dropdown'], functio
|
||||||
{field: 'timerId', hide: true, title: '主键id'},
|
{field: 'timerId', hide: true, title: '主键id'},
|
||||||
{field: 'timerName', sort: true, title: '任务名称'},
|
{field: 'timerName', sort: true, title: '任务名称'},
|
||||||
{field: 'cron', sort: true, title: 'cron表达式'},
|
{field: 'cron', sort: true, title: 'cron表达式'},
|
||||||
{field: 'jobStatus', sort: true, templet: '#statusTpl', title: '状态'},
|
|
||||||
{field: 'actionClass', sort: true, title: '任务class'},
|
{field: 'actionClass', sort: true, title: '任务class'},
|
||||||
{field: 'remark', sort: true, title: '备注信息'},
|
{field: 'remark', sort: true, title: '备注信息'},
|
||||||
{field: 'createUser', sort: true, title: '创建人'},
|
{field: 'jobStatus', sort: true, templet: '#statusTpl', title: '状态'},
|
||||||
{field: 'updateUser', sort: true, title: '修改人'},
|
|
||||||
{field: 'createTime', sort: true, title: '创建时间'},
|
|
||||||
{field: 'updateTime', sort: true, title: '修改时间'},
|
|
||||||
{align: 'center', toolbar: '#tableBar', title: '操作'}
|
{align: 'center', toolbar: '#tableBar', title: '操作'}
|
||||||
]];
|
]];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue