mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 22:27:55 +08:00
优化定时任务页面
This commit is contained in:
parent
3a5088b712
commit
f4a84bc643
@ -60,11 +60,9 @@
|
||||
<th class="text-center">任务ID</th>
|
||||
<th class="text-center">任务名称</th>
|
||||
<th class="text-center">运行时间</th>
|
||||
<th class="text-center">任务类型</th>
|
||||
<th class="text-center">模板名称</th>
|
||||
<th class="text-center">创建时间</th>
|
||||
<th class="text-center">运行状态</th>
|
||||
<th class="text-center">启停状态</th>
|
||||
<th class="text-center">线程数</th>
|
||||
<th class="text-right">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -72,12 +70,10 @@
|
||||
<tr v-for="job in jobManageInfo.Jobs">
|
||||
<td class="text-center">{{job.taskId}}</td>
|
||||
<td class="text-center">{{job.taskName}}</td>
|
||||
<td class="text-center">{{job.taskTaskcron}}</td>
|
||||
<td class="text-center">{{job.taskUOrDName}}</td>
|
||||
<td class="text-center">{{job.taskCreateDate}}</td>
|
||||
<td class="text-center">{{job.taskRunState}}</td>
|
||||
<td class="text-center">{{job.taskRunState}}</td>
|
||||
<td class="text-center">{{job.taskTnum}}</td>
|
||||
<td class="text-center">{{job.taskCron}}</td>
|
||||
<td class="text-center">{{job.templateName}}</td>
|
||||
<td class="text-center">{{job.createTime}}</td>
|
||||
<td class="text-center">{{job.stateName}}</td>
|
||||
<td class="text-right">
|
||||
<div class="btn-group">
|
||||
<button class="btn-white btn btn-xs"
|
||||
@ -123,7 +119,7 @@
|
||||
</div>
|
||||
|
||||
<vc:create path="dev/addJob"></vc:create>
|
||||
<vc:create path="dev/editJob"></vc:create>
|
||||
<vc:create path="dev/deleteJob"></vc:create>
|
||||
<!-- <vc:create path="dev/editJob"></vc:create>
|
||||
<vc:create path="dev/deleteJob"></vc:create> -->
|
||||
|
||||
</div>
|
||||
@ -14,7 +14,7 @@
|
||||
conditions:{
|
||||
taskId:'',
|
||||
taskName:'',
|
||||
taskType:''
|
||||
templateId:''
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -38,14 +38,13 @@
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('jobManage',
|
||||
'list',
|
||||
vc.http.apiGet('task.listTasks',
|
||||
param,
|
||||
function(json,res){
|
||||
var _jobManageInfo=JSON.parse(json);
|
||||
vc.component.jobManageInfo.total = _jobManageInfo.total;
|
||||
vc.component.jobManageInfo.records = _jobManageInfo.records;
|
||||
vc.component.jobManageInfo.jobs = _jobManageInfo.jobs;
|
||||
vc.component.jobManageInfo.jobs = _jobManageInfo.data;
|
||||
vc.emit('pagination','init',{
|
||||
total:vc.component.jobManageInfo.records,
|
||||
currentPage:_page
|
||||
|
||||
Loading…
Reference in New Issue
Block a user