123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- @extends('admin.master')
-
- @section('content')
- <div class="row">
- <div class="col-lg-12">
- <div class="contentpanel">
- <form id="listForm" method="post">
- <!-- 功能按鈕(新增/批量處理等等) -->
- <div class="row" style="margin-bottom: 5px;">
- <div class="col-lg-12">
- <ol class="headermenu">
- <li>
- <button class="btn btn-darkblue btn-xs" onclick="window.print(); return false;">列印此頁</button>
- <a class="btn btn-darkblue btn-xs" id="GV_tround_nav" href="#GV_tround_anc"><strong>回合</strong></a>
- <a class="btn btn-darkblue btn-xs" id="GV_tcheckin_nav" href="#GV_tcheckin_anc"><strong>簽到贈點</strong></a>
- <a class="btn btn-darkblue btn-xs" id="GV_tgood_nav" href="#GV_tgood_anc"><strong>獎項</strong></a>
- </li>
- </ol>
- </div>
- </div>
- <!-- 搜尋段 -->
- <div class="panel panel-default">
- <div class="panel-heading" data-toggle="collapse" data-target="#search_content">
- <h3 class="panel-title">遊戲參數審核</h3>
- </div>
- <div id="search_content" class="collapse in">
- <div class="panel-body">
- </div>
- </div>
- </div>
- <hr class="search-hr"/>
- <!-- 列表段 -->
- <div class="row">
- <div class="col-lg-12">
- 相同一筆設定,若有分上下兩部分:<br>
- 上排代表目前修改中的最新設定,在審核通過前都不會生效。<br>
- 下排代表目前經審核通過的線上設定。
- </div>
- <div class="col-lg-12">
- <div id="GV_tround_anc">
- <h3>回合</h3>
- </div>
- <table id="GV_tround" class="table table-striped table-bordered" cellspacing="0">
- <thead>
- <tr>
- <th>審核</th>
- <th>ID</th>
- <th>回合名稱</th>
- <th>起日</th>
- <th>迄日</th>
- <th>兌獎延長天數</th>
- <th>有效否</th>
- <th>建立時間</th>
- <th>修改時間</th>
- <th>修改人</th>
- </tr>
- </thead>
- </table>
- <hr>
- <div id="GV_tcheckin_anc">
- <h3>簽到贈點</h3>
- </div>
- <table id="GV_tcheckin" class="table table-striped table-bordered" cellspacing="0">
- <thead>
- <tr>
- <th>審核</th>
- <th>ID</th>
- <th>滿幾天</th>
- <th>吉點</th>
- <th>建立時間</th>
- <th>修改時間</th>
- <th>修改人</th>
- </tr>
- </thead>
- </table>
- <hr>
- <div id="GV_tgood_anc">
- <h3>獎項</h3>
- </div>
- <table id="GV_tgood" class="table table-striped table-bordered" cellspacing="0">
- <thead>
- <tr>
- <th>審核</th>
- <th>ID</th>
- <th>LINE POINT</th>
- <th>機率</th>
- <th>有效否</th>
- <th>共可發數量</th>
- <th>已發數量</th>
- <th>建立時間</th>
- <th>修改時間</th>
- <th>修改人</th>
- </tr>
- </thead>
- </table>
- <hr>
- </div>
- </div>
- </form>
- <!-- row -->
- </div>
- </div>
- </div>
- @endsection
-
- @section('extjs')
- <script>
- $(document).ready(function () {
- $('#GV_tround').dataTable({
- "scrollX": true,
- "processing": true,
- "serverSide": true,
- "ajax": "tauditManagement/grid/tround",
- "paging": true,
- "ordering": true,
- "info": true,
- "order": [[1, "desc"]],
- "stateSave": true,
- "pagingType": "full",
- "bFilter": true,
- "aoColumnDefs": [{
- 'bSortable': false,
- 'aTargets': [0] //不想參加排序的欄位,可指定多個,逗號分隔
- }]
- });
- $('#GV_tcheckin').dataTable({
- "scrollX": true,
- "processing": true,
- "serverSide": true,
- "ajax": "tauditManagement/grid/tcheckin",
- "paging": true,
- "ordering": true,
- "info": true,
- "order": [[1, "desc"]],
- "stateSave": true,
- "pagingType": "full",
- "bFilter": true,
- "aoColumnDefs": [{
- 'bSortable': false,
- 'aTargets': [0] //不想參加排序的欄位,可指定多個,逗號分隔
- }]
- });
- $('#GV_tgood').dataTable({
- "scrollX": true,
- "processing": true,
- "serverSide": true,
- "ajax": "tauditManagement/grid/tgood",
- "paging": true,
- "ordering": true,
- "info": true,
- "order": [[1, "desc"]],
- "stateSave": true,
- "pagingType": "full",
- "bFilter": true,
- "aoColumnDefs": [{
- 'bSortable': false,
- 'aTargets': [0] //不想參加排序的欄位,可指定多個,逗號分隔
- }]
- });
- // 從網址參觸發搜尋
- custom_search();
- $('#GV_tround_filter').hide();
- $('#GV_tcheckin_filter').hide();
- $('#GV_tgood_filter').hide();
- });
-
- //客製化搜尋欄位
- function custom_search() {
- $('#GV_tround').DataTable();
- $('#GV_tround').dataTable().fnDraw(true);
- $('#GV_tcheckin').DataTable();
- $('#GV_tcheckin').dataTable().fnDraw(true);
- $('#GV_tgood').DataTable();
- $('#GV_tgood').dataTable().fnDraw(true);
- }
-
- </script>
- @endsection
|