Browse Source

隐藏填空题,材料题

lizhen_gitee 7 months ago
parent
commit
3bf649ca47

+ 1 - 1
application/admin/lang/zh-cn/traincate.php

@@ -2,6 +2,6 @@
 
 return [
     'Id'         => 'ID',
-    'Name'       => '培训级别',
+    'Name'       => '培训分类',
     'Deletetime' => '删除时间'
 ];

+ 1 - 1
application/admin/lang/zh-cn/traintype.php

@@ -2,6 +2,6 @@
 
 return [
     'Id'         => 'ID',
-    'Name'       => '培训级别',
+    'Name'       => '培训类型',
     'Deletetime' => '删除时间'
 ];

+ 6 - 6
application/admin/view/exam/paper/configs_setting.html

@@ -35,7 +35,7 @@
                                                                  value="{$configs.judge.score|default=0}"> 分,</span>
                         总分 <span class="span_kind_total_score span_judge_total_score">{$configs.judge.total_score|default=0}</span>
-                        <input type="checkbox" class="checkbox_difficulty checkbox_judge" data-type="judge"> 分难度
+                        <input style="display: none" type="checkbox" class="checkbox_difficulty checkbox_judge" data-type="judge"> <!--分难度-->
                     </p>
                     <ul class="ul_difficulty ul_judge_difficulty hide">
                         <li>
@@ -82,7 +82,7 @@
                                                                   data-type="single" type="number" step="1" min="0"
                                                                   max="0" value="{$configs.single.score|default=0}"> 分,</span>
                         总分 <span class="span_kind_total_score span_single_total_score">0</span> 分
-                        <input type="checkbox" class="checkbox_difficulty checkbox_single" data-type="single"> 分难度
+                        <input style="display: none" type="checkbox" class="checkbox_difficulty checkbox_single" data-type="single"> <!--分难度-->
                     </p>
                     <ul class="ul_difficulty ul_single_difficulty hide">
                         <li>
@@ -130,7 +130,7 @@
                                                                  max="0"
                                                                  value="{$configs.multi.score|default=0}"> 分,</span>
                         总分 <span class="span_kind_total_score span_multi_total_score">0</span> 分
-                        <input type="checkbox" class="checkbox_difficulty checkbox_multi" data-type="multi"> 分难度
+                        <input style="display: none" type="checkbox" class="checkbox_difficulty checkbox_multi" data-type="multi"> <!--分难度-->
                     </p>
                     <ul class="ul_difficulty ul_multi_difficulty hide">
                         <li>
@@ -168,7 +168,7 @@
                     </ul>
                 </div>
 
-                <div class="p-l-80 m-tb-10">
+                <div style="display: none" class="p-l-80 m-tb-10">
                     <p>
                         填空题: 共 <span class="span_fill_total">0</span> 题,
                         选取 <input class="input_kind_count input_fill input_count w-60" data-type="fill" type="number"
@@ -226,7 +226,7 @@
                                                                  max="0"
                                                                  value="{$configs.short.score|default=0}"> 分,</span>
                         总分 <span class="span_kind_total_score span_short_total_score">0</span> 分
-                        <input type="checkbox" class="checkbox_difficulty checkbox_short" data-type="short"> 分难度
+                        <input style="display: none" type="checkbox" class="checkbox_difficulty checkbox_short" data-type="short"> <!--分难度-->
                     </p>
                     <ul class="ul_difficulty ul_short_difficulty hide">
                         <li>
@@ -264,7 +264,7 @@
                     </ul>
                 </div>
 
-                <div class="p-l-80 m-tb-10">
+                <div style="display: none" class="p-l-80 m-tb-10">
                     <p>
                         材料题: 共 <span class="span_material_total">0</span> 题,
                         选取 <input class="input_kind_count input_material input_count w-60" data-type="material" type="number"

+ 8 - 7
application/admin/view/exam/paper/configs_setting_fix.html

@@ -9,6 +9,10 @@
                     </el-statistic>
                 </div>
             </el-col>
+
+        </el-row>
+
+        <el-row :gutter="24" class="m-t-5">
             <el-col :span="6">
                 <div>
                     <el-statistic title="判断题数/分数">
@@ -30,16 +34,13 @@
                     </el-statistic>
                 </div>
             </el-col>
-        </el-row>
-
-        <el-row :gutter="24" class="m-t-5">
-            <el-col :span="6">
+            <!--<el-col :span="6">
                 <div>
                     <el-statistic title="填空题数/分数">
                         <template slot="formatter"> {{summary.fill_quantity}}/{{summary.fill_score}} </template>
                     </el-statistic>
                 </div>
-            </el-col>
+            </el-col>-->
             <el-col :span="6">
                 <div>
                     <el-statistic title="简答题数/分数">
@@ -47,13 +48,13 @@
                     </el-statistic>
                 </div>
             </el-col>
-            <el-col :span="6">
+            <!--<el-col :span="6">
                 <div>
                     <el-statistic title="材料题数/分数">
                         <template slot="formatter"> {{summary.material_quantity}}/{{summary.material_score}} </template>
                     </el-statistic>
                 </div>
-            </el-col>
+            </el-col>-->
         </el-row>
     </div>
 

+ 1 - 1
application/admin/view/exam/question/import.html

@@ -27,7 +27,7 @@
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">模板文件:</label>
         <div class="col-xs-12 col-sm-8">
-            <a href="/assets/addons/exam/template/import_template.xlsx" target="_blank" class="btn btn-success" title="点击下载模板文件"><i class="fa fa-download"></i> 点击下载模板文件</a>
+            <a href="/assets/addons/exam/template/import_template.xlsx?v=2" target="_blank" class="btn btn-success" title="点击下载模板文件"><i class="fa fa-download"></i> 点击下载模板文件</a>
         </div>
     </div>
 

BIN
public/assets/addons/exam/template/import_template.xlsx