懒羊羊
2023-09-19 3d2401cf8ea9ae3d830c0568e7751e2e8cc8db22
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_container.html",{js:["/assets/modular/bs/sysJob/sysJob.js"]}){
2
3 <div class="layui-body-header">
4     <span class="layui-body-header-title">定时任务调度表管理</span>
5 </div>
6
7 <div class="layui-fluid">
8     <div class="layui-row layui-col-space15">
9         <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
10             <div class="layui-card">
11                 <div class="layui-card-body">
12                     <div class="layui-form toolbar">
13                         <div class="layui-form-item">
14                             <div class="layui-inline">
15                                 任务名称:
16                             </div>
17                             <div class="layui-inline">
18                                 <input id="jobName" class="layui-input" type="text" placeholder="任务名称"/>
19                             </div>
20                             <div class="layui-inline">
21                                 任务状态:
22                             </div>
23                             <div class="layui-inline">
24                                 <select id="status">
25                                     <option value="">状态</option>
26                                     <option value="0">正常</option>
27                                     <option value="1">暂停</option>
28                                 </select>
29                             </div>
30                             <div class="layui-inline">
31                                 <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
32                                 <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
33                                 <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
34                             </div>
35                         </div>
36                     </div>
37                     <table class="layui-table" id="sysJobTable" lay-filter="sysJobTable"></table>
38                 </div>
39             </div>
40         </div>
41     </div>
42 </div>
43
44 <script type="text/html" id="tableBar">
45     <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
46     <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
47 </script>
48 <script type="text/html" id="stateTpl">
49     <input type="checkbox" lay-filter="status" value="{{d.id}}" lay-skin="switch" lay-text="停止|正常"
50            {{d.status=='1'?'checked':''}}/>
51 </script>
52 @}