123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <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']));?>'"></span>
- <?php if($cl['homework']==0):?>
- <?php
- if($cl['show_print']){
- if(isset($cl['is_change_to_third']) && $cl['is_change_to_third']==1){
- ?>
- <span class="iconfont click-sc addbx" aria-hidden="true" title="打印答题卡" onclick="createTemplateEnglish('<?php echo $cl['exam_id']?>',12)"></span>
- <?php
- }else{
- echo '<span class="iconfont click-sc addbx print_sheet" aria-hidden="true" title="打印答题卡" exam_group_id="'.$cl['exam_group_id'].'"></span>';
- }
- }
- ?>
- <a class="iconfont click-sc addbx create_sheet_subject" feedback="<?php echo $cl['is_feedback']?>" qxk="<?php echo $cl['qxk_paper_id']?>" aria-hidden="true" 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;}?>"></a>
- <!-- <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>-->
- <?php
- if(isset($exam_sheets[$cl['exam_group_id']]) && $exam_sheets[$cl['exam_group_id']]==0 ){
- ?>
- <span class="iconfont click-sc addbx" aria-hidden="true" title="扫描答题卡" onclick="createTemplateSubject('<?php echo $cl['exam_group_id'];?>',<?php echo Yii::app()->session['session_duoxueke_subject_id']?>,<?php echo $cl['import_score_type']?>)">扫</span>
- <?php
- }
- ?>
- <span class="iconfont click-sc addbx" aria-hidden="true" title="上传试卷题目" onclick="uploadExamTopic('<?php echo $cl['exam_group_id'];?>',<?php echo Yii::app()->session['session_duoxueke_subject_id']?>,<?php if(isset($cl['uploadExamTemplateId'])){ echo $cl['uploadExamTemplateId']; }else{ echo 0;}?>,<?php echo $cl['tpl_index'];?>)"></span>
- <span class="iconfont click-sc addbx" aria-hidden="true" title="上传试卷答案" onclick="uploadExamAnswer('<?php echo $cl['exam_group_id'];?>',<?php echo Yii::app()->session['session_duoxueke_subject_id']?>,<?php if(isset($cl['uploadAnswerTemplateId'])){ echo $cl['uploadAnswerTemplateId']; }else{ echo 0;}?>)">答</span>
- <?php ?>
- <?php
- if( $cl['is_scan_changed'] != 1 && $cl['homework']==0 && isset($exam_sheets[$cl['exam_group_id']]) && $exam_sheets[$cl['exam_group_id']]==1 ):?>
- <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>
- <?php endif;?>
- <?php if($cl['is_display'] == 1):?>
- <span class="iconfont click-sc click-tc addbx" aria-hidden="true" title="恢复试卷" onclick="oprateExam('<?php echo $cl['exam_group_id'];?>',0)"></span>
- <?php else:?>
- <span class="iconfont click-sc click-delete addbx" aria-hidden="true" title="隐藏试卷" onclick="oprateExam('<?php echo $cl['exam_group_id'];?>',1)"></span>
- <?php endif;?>
- <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>
- <?php endif;?>
- <?php if(Yii::app()->params['section']==1 && $cl["create_time"]>strtotime('2022-9-1 21:00:00')):?>
- <a href="/vue/index.html#/ExamProcess/ExamProcessList?examGroupId=<?php echo $cl['exam_group_id'] ?>" class="iconfont click-sc addbx" aria-hidden="true" title="查看考试流程" >轨</a>
- <?php endif;?>
- <?php if($exportExam):?>
- <span class="iconfont click-sc addbx exam_export" eid="<?php echo $cl['exam_group_id'] ?>" aria-hidden="true" title="导出考试数据" >导出</span>
- <?php endif;?>
|