123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- <?php if($cl['is_answersheet']==111){
- if(!$cl['qxk_paper_id']) {
- if ($cl["is_labelled"] == 1) {
- if ($cl['labelled_type'] == 2) {
- echo "<span style='color:#2977ff;font-weight:normal;'>老:已标注(校)</span>";
- } else {
- echo "<span style='color:#2977ff;font-weight:normal;'>老:已标注(后)</span>";
- }
- } else if ($cl["is_labelled"] == 2) {
- echo "<span style='color:orange;font-weight:normal;'>老:已发送</span>";
- } else if ($cl["is_labelled"] == 3) {
- echo "<span style='color:orange;font-weight:normal;'>老:标注中</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 && $cl['tw_status'] == 2) {
- ?>
- <span style='color:#2977ff;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['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) {
- ?>
- <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="取消试题标注"><i class="fa fa-reply"></i></span>
- <?php
- }
- echo '<div style="clear:both;width:100%;height:5px;"></div>';
- if(isset($cl['is_tagging'])){
- if (isset($exam_sheets[$cl['exam_group_id']]) ) {
- $isAnswerSheet=1;
- }else{
- $isAnswerSheet=0;
- }
- if(isset($cl['estimate_time'])){
- $txt='预计完成时间:'.$cl['estimate_time'].' 点击可撤回';
- }else{
- $txt='点击可撤回';
- }
- if($cl['is_tagging']==1){
- echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝已标注</span>";
- }elseif($cl['is_tagging']==2){
- echo "<span style='color:#2977ff;font-weight:normal;'>新:已发送未开始</span> ";
- echo '<span class="iconfont click-delete addbx sendLabelTask"
- examId="'.$cl["exam_id"].'"
- examName="'.$cl["exam_name"].'"
- subjectId="'.$cl["subject_id"].'"
- createTime="'.$cl["create_time"].'"
- isLabelled = "'.$cl['is_tagging'].'"
- status = "4"
- isTagging="1"
- type="cancel"
- aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
- }elseif($cl['is_tagging']==3){
- echo "<span style='color:#2977ff;font-weight:normal;'>新:标注中</span> ";
- echo '<span class="iconfont click-delete addbx sendLabelTask"
- examId="'.$cl["exam_id"].'"
- examName="'.$cl["exam_name"].'"
- subjectId="'.$cl["subject_id"].'"
- createTime="'.$cl["create_time"].'"
- isLabelled = "'.$cl['is_tagging'].'"
- status = "4"
- isTagging="1"
- type="cancel"
- aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
- }elseif($cl['is_tagging']==4){
- echo "<span style='color:#2977ff;font-weight:normal;'>新:已取消</span> ";
- echo '<span class="iconfont click-sc addbx sendLabelTask"
- examId="'.$cl["exam_id"].'"
- examName="'.$cl["exam_name"].'"
- subjectId="'.$cl["subject_id"].'"
- createTime="'.$cl["create_time"].'"
- isLabelled = "'.$cl['is_tagging'].'"
- status = "2"
- isTagging="1"
- type="resend"
- isAnswerSheet="'.$isAnswerSheet.'"
- aria-hidden="true" title="重新发送"></span>';
- }elseif($cl['is_tagging']==5){
- echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝补题中</span>";
- }else{
- echo "<span style='color:#2977ff;font-weight:normal;'>新:未发送</span> ";
- if($cl['tw_status']==2){
- echo '<span class="iconfont click-sc addbx sendLabelTask"
- examId="'.$cl["exam_id"].'"
- examName="'.$cl["exam_name"].'"
- subjectId="'.$cl["subject_id"].'"
- createTime="'.$cl["create_time"].'"
- isLabelled = "'.$cl['is_tagging'].'"
- status = "0"
- isTagging="1"
- type="send"
- isAnswerSheet="'.$isAnswerSheet.'"
- aria-hidden="true" title="发送试题标注">
- </span>';
- }
- }
- }
- }else{
- echo '<div style="clear:both;width:100%;height:5px;"></div>';
- $checkLabelled=0;
- if($cl['is_tagging']){
- $checkLabelled=$cl['is_tagging'];
- }elseif($cl['is_labelled']){
- $checkLabelled=$cl['is_labelled'];
- }
- if (isset($exam_sheets[$cl['exam_group_id']]) ) {
- $isAnswerSheet=1;
- }else{
- $isAnswerSheet=0;
- }
- if(isset($cl['estimate_time'])){
- $txt='预计完成时间:'.$cl['estimate_time'].' 点击可撤回';
- }else{
- $txt='点击可撤回';
- }
- $labelledStatus=array(
- 0=>'未发送', 1=>'已标注',2=>'已发送未开始',3=>'标注中', 4=>'已取消',5=>'补题中'
- );
- if($cl['is_tagging'] || $cl['is_labelled']){
- if($cl['is_tagging']==1 || $cl['is_labelled']==1){
- echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$cl['is_labelled']]."</span> ";
- }elseif($cl['is_tagging']==2 || $cl['is_labelled']==2){
- echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$cl['is_labelled']]."</span> ";
- echo '<span class="iconfont click-delete addbx sendLabelTask"
- examId="'.$cl["exam_id"].'"
- examName="'.$cl["exam_name"].'"
- subjectId="'.$cl["subject_id"].'"
- createTime="'.$cl["create_time"].'"
- isLabelled = "'.$cl['is_tagging'].'"
- status = "4"
- isTagging="1"
- type="cancel"
- aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
- }elseif($cl['is_tagging']==3 || $cl['is_labelled']==3){
- echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$cl['is_labelled']]."</span> ";
- echo '<span class="iconfont click-delete addbx sendLabelTask"
- examId="'.$cl["exam_id"].'"
- examName="'.$cl["exam_name"].'"
- subjectId="'.$cl["subject_id"].'"
- createTime="'.$cl["create_time"].'"
- isLabelled = "'.$cl['is_tagging'].'"
- status = "4"
- isTagging="1"
- type="cancel"
- aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
- }elseif($cl['is_tagging']==4 || $cl['is_labelled']==4){
- echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$cl['is_labelled']]."</span> ";
- echo '<span class="iconfont click-sc addbx sendLabelTask"
- examId="'.$cl["exam_id"].'"
- examName="'.$cl["exam_name"].'"
- subjectId="'.$cl["subject_id"].'"
- createTime="'.$cl["create_time"].'"
- isLabelled = "'.$cl['is_tagging'].'"
- status = "2"
- isTagging="1"
- type="resend"
- isAnswerSheet="'.$isAnswerSheet.'"
- aria-hidden="true" title="重新发送"></span>';
- }elseif($cl['is_tagging']==5 || $cl['is_labelled']==5){
- echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$cl['is_labelled']]."</span> ";
- }
- }else{
- echo "<span style='color:#2977ff;font-weight:normal;'>新:未发送</span> ";
- if($cl['tw_status']==2){
- echo '<span class="iconfont click-sc addbx sendLabelTask"
- examId="'.$cl["exam_id"].'"
- examName="'.$cl["exam_name"].'"
- subjectId="'.$cl["subject_id"].'"
- createTime="'.$cl["create_time"].'"
- isLabelled = "'.$cl['is_tagging'].'"
- status = "0"
- isTagging="1"
- type="send"
- isAnswerSheet="'.$isAnswerSheet.'"
- aria-hidden="true" title="发送试题标注">
- </span>';
- }
- }
- }
- }else{
- if($cl['tw_status']==2){
- echo "<span style='color:orange;font-weight:normal;'>解析成功</span>";
- }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" isTagging="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>";
- 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;'>已退回</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;'>等待解析</span>";
- }else{
- echo "<span style='color:orange;font-weight:normal;'>未上传</span>";
- }
- }?>
|