|
|
@@ -0,0 +1,61 @@
|
|
|
+{extend name="public/container"}
|
|
|
+{block name="head_top"}
|
|
|
+
|
|
|
+{/block}
|
|
|
+{block name="content"}
|
|
|
+<div class="layui-fluid" style="background: #fff;margin-top: -10px;">
|
|
|
+ <div class="layui-row layui-col-space15">
|
|
|
+ <div class="layui-col-md12">
|
|
|
+ <div class="layui-card">
|
|
|
+ <!-- <div class="layui-card-header">门店列表</div>-->
|
|
|
+ <div class="layui-card-body">
|
|
|
+ <table class="layui-hide" id="List" lay-filter="List"></table>
|
|
|
+
|
|
|
+ <script type="text/html" id="act">
|
|
|
+ {{# if(d.status == 0 ) }}
|
|
|
+ <button type="button" class="layui-btn layui-btn-xs layui-btn-normal" lay-event='edit'>
|
|
|
+ 确认证书
|
|
|
+ </button>
|
|
|
+ {{# } else { }}
|
|
|
+ 暂无操作
|
|
|
+ {{# } }}
|
|
|
+ </script>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<script src="{__ADMIN_PATH}js/layuiList.js"></script>
|
|
|
+{/block}
|
|
|
+{block name="script"}
|
|
|
+<script>
|
|
|
+ layList.tableList('List', "{:Url('groupList')}", function () {
|
|
|
+ return [
|
|
|
+ {field: 'id', title: 'ID', sort: true, event: 'id', width: '10%'},
|
|
|
+ {field: 'name', title: '姓名', width: '10%'},
|
|
|
+ {field: 'gender', title: '性别', width: '60%'},
|
|
|
+ {field: 'idcard', title: '身份证号码', width: '60%'},
|
|
|
+ {field: 'job', title: '职业', width: '60%'},
|
|
|
+ {field: 'photo', title: '照片', width: '60%'},
|
|
|
+ {field: 'level_text', title: '等级', width: '60%'},
|
|
|
+ {field: 'code', title: '编码', width: '60%'},
|
|
|
+ {field: 'add_time', title: '提交时间', width: '60%'},
|
|
|
+ {field: 'right', title: '操作', align: 'center', toolbar: '#act', width: '10%'},
|
|
|
+ ];
|
|
|
+ });
|
|
|
+ //点击事件绑定
|
|
|
+ layList.tool(function (event, data, obj) {
|
|
|
+ switch (event) {
|
|
|
+ case 'open_image':
|
|
|
+ $eb.openImage(data.photo);
|
|
|
+ break;
|
|
|
+ case 'edit':
|
|
|
+ $eb.createModalFrame(data.name + '-确认', layList.U({a: 'check', q: {id: data.id}}), {
|
|
|
+ h: 550,
|
|
|
+ w: 720
|
|
|
+ });
|
|
|
+ break;
|
|
|
+ }s
|
|
|
+ })
|
|
|
+</script>
|
|
|
+{/block}
|