123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <?php
- if($cl['word_path'] || $cl['allsubject_file_path']){//新word上传 ?>
- <?php if($cl['tw_status']==2 && $cl["is_labelled"]>0 ){
- if($cl["is_labelled"] == 1){
- echo "<span style='color:#2977ff;font-weight:normal;'>已标注</span>";
- }else if($cl["is_labelled"] == 2 ){
- echo "<span style='color:orange;font-weight:normal;'>已发送</span> ";
- if($cl['allsubject_file_path']){
- if(isset($cl['estimate_time'])){
- echo '<span class="iconfont click-sc addbx" aria-hidden="true" title="预计标注完成时间:'.$cl['estimate_time'].',如有特殊情况请联系学科老师">预</span>';
- }else{
- echo '<span class="iconfont click-sc addbx" aria-hidden="true" title="如有特殊情况请联系学科老师">预</span>';
- }
- }
- }else if($cl["is_labelled"] == 3 ){
- echo "<span style='color:orange;font-weight:normal;'>标注中</span> ";
- if($cl['allsubject_file_path']){
- if(isset($cl['estimate_time'])){
- echo '<span class="iconfont click-sc addbx" aria-hidden="true" title="预计标注完成时间:'.$cl['estimate_time'].',如有特殊情况请联系学科老师">预</span>';
- }else{
- echo '<span class="iconfont click-sc addbx" aria-hidden="true" title="如有特殊情况请联系学科老师">预</span>';
- }
- }
- }else if($cl["is_labelled"] == 4 ){
- echo "<span style='color:orange;font-weight:normal;'>已取消</span>";
- }else if($cl["is_labelled"] == 5){
- echo "<span style='color:orange;font-weight:normal;'>补题中</span>";
- }
- if($cl["is_labelled"] == 0 ){?>
- <?php if($cl['tw_status']==2){?>
- <!-- <span class="iconfont click-sc addbx sendLabelTask" isAnswerSheet="1" type="send" examId="<?php echo $cl["exam_id"];?>" examName="<?php echo $cl["exam_name"];?>" subjectId="<?php echo $cl["subject_id"];?>" createTime="<?php echo $cl["examDate"];?>" aria-hidden="true" title="发送试题标注"></span>-->
- <?php }elseif($cl['tw_status']==5){?>
- <!-- <span class="iconfont click-sc addbx sendLabelTask" isAnswerSheet="1" type="send" examId="<?php echo $cl["exam_id"];?>" examName="<?php echo $cl["exam_name"];?>" subjectId="<?php echo $cl["subject_id"];?>" createTime="<?php echo $cl["examDate"];?>" aria-hidden="true" title="发送校标任务"></span>-->
- <?php }?>
- <?php }elseif($cl['is_labelled']==4){?>
- <!--
- <span class="iconfont click-sc addbx sendLabelTask"
- examId="<?php echo $cl["exam_id"];?>"
- examName="<?php echo $cl["exam_name"];?>"
- subjectId="<?php echo $cl["subject_id"];?>"
- createTime="<?php echo $cl["create_time"];?>"
- status = '2'
- <?php
- if (isset($exam_sheets[$cl['exam_group_id']]) ) {
- echo ' isAnswerSheet=1 ';
- }else{
- echo ' isAnswerSheet=0 ';
- }
- ?>
- type="resend"
- aria-hidden="true" title="重新发送"></span>
- -->
- <?php }elseif(($cl['is_labelled']==2 || $cl['is_labelled']==3) && !$cl['allsubject_file_path']){
- if(isset($cl['estimate_time'])){
- $txtTitle="预计标注完成时间:".$cl['estimate_time'].",点击可撤回";
- }else{
- $txtTitle="点击可撤回";
- }
- ?>
- <!--<span class="iconfont click-sc addbx sendLabelTask" isAnswerSheet="1" status="4" type="cancel" examId="<?php echo $cl["exam_id"];?>" examName="<?php echo $cl["exam_name"];?>" subjectId="<?php echo $cl["subject_id"];?>" createTime="<?php echo $cl["examDate"];?>" aria-hidden="true" title="<?php echo $txtTitle?>"><i class="fa fa-reply"></i></span>-->
- <?php
- }
- }else{
- if($cl['tw_status']==2){
- echo "<span style='color:orange;font-weight:normal;'>解析成功</span>";
- ?>
- <!-- <span class="iconfont click-sc addbx sendLabelTask" isAnswerSheet="1" type="send" examId="<?php echo $cl["exam_id"];?>" examName="<?php echo $cl["exam_name"];?>" subjectId="<?php echo $cl["subject_id"];?>" createTime="<?php echo $cl["examDate"];?>" aria-hidden="true" title="发送试题标注"></span>-->
- <?php
- }elseif($cl['tw_status']==3){
- ?>
- <a style='color:orange;font-weight:normal;cursor:pointer' title="<?php echo $cl['wrong_reason'] ?>">解析失败</a>
- <?php
- // echo "<span style='color:orange;font-weight:normal;cursor:pointer' onclick=showError('".($cl['wrong_reason'])."')>解析失败</span>";
- }elseif($cl['tw_status']==5){
- echo "<span style='color:orange;font-weight:normal;'>解析待校对</span>";
- if($cl['allsubject_file_path']){
- if(isset($cl['estimate'])){
- $estimate=date('Y-m-d H:i',$cl['estimate']);
- }else{
- $estimate='';
- }
- ?>
- <!--<span class="iconfont click-sc addbx sendLabelTask" isAnswerSheet="1" type="send" examId="<?php echo $cl["exam_id"];?>" examName="<?php echo $cl["exam_name"];?>" subjectId="<?php echo $cl["subject_id"];?>" createTime="<?php echo $cl["examDate"];?>" aria-hidden="true" title="发送校标任务"></span>-->
- <?php
- }
- }elseif($cl['tw_status']==6){
- echo "<span style='color:orange;font-weight:normal;'>校对中</span>";
- }elseif($cl['tw_status']==7){
- echo "<span style='color:orange;font-weight:normal;'>已退回</span>";
- }elseif($cl['word_path'] || $cl['allsubject_file_path']){
- echo "<span style='color:orange;font-weight:normal;'>等待解析</span>";
- }else{
- echo "<span style='color:orange;font-weight:normal;'>未上传</span>";
- }
- }?>
- <?php }else{//老版流程
- $examStatus = array(0=>'未上传',1=>'答案未上传',3=>'题目未上传',4=>'已上传');
- if(isset($examStatus[$cl['uploadExamStatus']])){
- $_status = $cl['uploadExamStatus'];
- if($_status == 4){
- echo $examStatus[$cl['uploadExamStatus']];
- }else{
- echo '<span style="color:red">'.$examStatus[$cl['uploadExamStatus']].'</span>';
- }
- }else{
- echo '未上传';
- }
- }
- ?>
|