Browse Source

隐藏指定题目

24753255@qq.com 5 months ago
parent
commit
0626e56d82
2 changed files with 3 additions and 3 deletions
  1. 1 1
      protected/views/print/class_exam2.php
  2. 2 2
      protected/views/third/exam_list.php

+ 1 - 1
protected/views/print/class_exam2.php

@@ -373,7 +373,7 @@
                                     <span class=" click-sc addbx " id="transfer" exam_group_id="<?php echo $exam_group_id?>" aria-hidden="true" title="转移学生成绩">转移学生成绩</span>
                                     <span class=" click-sc addbx " <?php if($restore==1 || $exam_uploaded==0){echo 'style="background-color:gray;border-color:gray" '; }else{ echo 'id="restore"';}?> exam_name="<?php echo $exam_name?>" exam_group_id="<?php echo $exam_group_id?>" exam_date="<?php echo $exam_date?>" aria-hidden="true" title="申请还原考试">申请还原考试</span>
                                     <?php if(in_array(Yii::app()->session['session_subject_id'],array_merge(Yii::app()->params['mathSubjectId'],array(12)))): ?>
-                                    <span class=" click-sc addbx topicPushBatch" exam_name="<?php echo $exam_name?>" exam_group_id="<?php echo $exam_group_id?>" aria-hidden="true" title="指定题目">指定题目</span>
+                                   <!-- <span class=" click-sc addbx topicPushBatch" exam_name="<?php echo $exam_name?>" exam_group_id="<?php echo $exam_group_id?>" aria-hidden="true" title="指定题目">指定题目</span>-->
                                     <?php endif;?>
                                 </div>
 

+ 2 - 2
protected/views/third/exam_list.php

@@ -228,9 +228,9 @@
                                 <span class=" click-sc addbx " <?php if($restore==1 || $exam_uploaded==0){echo 'style="background-color:gray;border-color:gray" '; }else{ echo 'id="restore"';}?> exam_name="<?php echo $exam_name?>" exam_group_id="<?php echo $exam_group_id?>" exam_date="<?php echo $exam_date?>" aria-hidden="true" title="申请还原考试">申请还原考试</span>
                                 <?php if(in_array(Yii::app()->session['session_subject_id'],array_merge(Yii::app()->params['mathSubjectId'],array(12)))): ?>
                                     <?php if($answer_card_saved==0):?>
-                                        <span class=" click-sc addbx" aria-hidden="true"  style="background-color:gray;border-color:gray" title="指定题目" onclick="javascript:layer.msg('请先创建答题卡')"  >指定题目</span>
+                                       <!-- <span class=" click-sc addbx" aria-hidden="true"  style="background-color:gray;border-color:gray" title="指定题目" onclick="javascript:layer.msg('请先创建答题卡')"  >指定题目</span>-->
                                     <?php else:?>
-                                        <span class=" click-sc addbx topicPushBatch"  exam_name="<?php echo $exam_name?>" exam_group_id="<?php echo $exam_group_id?>" aria-hidden="true" title="指定题目">指定题目</span>
+                                       <!--   <span class=" click-sc addbx topicPushBatch"  exam_name="<?php echo $exam_name?>" exam_group_id="<?php echo $exam_group_id?>" aria-hidden="true" title="指定题目">指定题目</span>-->
                                     <?php endif;?>
 
                                 <?php endif;?>