|
@@ -0,0 +1,52 @@
|
|
|
+{extend name='admin@main'}
|
|
|
+{block name="content"}
|
|
|
+<div class="think-box-shadow">
|
|
|
+ {include file='level_log/index_search'}
|
|
|
+ <table class="layui-table margin-top-10" lay-skin="line">
|
|
|
+ {notempty name='list'}
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th class='text-left nowrap'>头像</th>
|
|
|
+ <th class='text-left nowrap'>名称</th>
|
|
|
+ <th class='text-left nowrap'>变更等级</th>
|
|
|
+ <th class='text-left nowrap'>描述</th>
|
|
|
+ <th class="text-center nowrap">时间</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ {/notempty}
|
|
|
+ <tbody>
|
|
|
+ {foreach $list as $key=>$vo}
|
|
|
+ <tr>
|
|
|
+ <td class='list-table-check-td think-checkbox'>{notempty name='vo.headimg'}<img data-tips-image style="width:20px;height:20px;vertical-align:top" src="{$vo.headimg|default=''}" class="margin-right-5">{/notempty}</td>
|
|
|
+ <td class='text-left nowrap'>{$vo.name|default='--'}</td>
|
|
|
+ <td class='text-left nowrap'>{$vo.lev_name|default='--'}</td>
|
|
|
+ <td class='text-left nowrap'>{$vo.desc|default='--'}</td>
|
|
|
+ <td class='text-center nowrap'>{$vo.create_at}</td>
|
|
|
+ </tr>
|
|
|
+ {/foreach}
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
|
|
|
+</div>
|
|
|
+<script>
|
|
|
+ function btn_confirm(msg,fun,id) {
|
|
|
+ layer.confirm('请确定是否'+msg, {btn: ['确定', '取消'], title: "提示"}, function () {
|
|
|
+ var url = "/store/integral/"+fun;
|
|
|
+ layer.closeAll();
|
|
|
+ $.ajax({
|
|
|
+ type: "post",
|
|
|
+ url: url,
|
|
|
+ data: {id:id},
|
|
|
+ dataType: "json",
|
|
|
+ async: false,
|
|
|
+ success: function (data) {
|
|
|
+ layer.msg(data.info);
|
|
|
+ setTimeout(function () {
|
|
|
+ window.location.reload();
|
|
|
+ },1000)
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+</script>
|
|
|
+{/block}
|