Browse Source

后台任务调整

lizhen_gitee 1 year ago
parent
commit
1b195e814d
2 changed files with 8 additions and 8 deletions
  1. 4 4
      application/admin/view/task/edit.html
  2. 4 4
      public/assets/js/backend/task.js

+ 4 - 4
application/admin/view/task/edit.html

@@ -6,7 +6,7 @@
             <input id="c-name" data-rule="required" disabled class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
         </div>
     </div>
-    <div class="form-group">
+    <!--<div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Type_id')}:</label>
         <div class="col-xs-12 col-sm-8">
                         
@@ -17,7 +17,7 @@
             </select>
 
         </div>
-    </div>
+    </div>-->
     <!--<div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
         <div class="col-xs-12 col-sm-8">
@@ -32,7 +32,7 @@
             <ul class="row list-inline faupload-preview" id="p-image"></ul>
         </div>
     </div>-->
-    <div class="form-group">
+    <!--<div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Android_url')}:</label>
         <div class="col-xs-12 col-sm-8">
             <input id="c-android_url" class="form-control" disabled name="row[android_url]" type="text" value="{$row.android_url|htmlentities}">
@@ -61,7 +61,7 @@
         <div class="col-xs-12 col-sm-8">
             <input id="c-number" class="form-control" disabled name="row[number]" type="number" value="{$row.number|htmlentities}">
         </div>
-    </div>
+    </div>-->
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Exp')}:</label>
         <div class="col-xs-12 col-sm-8">

+ 4 - 4
public/assets/js/backend/task.js

@@ -27,12 +27,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         {checkbox: true},
                         {field: 'id', title: __('Id')},
                         {field: 'name', title: __('Name'), operate: 'LIKE'},
-                        {field: 'type_id', title: __('Type_id'), searchList: {"1":__('Type_id 1'),"2":__('Type_id 2')}, formatter: Table.api.formatter.normal},
-                        {field: 'image', title: __('Image'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
+//                        {field: 'type_id', title: __('Type_id'), searchList: {"1":__('Type_id 1'),"2":__('Type_id 2')}, formatter: Table.api.formatter.normal},
+//                        {field: 'image', title: __('Image'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
 //                        {field: 'android_url', title: __('Android_url'), operate: 'LIKE', formatter: Table.api.formatter.url},
 //                        {field: 'ios_url', title: __('Ios_url'), operate: 'LIKE', formatter: Table.api.formatter.url},
-                        {field: 'url_type', title: __('Url_type'), searchList: {"1":__('Url_type 1'),"2":__('Url_type 2')}, formatter: Table.api.formatter.normal},
-                        {field: 'number', title: __('Number')},
+//                        {field: 'url_type', title: __('Url_type'), searchList: {"1":__('Url_type 1'),"2":__('Url_type 2')}, formatter: Table.api.formatter.normal},
+//                        {field: 'number', title: __('Number')},
                         {field: 'exp', title: __('Exp')},
                         {field: 'is_show', title: __('Is_show'), searchList: {"1":__('Is_show 1'),"0":__('Is_show 0')}, formatter: Table.api.formatter.normal},
                         {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},