GGican před 8 roky
rodič
revize
5e0bfce096

+ 1 - 1
app/Http/Controllers/Admin/IndexController.php

xqd
@@ -11,7 +11,7 @@ namespace App\Http\Controllers\Admin;
     class IndexController extends CommonController{
         public function index()
         {
-            $data = Tablelist::where('status','>','0')->orderby('id','asc')->paginate(10);
+            $data = Tablelist::where('status','=','6')->orderby('id','asc')->paginate(10);
             return view('admin.index',compact('data'));
         }
 

+ 2 - 2
resources/views/admin/index.blade.php

xqd xqd
@@ -113,7 +113,7 @@
                                 <table id="example2" class="table table-hover dataTable" role="grid" aria-describedby="example2_info">
                                     <thead>
                                     <tr role="row">
-                                        <th>序号</th>
+                                        <th>ID</th>
                                         <th>姓名</th>
                                         <th>身份证</th>
                                         <th>地址</th>
@@ -148,7 +148,7 @@
                         </div>
                         <div class="row">
                             <div class="col-sm-5">
-                                <div class="dataTables_info" id="example2_info" role="status" aria-live="polite">显示 0 - 20 总计 1 </div>
+                                <div class="dataTables_info" id="example2_info" role="status" aria-live="polite">显示 0 - 10 </div>
                             </div>
                             <div class="col-sm-7">
                                 <div class="dataTables_paginate paging_simple_numbers" id="example2_paginate">

+ 1 - 1
resources/views/admin/table/on_table.blade.php

xqd
@@ -114,7 +114,7 @@
                             <table id="example2" class="table table-hover dataTable" role="grid" aria-describedby="example2_info">
                                 <thead>
                                 <tr role="row">
-                                    <th>序号</th>
+                                    <th>ID</th>
                                     <th>姓名</th>
                                     <th>身份证</th>
                                     <th>地址</th>

+ 1 - 1
resources/views/admin/user/userlist.blade.php

xqd
@@ -127,7 +127,7 @@
                                 <table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info">
                                     <thead>
                                     <tr role="row">
-                                        <th>序号</th>
+                                        <th>ID</th>
                                         <th>登录名</th>
                                         <th>职位</th>
                                         <th>单位</th>