123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?php
- $statusText='';
- if($cl['qxk_paper_id']){
- $statusText='新:';
- }else{
- $statusText='老:';
- }
- if($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;'>".$statusText."已标注</span>";
- }else if($cl["is_labelled"] == 2 ){
- echo "<span style='color:orange;font-weight:normal;'>".$statusText."已发送</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;'>".$statusText."标注中</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;'>".$statusText."已取消</span>";
- }else if($cl["is_labelled"] == 5){
- echo "<span style='color:orange;font-weight:normal;'>".$statusText."补题中</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;'>".$statusText."解析成功</span>";
- }elseif($cl['tw_status']==3){
- ?>
- <a style='color:orange;font-weight:normal;cursor:pointer' title="<?php echo $cl['wrong_reason'] ?>"><?php echo $statusText ?>解析失败</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;'>".$statusText."解析待校对</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"];?>" isTagging="1" 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;'>".$statusText."校对中</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>';
- }
- }
- }elseif($cl['tw_status']==7){
- echo "<span style='color:orange;font-weight:normal;' txt='".$cl['wrong_reason']."' class='show_wrong_reason'>".$statusText."已退回</span>";
- echo '<span class="iconfont click-sc addbx show_wrong_reason" aria-hidden="true" txt="'.$cl['wrong_reason'].'" >查</span>';
- }elseif($cl['word_path'] || $cl['allsubject_file_path']){
- echo "<span style='color:orange;font-weight:normal;'>".$statusText."等待解析</span>";
- }else{
- echo "<span style='color:orange;font-weight:normal;'>".$statusText."未上传</span>";
- }
- }?>
- <?php }else{//老版流程
- $examStatus = array(0=>'未上传',1=>'答案未上传',3=>'题目未上传',4=>'已上传');
- if(isset($examStatus[$cl['uploadExamStatus']])){
- $_status = $cl['uploadExamStatus'];
- if($_status == 4){
- if($cl['is_labelled'] == 0){
- echo '<span style="color:red">'.$statusText.'已上传未发送</span>';
- }elseif($cl['is_labelled'] == 2){
- echo '<span style="color:red">'.$statusText.'已发送未开始</span>';
- }elseif($cl['is_labelled'] == 3){
- echo '<span style="color:orange">'.$statusText.'标注中</span>';
- }elseif($cl['is_labelled'] == 1){
- if($cl['labelled_type']==1){
- echo '<span style="color:#2977ff">'.$statusText.'已标注(后)</span>';
- }else{
- echo '<span style="color:#2977ff">'.$statusText.'已标注(校)</span>';
- }
- }else{
- echo $statusText.'标注已取消';
- }
- // echo isset($examStatus[$cl['is_labelled']])?$examStatus[$cl['is_labelled']]:'';
- }else{
- echo $statusText.$examStatus[$cl['uploadExamStatus']];
- }
- }else{
- echo '';
- }
- }
- ?>
|