status_8.php 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <?php
  2. if(!$cl['qxk_paper_id']){
  3. if(isset($cl['estimate_time'])){
  4. $txtTitle="预计标注完成时间:".$cl['estimate_time'].",点击可撤回";
  5. }else{
  6. $txtTitle="点击可撤回";
  7. }
  8. if (isset($paper[$cl['exam_group_id']]) && $paper[$cl['exam_group_id']] == 1) {
  9. if(isset($paper_labelled_type[$cl['exam_group_id']])){
  10. if($paper_labelled_type[$cl['exam_group_id']]==1){
  11. echo "<span style='color:#619aff;font-weight:normal;'>老:已标注(后)</span>";
  12. }else{
  13. echo "<span style='color:#619aff;font-weight:normal;'>老:已标注(校)</span>";
  14. }
  15. }else{
  16. echo "<span style='color:#619aff;font-weight:normal;'>老:已标注</span>";
  17. }
  18. } else if (isset($paper[$cl['exam_group_id']]) && $paper[$cl['exam_group_id']] == 2) {
  19. echo "<span style='color:red;font-weight:normal;'>老:已发送</span>";
  20. echo '<span class="iconfont click-delete addbx sendLabelTask"
  21. examId="'.$cl["exam_id"].'"
  22. examName="'.$cl["print_name"].'"
  23. subjectId="'.$cl["subject_id"].'"
  24. createTime="'.$cl["create_time"].'"
  25. isLabelled = "'.$paper[$cl['exam_group_id']].'"
  26. status = "4"
  27. isTagging="0"
  28. type="cancel"
  29. aria-hidden="true" title="'.$txtTitle.'"><i class="fa fa-reply"></i></span>';
  30. } else if (isset($paper[$cl['exam_group_id']]) && $paper[$cl['exam_group_id']] == 3) {
  31. echo "<span style='color:orange;font-weight:normal;'>老:标注中</span>";
  32. echo '<span class="iconfont click-delete addbx sendLabelTask"
  33. examId="'.$cl["exam_id"].'"
  34. examName="'.$cl["print_name"].'"
  35. subjectId="'.$cl["subject_id"].'"
  36. createTime="'.$cl["create_time"].'"
  37. isLabelled = "'.$paper[$cl['exam_group_id']].'"
  38. status = "4"
  39. isTagging="0"
  40. type="cancel"
  41. aria-hidden="true" title="'.$txtTitle.'"><i class="fa fa-reply"></i></span>';
  42. } else if (isset($paper[$cl['exam_group_id']]) && $paper[$cl['exam_group_id']] == 4) {
  43. echo "<span style='color:#333333;font-weight:normal;'>老:已取消</span>";
  44. echo '<span class="iconfont click-sc addbx sendLabelTask"
  45. examId="'.$cl["exam_id"].'"
  46. examName="'.$cl["print_name"].'"
  47. subjectId="'.$cl["subject_id"].'"
  48. createTime="'.$cl["create_time"].'"
  49. isLabelled = "'.$paper[$cl['exam_group_id']].'"
  50. status = "2"
  51. isTagging="0"
  52. type="resend"
  53. aria-hidden="true" title="重新发送">&#xe71f;</span>';
  54. } else if (isset($paper[$cl['exam_group_id']]) && $paper[$cl['exam_group_id']] == 5) {
  55. echo "<span style='color:#CC0099;font-weight:normal;'>老:补题中</span>";
  56. } else {
  57. echo "<span style='color:red;font-weight:normal;'>老:未发送</span>";
  58. echo '<span class="iconfont click-sc addbx sendLabelTask"
  59. examId="'.$cl["exam_id"].'"
  60. examName="'.$cl["print_name"].'"
  61. subjectId="'.$cl["subject_id"].'"
  62. createTime="'.$cl["create_time"].'"
  63. isLabelled = "'.$paper[$cl['exam_group_id']].'"
  64. status = "0"
  65. isTagging="0"
  66. type="send"
  67. aria-hidden="true" title="发送试题标注">&#xe71f;
  68. </span>';
  69. }
  70. echo '<div style="clear:both;width:100%;height:5px;"></div>';
  71. }
  72. //新方法宝发送标注
  73. if($cl['qxk_paper_id']){
  74. if(isset($paper[$cl['exam_group_id']])){
  75. if(isset($cl['estimate_time'])){
  76. $txt='预计完成时间:'.$cl['estimate_time'].' 点击可撤回';
  77. }else{
  78. $txt='点击可撤回';
  79. }
  80. if($paper[$cl['exam_group_id']]==1){
  81. echo "<span style='color:#619aff;font-weight:normal;'>新:已标注</span>";
  82. }elseif($paper[$cl['exam_group_id']]==2){
  83. echo "<span style='color:#619aff;font-weight:normal;'>新:已发送</span>";
  84. echo '<span class="iconfont click-delete addbx sendLabelTask"
  85. examId="'.$cl["exam_id"].'"
  86. examName="'.$cl["print_name"].'"
  87. subjectId="'.$cl["subject_id"].'"
  88. createTime="'.$cl["create_time"].'"
  89. isLabelled = "'.$cl['is_tagging'].'"
  90. status = "4"
  91. isTagging="1"
  92. type="cancel"
  93. aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
  94. }elseif($paper[$cl['exam_group_id']]==3){
  95. echo "<span style='color:#619aff;font-weight:normal;'>新:标注中</span>";
  96. echo '<span class="iconfont click-delete addbx sendLabelTask"
  97. examId="'.$cl["exam_id"].'"
  98. examName="'.$cl["print_name"].'"
  99. subjectId="'.$cl["subject_id"].'"
  100. createTime="'.$cl["create_time"].'"
  101. isLabelled = "'.$cl['is_tagging'].'"
  102. status = "4"
  103. isTagging="1"
  104. type="cancel"
  105. aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
  106. }elseif($paper[$cl['exam_group_id']]==4){
  107. echo "<span style='color:#619aff;font-weight:normal;'>新:已取消</span>";
  108. echo '<span class="iconfont click-sc addbx sendLabelTask"
  109. examId="'.$cl["exam_id"].'"
  110. examName="'.$cl["print_name"].'"
  111. subjectId="'.$cl["subject_id"].'"
  112. createTime="'.$cl["create_time"].'"
  113. isLabelled = "'.$cl['is_tagging'].'"
  114. status = "2"
  115. isTagging="1"
  116. type="resend"
  117. aria-hidden="true" title="重新发送">&#xe71f;</span>';
  118. }elseif($paper[$cl['exam_group_id']]==5){
  119. echo "<span style='color:#619aff;font-weight:normal;'>新:补题中</span>";
  120. }else{
  121. echo "<span style='color:red;font-weight:normal;'>新:未发送</span>";
  122. echo '<span class="iconfont click-sc addbx sendLabelTask"
  123. examId="'.$cl["exam_id"].'"
  124. examName="'.$cl["print_name"].'"
  125. subjectId="'.$cl["subject_id"].'"
  126. createTime="'.$cl["create_time"].'"
  127. isLabelled = "'.$cl['is_tagging'].'"
  128. status = "0"
  129. isTagging="1"
  130. type="send"
  131. aria-hidden="true" title="发送试题标注">&#xe71f;
  132. </span>';
  133. }
  134. }
  135. }