修正一些页面问题&&增加一些测试数据

This commit is contained in:
郝大全
2018-07-15 17:18:47 +08:00
parent 0aa4c2aa6e
commit fd1c12297a
7 changed files with 30 additions and 52 deletions

View File

@@ -116,7 +116,8 @@
$.post('{{urlfor "TaskController.AjaxSave"}}', form_data, function (out) {
if (out.status == 0) {
layer.msg("操作成功,可去【任务审核】中查看该任务",{icon: 1},function () {
window.location.href="/task/auditlist"
//window.location.href="/task/list"
window.history.go(-1)
})
} else {
layer.msg(out.message)

View File

@@ -53,13 +53,13 @@
,cols: [[
{checkbox: true, fixed: true},
{field:'id', title: 'ID', align:'center',sort: true, width:50}
,{field:'task_name',title: '任务名称'}
,{field:'task_name',width:300, title: '任务名称'}
,{field:'description',title: '任务说明'}
,{field:'next_time', width:170,title: '下次执行时间'}
,{field:'pre_time', width:170,title: '上次执行时间'}
,{field:'pre_time', title: '上次执行时间'}
,{field:'execute_times', width:70,title: '次数'}
,{fixed: 'right', width:260, align:'center', title:'操作', toolbar: '#bar'}
,{fixed: 'right', width:200, align:'center', title:'操作', toolbar: '#bar'}
]]
,id: 'listReload'
,page: true