lizhen_gitee 1 år sedan
förälder
incheckning
78e0605951

+ 2 - 2
application/admin/view/egg/jackpot/add.html

@@ -18,12 +18,12 @@
 
         </div>
     </div>
-    <div class="form-group">
+    <!--<div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Tes')}:</label>
         <div class="col-xs-12 col-sm-8">
             <input id="c-tes" class="form-control" name="row[tes]" type="number" value="1">
         </div>
-    </div>
+    </div>-->
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
         <div class="col-xs-12 col-sm-8">

+ 2 - 2
application/admin/view/egg/jackpot/edit.html

@@ -18,12 +18,12 @@
 
         </div>
     </div>
-    <div class="form-group">
+    <!--<div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Tes')}:</label>
         <div class="col-xs-12 col-sm-8">
             <input id="c-tes" class="form-control" name="row[tes]" type="number" value="{$row.tes|htmlentities}">
         </div>
-    </div>
+    </div>-->
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
         <div class="col-xs-12 col-sm-8">

+ 2 - 1
public/assets/js/backend/egg/jackpot.js

@@ -22,13 +22,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                 url: $.fn.bootstrapTable.defaults.extend.index_url,
                 pk: 'id',
                 sortName: 'weigh',
+
                 columns: [
                     [
                         {checkbox: true},
                         {field: 'id', title: __('Id')},
                         {field: 'name', title: __('Name'), operate: 'LIKE'},
                         {field: 'status', title: __('Status'), searchList: {"-1":__('Status -1'),"1":__('Status 1'),"0":__('Status 0')}, formatter: Table.api.formatter.status},
-                        {field: 'tes', title: __('Tes')},
+//                        {field: 'tes', title: __('Tes')},
                         {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
                         {field: 'weigh', title: __('Weigh'), operate: false},
                         {field: 'type', title: __('Type'), searchList: {"1":__('Type 1'),"2":__('Type 2'),"3":__('Type 3')}, formatter: Table.api.formatter.normal},