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