win代码上传
parent
6ea5eac763
commit
9dde794cbf
|
|
@ -37,14 +37,14 @@ public class SysDiscernController extends BaseController
|
||||||
@Autowired
|
@Autowired
|
||||||
private ISysJobService jobService;
|
private ISysJobService jobService;
|
||||||
|
|
||||||
@RequiresPermissions("monitor:job:view")
|
// @RequiresPermissions("monitor:job:view")
|
||||||
@GetMapping()
|
@GetMapping()
|
||||||
public String job()
|
public String job()
|
||||||
{
|
{
|
||||||
return prefix + "/discern";
|
return prefix + "/discern";
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequiresPermissions("monitor:job:list")
|
// @RequiresPermissions("monitor:job:list")
|
||||||
@PostMapping("/list")
|
@PostMapping("/list")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public TableDataInfo list(SysJob job)
|
public TableDataInfo list(SysJob job)
|
||||||
|
|
@ -54,8 +54,8 @@ public class SysDiscernController extends BaseController
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Log(title = "定时任务", businessType = BusinessType.EXPORT)
|
// @Log(title = "定时任务", businessType = BusinessType.EXPORT)
|
||||||
@RequiresPermissions("monitor:job:export")
|
// @RequiresPermissions("monitor:job:export")
|
||||||
@PostMapping("/export")
|
@PostMapping("/export")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public AjaxResult export(SysJob job)
|
public AjaxResult export(SysJob job)
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
<li>
|
<li>
|
||||||
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||||
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||||
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="monitor:job:export">
|
<a class="btn btn-warning" onclick="$.table.exportExcel()">
|
||||||
<i class="fa fa-download"></i> 导出
|
<i class="fa fa-download"></i> 导出
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue