yantian yue
2023-10-18 f4a3430eb6b6800d4ef7330293dd8fb834eee196
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_container.html",{js:["/assets/modular/sys/codingRule/codingRule.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="codingRuleCode" class="layui-input" type="text" placeholder="规则编号"/>
19                             </div>
20                             <div class="layui-inline">
21                                 规则描述
22                             </div>
23                             <div class="layui-inline">
24                                 <input id="codingRuleDesc" class="layui-input" type="text" placeholder="规则描述"/>
25                             </div>
26                             <div class="layui-inline">
27                                 规则前缀
28                             </div>
29                             <div class="layui-inline">
30                                 <input id="codingRulePrefix" class="layui-input" type="text" placeholder="规则前缀"/>
31                             </div>
32                             <div class="layui-inline">
33                                 启用日期
34                             </div>
35                             <div class="layui-inline">
36 <!--                                <input id="enableDate" class="layui-input" type="text" placeholder="启用日期"/>-->
37                                 <select name="enableDate" id="enableDate">
38                                     <option value="">请选择启用日期</option>
39                                     <option value="0">否</option>
40                                     <option value="1">是</option>
41                                 </select>
42                             </div>
43                             <div class="layui-inline">
44                                 <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
45                                 <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
46                                 <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
47                             </div>
48                         </div>
49                     </div>
50                     <table class="layui-table" id="codingRuleTable" lay-filter="codingRuleTable"></table>
51                 </div>
52             </div>
53         </div>
54     </div>
55 </div>
56
57 <script type="text/html" id="tableBar">
58     <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
59     <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
60 </script>
61
62 <script type="text/html" id="enableDateTpl">
63     {{#  if(d.enableDate == 0){ }}
64     <!-- <a class="layui-btn layui-btn-primary layui-btn-xs" >未开始</a>-->
65     <span style="color: #130c0e;">否</span>
66     {{#  } else if(d.enableDate == 1){ }}
67     <!-- <a class="layui-btn layui-btn-primary layui-btn-xs" >已解冻</a>-->
68     <span style="color: #130c0e;">是</span>
69     {{#  } else { }}
70     {{#  } }}
71
72 </script>
73 @}