| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 | 
							- @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" id="btnNew"><strong>新增</strong></button>
 -                                 </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">
 -                             <table id="GridView1" class="table table-striped table-bordered" cellspacing="0">
 -                                 <thead>
 -                                 <tr>
 -                                     <th>ID</th>
 -                                     <th>活動名稱</th>
 -                                     <th>登記發票時間</th>
 -                                     <th>開獎時間</th>
 -                                     <th>獎號</th>
 -                                     <th>觸發開獎</th>
 -                                     <th>登記領獎時間</th>
 -                                     <th>啟動驗證流程</th>
 -                                     <th>資料驗證時間</th>
 -                                     <th>獎金發放時間</th>
 -                                     <th>關閉領獎活動</th>
 -                                     <th>建立時間</th>
 -                                     <th>修改時間</th>
 -                                     <th>修改人</th>
 -                                 </tr>
 -                                 </thead>
 -                             </table>
 -                         </div>
 -                     </div>
 -                 </form>
 -                 <!-- row -->
 -             </div>
 -         </div>
 -     </div>
 - @endsection
 - 
 - @section('extjs')
 -     <script>
 -         $(document).ready(function () {
 -             var table = $('#GridView1').dataTable({
 -                 "scrollX": true,
 -                 "processing": true,
 -                 "serverSide": true,
 -                 "ajax": "activityManagement/grid",
 -                 "paging": true,
 -                 "ordering": true,
 -                 "info": true,
 -                 "order": [[1, "desc"]],
 -                 "stateSave": true,
 -                 "pagingType": "full",
 -                 "bFilter": true,
 -                 "aoColumnDefs": [{
 -                     'bSortable': false,
 -                     'aTargets': [0] //不想參加排序的欄位,可指定多個,逗號分隔
 -                 }]
 -             });
 -             // 從網址參觸發搜尋
 -             custom_search();
 -             $('#GridView1_filter').hide();
 -         });
 - 
 -         //客製化搜尋欄位
 -         function custom_search() {
 -             $('#GridView1').DataTable()
 -             ;
 -             $('#GridView1').dataTable().fnDraw(true);
 -         }
 - 
 -         // 新增
 -         $("#btnNew").click(function () {
 -             location.href = 'activityManagement/create';
 -             return false;
 -         });
 - 
 -         // 確認連結點擊
 -         function confirmUser(link) {
 -             var ask = confirm("此動作不可回復,確定嗎?");
 -             if (ask) {
 -                 window.location = link;
 -             }
 -         }
 -     </script>
 - @endsection
 
 
  |