@layout("/common/_container.html",{js:["/assets/modular/sys/codingRule/codingRule.js"]}){
|
|
<div class="layui-body-header">
|
<span class="layui-body-header-title">编码规则管理</span>
|
</div>
|
|
<div class="layui-fluid">
|
<div class="layui-row layui-col-space15">
|
<div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
|
<div class="layui-card">
|
<div class="layui-card-body">
|
<div class="layui-form toolbar">
|
<div class="layui-form-item">
|
<div class="layui-inline">
|
规则编号
|
</div>
|
<div class="layui-inline">
|
<input id="codingRuleCode" class="layui-input" type="text" placeholder="规则编号"/>
|
</div>
|
<div class="layui-inline">
|
规则描述
|
</div>
|
<div class="layui-inline">
|
<input id="codingRuleDesc" class="layui-input" type="text" placeholder="规则描述"/>
|
</div>
|
<div class="layui-inline">
|
规则前缀
|
</div>
|
<div class="layui-inline">
|
<input id="codingRulePrefix" class="layui-input" type="text" placeholder="规则前缀"/>
|
</div>
|
<div class="layui-inline">
|
启用日期
|
</div>
|
<div class="layui-inline">
|
<!-- <input id="enableDate" class="layui-input" type="text" placeholder="启用日期"/>-->
|
<select name="enableDate" id="enableDate">
|
<option value="">请选择启用日期</option>
|
<option value="0">否</option>
|
<option value="1">是</option>
|
</select>
|
</div>
|
<div class="layui-inline">
|
<button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon"></i>搜索</button>
|
<button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon"></i>添加</button>
|
<button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon"></i>导出</button>
|
</div>
|
</div>
|
</div>
|
<table class="layui-table" id="codingRuleTable" lay-filter="codingRuleTable"></table>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
|
<script type="text/html" id="tableBar">
|
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
|
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
|
</script>
|
|
<script type="text/html" id="enableDateTpl">
|
{{# if(d.enableDate == 0){ }}
|
<!-- <a class="layui-btn layui-btn-primary layui-btn-xs" >未开始</a>-->
|
<span style="color: #130c0e;">否</span>
|
{{# } else if(d.enableDate == 1){ }}
|
<!-- <a class="layui-btn layui-btn-primary layui-btn-xs" >已解冻</a>-->
|
<span style="color: #130c0e;">是</span>
|
{{# } else { }}
|
{{# } }}
|
|
</script>
|
@}
|