Browse Source

20250710修改

贾小兵 2 months ago
parent
commit
c4f190f205

+ 1 - 1
application/admin/view/index/login.html

@@ -77,7 +77,7 @@
                     <div class="controls">
                         <span class="glyphicon glyphicon-user"></span>
                         <input class="form-control input-lg" id="username" type="text" name="username" value="" data-rule="{:__('Username')}:required" placeholder="{:__('Username')}" autocomplete="off">
-                        <div class="help-block"></div>
+                        <div class="help-block" style="color: red;margin-left:30px">学员务必使用自己学号登录</div>
 
                     </div>
                 </div>

+ 1 - 0
public/assets/js/backend/teacher/collection.js

@@ -190,6 +190,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                     [
                         // {checkbox: true},
                         // {field: 'task_id', title: __('Task_id'),operate: false},
+                        {field: 'user_username', title: __('学员账号'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
                         {field: 'user_nickname', title: __('学员姓名'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
                         {field: 'sim_type', title: __('Sim_type'),searchList:{"0001":"FZD04B型侦毒器","0002":"FZB006型毒剂报警器","0003":"防化兵用毒剂报警器"},formatter: Table.api.formatter.simtype},
                         {field: 'question_setting_method', title: __('Question_setting_method'),searchList:{"1":"系统随机","2":"教员自选","3":"任务自选"},formatter: Table.api.formatter.simmethod},