支持多台服务器同时执行任务+优化页面
一个定时任务可以允许多台服务器同时执行任务,优化页面关闭并刷新列表页
This commit is contained in:
@@ -50,6 +50,12 @@
|
||||
<td>{{.taskLog.status|str2html}}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>运行服务器</td>
|
||||
<td>{{.taskLog.server_name}}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -46,12 +46,13 @@
|
||||
,url: "/tasklog/table?task_id={{.task_id}}"
|
||||
,cols: [[
|
||||
{checkbox: true, fixed: true}
|
||||
,{field:'id', title: 'ID', align:'center',sort: true, width:150}
|
||||
,{field:'task_id', title: '任务ID', align:'center',sort: true, width:150}
|
||||
// ,{field:'id', title: 'ID', align:'center',sort: true, width:150}
|
||||
,{field:'task_id', title: '任务ID', align:'center',width:100}
|
||||
,{field:'server_name', title: '服务器', width:150}
|
||||
,{field:'start_time',title: '开始时间'}
|
||||
,{field:'process_time',width:100, title: '执行时间'}
|
||||
,{field:'output_size',title: '输出'}
|
||||
,{field:'status', width:170,title: '状态'}
|
||||
,{field:'status', width:100,title: '状态'}
|
||||
,{fixed: 'right', align:'center', title:'操作', toolbar: '#bar'}
|
||||
]]
|
||||
,id: 'listReload'
|
||||
|
||||
Reference in New Issue
Block a user