贾小兵 2 днів тому
батько
коміт
ffe6f23319

+ 6 - 6
application/admin/view/department/index/add.html

@@ -28,12 +28,12 @@
 <!--        </div>-->
 <!--    </div>-->
 
-    <div class="form-group tf tf-channel tf-list">
-        <label for="c-weigh" class="control-label col-xs-12 col-sm-2">{:__('weigh')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="50" min="0" max="999999999">
-        </div>
-    </div>
+<!--    <div class="form-group tf tf-channel tf-list">-->
+<!--        <label for="c-weigh" class="control-label col-xs-12 col-sm-2">{:__('weigh')}:</label>-->
+<!--        <div class="col-xs-12 col-sm-8">-->
+<!--            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="50" min="0" max="999999999">-->
+<!--        </div>-->
+<!--    </div>-->
 
 
 

+ 6 - 6
application/admin/view/department/index/edit.html

@@ -28,12 +28,12 @@
 <!--        </div>-->
 <!--    </div>-->
 
-    <div class="form-group tf tf-channel tf-list">
-        <label for="c-weigh" class="control-label col-xs-12 col-sm-2">{:__('weigh')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh}" min="0" max="999999999">
-        </div>
-    </div>
+<!--    <div class="form-group tf tf-channel tf-list">-->
+<!--        <label for="c-weigh" class="control-label col-xs-12 col-sm-2">{:__('weigh')}:</label>-->
+<!--        <div class="col-xs-12 col-sm-8">-->
+<!--            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh}" min="0" max="999999999">-->
+<!--        </div>-->
+<!--    </div>-->
 
 
 

+ 2 - 2
application/admin/view/general/database/index.html

@@ -111,7 +111,7 @@
     <table id="dt_basic" class="table table-striped table-bordered table-hover" width="100%" style="min-width:600px;">
         <thead>
         <tr>
-            <th>ID</th>
+<!--            <th>ID</th>-->
             <th>{:__('File')}</th>
             <th>{:__('Size')}</th>
             <th>{:__('Date')}</th>
@@ -121,7 +121,7 @@
         <tbody>
         <%for (var i=0;i<backuplist.length;i++){%>
         <tr>
-            <td><%=i+1%></td>
+<!--            <td><%=i+1%></td>-->
             <td><%=backuplist[i].file%></td>
             <td><%=backuplist[i].size%></td>
             <td><%=backuplist[i].date%></td>

+ 14 - 14
public/assets/js/backend/department/index.js

@@ -37,20 +37,20 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
 
                         {field: 'name', title: __('Name'), align: 'left'},
 
-                        {
-                            field: 'weigh',
-                            title: __('Weigh'),
-                            // formatter: function (value, row, index) {
-                            //     return '<input type="text" class="form-control text-center text-weigh" data-id="' + row.id + '" value="' + value + '" style="width:50px;margin:0 auto;" />';
-                            // },
-                            // events: {
-                            //     "dblclick .text-weigh": function (e) {
-                            //         e.preventDefault();
-                            //         e.stopPropagation();
-                            //         return false;
-                            //     }
-                            // }
-                        },
+                        // {
+                        //     field: 'weigh',
+                        //     title: __('Weigh'),
+                        //     // formatter: function (value, row, index) {
+                        //     //     return '<input type="text" class="form-control text-center text-weigh" data-id="' + row.id + '" value="' + value + '" style="width:50px;margin:0 auto;" />';
+                        //     // },
+                        //     // events: {
+                        //     //     "dblclick .text-weigh": function (e) {
+                        //     //         e.preventDefault();
+                        //     //         e.stopPropagation();
+                        //     //         return false;
+                        //     //     }
+                        //     // }
+                        // },
                         {
                             field: 'createtime',
                             title: __('Createtime'),

+ 1 - 1
public/assets/js/backend/teacher/exams.js

@@ -71,7 +71,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','editable'], function
             //在普通搜索渲染后
             table.on('post-common-search.bs.table', function (event, table) {
                 var form = $("form", table.$commonsearch);
-                $("input[name='exam_collection_name']", form).addClass("selectpage").data("source", "teacher/collection/selectpage").data('params',{'custom[exam_collection_type]':3}).data("primaryKey", "exam_collection_name").data("field", "exam_collection_name").data("orderBy", "exam_collection_id asc");
+                $("input[name='exam_collection_name']", form).addClass("selectpage").data("source", "teacher/collection/selectpage").data('params',{'custom[exam_collection_type]':3}).data("primaryKey", "exam_collection_name").data("field", "exam_collection_name").data("orderBy", "createtime asc");
                 Form.events.cxselect(form);
                 Form.events.selectpage(form);
             });