operate_3.php 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <span class="iconfont click-sc addbx" aria-hidden="true" title="选择学生" onclick="javascript:location.href='<?php echo $this->createUrl('third/exam_list',array('exam_group_id'=>$cl['exam_group_id'],'branch'=>$cl['branch'],'grade'=>$class_grade[$cl['class_id']],'upload_status'=>$cl['upload_status']));?>'">&#xe668;</span>
  2. <?php if($cl['homework']==0):?>
  3. <a class="iconfont click-sc addbx create_sheet" aria-hidden="true" feedback="<?php echo $cl['is_feedback']?>" qxk="<?php echo $cl['qxk_paper_id']?>" tw_status="<?php echo $cl['tw_status']?>" labelled="<?php echo $cl['is_labelled']?>" title="<?php if(isset($exam_sheets[$cl['exam_group_id']]) && !empty($exam_sheets[$cl['exam_group_id']])){ echo '修改答题卡';}else{echo "创建答题卡";}?>" mark_type="<?php echo $cl['mark_type'];?>" exam_group_id="<?php echo $cl['exam_group_id']?>" sheet_id ="<?php if(isset($exam_sheets[$cl['exam_group_id']]) && !empty($exam_sheets[$cl['exam_group_id']])){ echo $exam_sheets[$cl['exam_group_id']];}else{echo 0;}?>">&#xe804;</a>
  4. <!-- <span class="iconfont click-sc addbx" aria-hidden="true" title="创建客观题答案" onclick="javascript:location.href='<?php /*echo $this->createUrl('third/exam_answer',array('exam_group_id'=>$cl['exam_group_id']));*/?>'">答</span>-->
  5. <?php if( isset($exam_sheets[$cl['exam_group_id']]) && $exam_sheets[$cl['exam_group_id']]!=1 ){?>
  6. <span class="iconfont click-sc addbx" aria-hidden="true" title="扫描答题卡" onclick="createTemplate('<?php echo $cl['exam_group_id'];?>',<?php echo $cl['import_score_type']?>)">扫</span>
  7. <?php }?>
  8. <span class="iconfont click-sc addbx" aria-hidden="true" title="上传试卷" onclick="uploadTemplateForSelectType('<?php echo $cl['exam_group_id'];?>','<?php echo $cl['exam_name'];?>','<?php echo $class_grade[$cl['class_id']];?>')">&#xe640;</span>
  9. <?php
  10. if( $cl['is_scan_changed'] != 1 && $cl['homework']==0 && isset($exam_sheets[$cl['exam_group_id']]) && $exam_sheets[$cl['exam_group_id']]==1 ):?>
  11. <span class="iconfont" aria-hidden="true" title="扫描在线答题卡" onclick="createTemplateScanOnline('<?php echo $cl['exam_group_id'];?>',this,'<?php echo $cl['exam_name']; ?>',<?php echo $cl['import_score_type']?>)"><img src="/images/online_scan.svg"></span>
  12. <?php endif;?>
  13. <?php if($cl['is_display'] == 1):?>
  14. <span class="iconfont click-sc click-tc addbx" aria-hidden="true" title="恢复试卷" onclick="oprateExam('<?php echo $cl['exam_group_id'];?>',0)">&#xe68f;</span>
  15. <?php else:?>
  16. <span class="iconfont click-sc click-delete addbx" aria-hidden="true" title="隐藏试卷" onclick="oprateExam('<?php echo $cl['exam_group_id'];?>',1)">&#xe68b;</span>
  17. <?php endif;?>
  18. <a href="<?php echo $this->createUrl("third/modifyThirdExam",array('exam_group_id'=>$cl['exam_group_id']));?>" class="iconfont click-sc addbx" aria-hidden="true" title="编辑考试信息" >编</a>
  19. <?php endif;?>
  20. <?php if(Yii::app()->params['section']==1 && $cl["create_time"]>strtotime('2022-9-1 21:00:00')):?>
  21. <a href="/vue/index.html#/ExamProcess/ExamProcessList?examGroupId=<?php echo $cl['exam_group_id'] ?>" class="iconfont click-sc addbx" aria-hidden="true" title="查看考试流程" >轨</a>
  22. <?php endif;?>
  23. <?php if($exportExam):?>
  24. <span class="iconfont click-sc addbx exam_export" eid="<?php echo $cl['exam_group_id'] ?>" aria-hidden="true" title="导出考试数据" >导出</span>
  25. <?php endif;?>
  26. <?php if(isset($schoolId) && ($schoolId==440 || $schoolId==4016)): ?>
  27. <a href="#" eid="<?php echo $cl['exam_group_id'] ?>" class="iconfont click-sc addbx card-tools" aria-hidden="true" title="查看考试流程" >测</a>
  28. <?php endif;?>