|
|
@@ -29,6 +29,9 @@
|
|
|
<button type="button" class="layui-btn layui-btn-xs layui-btn-normal" lay-event='join'>
|
|
|
参加名单
|
|
|
</button>
|
|
|
+ <button type="button" class="layui-btn layui-btn-xs layui-btn-normal" lay-event='join_export'>
|
|
|
+ 导出名单
|
|
|
+ </button>
|
|
|
</script>
|
|
|
<script type="text/html" id="status">
|
|
|
{{# if(d.status == 1){ }}
|
|
|
@@ -49,13 +52,13 @@
|
|
|
layList.tableList('List', "{:Url('groupList')}", function () {
|
|
|
return [
|
|
|
{field: 'id', title: 'ID', sort: true, event: 'id', width: '5%'},
|
|
|
- {field: 'title', title: '活动标题', width: '20%'},
|
|
|
- {field: '_start_time', title: '开始时间', width: '15%'},
|
|
|
- {field: '_end_time', title: '结束时间', width: '15%'},
|
|
|
- {field: '_add_time', title: '添加时间', width: '15%'},
|
|
|
- {field: 'status', toolbar: '#status', title: '状态', width: '5%'},
|
|
|
+ {field: 'title', title: '活动标题', width: '25%'},
|
|
|
+ {field: '_start_time', title: '开始时间', width: '12%'},
|
|
|
+ {field: '_end_time', title: '结束时间', width: '12%'},
|
|
|
+ {field: '_add_time', title: '添加时间', width: '12%'},
|
|
|
+ {field: 'status', toolbar: '#status', title: '状态', width: '9%'},
|
|
|
{field: 'visit', title: '访问量', width: '5%'},
|
|
|
- {field: 'right', title: '操作', align: 'center', toolbar: '#act', width: '20%'},
|
|
|
+ {field: 'right', title: '操作', align: 'center', toolbar: '#act', width: '25%'},
|
|
|
];
|
|
|
});
|
|
|
//点击事件绑定
|
|
|
@@ -100,6 +103,9 @@
|
|
|
w: 1250
|
|
|
});
|
|
|
break;
|
|
|
+ case 'export':
|
|
|
+ window.location = layList.U({a: 'joinList', q: {id: data.id, export: 1}})
|
|
|
+ break;
|
|
|
}
|
|
|
})
|
|
|
</script>
|