status_3.php 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <?php
  2. if(!isset($cl['qxk_paper_id'])){
  3. $txtTitle="点击可撤回";
  4. if (isset($paper[$cl['exam_group_id']]) && $paper[$cl['exam_group_id']] == 1) {
  5. if(isset($paper_labelled_type[$cl['exam_group_id']])){
  6. if($paper_labelled_type[$cl['exam_group_id']]==1){
  7. echo "<span style='color:#619aff;font-weight:normal;'>老:已标注(后)</span>";
  8. }else{
  9. echo "<span style='color:#619aff;font-weight:normal;'>老:已标注(校)</span>";
  10. }
  11. }else{
  12. echo "<span style='color:#619aff;font-weight:normal;'>老:已标注</span>";
  13. }
  14. } else if (isset($paper[$cl['exam_group_id']]) && $paper[$cl['exam_group_id']] == 2) {
  15. echo "<span style='color:red;font-weight:normal;'>老:已发送未开始</span>";
  16. echo '<span class="iconfont click-delete addbx sendLabelTask"
  17. examId="'.$cl["exam_id"].'"
  18. examName="'.$cl["print_name"].'"
  19. subjectId="'.$cl["subject_id"].'"
  20. createTime="'.$cl["create_time"].'"
  21. isLabelled = "'.$paper[$cl['exam_group_id']].'"
  22. status = "4"
  23. isTagging="0"
  24. type="cancel"
  25. aria-hidden="true" title="'.$txtTitle.'"><i class="fa fa-reply"></i></span>';
  26. } else if (isset($paper[$cl['exam_group_id']]) && $paper[$cl['exam_group_id']] == 3) {
  27. echo "<span style='color:orange;font-weight:normal;'>老:标注中</span>";
  28. echo '<span class="iconfont click-delete addbx sendLabelTask"
  29. examId="'.$cl["exam_id"].'"
  30. examName="'.$cl["print_name"].'"
  31. subjectId="'.$cl["subject_id"].'"
  32. createTime="'.$cl["create_time"].'"
  33. isLabelled = "'.$paper[$cl['exam_group_id']].'"
  34. status = "4"
  35. isTagging="0"
  36. type="cancel"
  37. aria-hidden="true" title="'.$txtTitle.'"><i class="fa fa-reply"></i></span>';
  38. } else if (isset($paper[$cl['exam_group_id']]) && $paper[$cl['exam_group_id']] == 4) {
  39. echo "<span style='color:#333333;font-weight:normal;'>老:已取消</span>";
  40. echo '<span class="iconfont click-sc addbx sendLabelTask"
  41. examId="'.$cl["exam_id"].'"
  42. examName="'.$cl["print_name"].'"
  43. subjectId="'.$cl["subject_id"].'"
  44. createTime="'.$cl["create_time"].'"
  45. isLabelled = "'.$paper[$cl['exam_group_id']].'"
  46. status = "2"
  47. isTagging="0"
  48. type="resend"
  49. aria-hidden="true" title="重新发送">&#xe71f;</span>';
  50. } else if (isset($paper[$cl['exam_group_id']]) && $paper[$cl['exam_group_id']] == 5) {
  51. echo "<span style='color:#CC0099;font-weight:normal;'>老:补题中</span>";
  52. } else {
  53. echo "<span style='color:red;font-weight:normal;'>老:未发送</span>";
  54. echo '<span class="iconfont click-sc addbx sendLabelTask"
  55. examId="'.$cl["exam_id"].'"
  56. examName="'.$cl["print_name"].'"
  57. subjectId="'.$cl["subject_id"].'"
  58. createTime="'.$cl["create_time"].'"
  59. isLabelled = "'.$paper[$cl['exam_group_id']].'"
  60. status = "0"
  61. isTagging="0"
  62. type="send"
  63. aria-hidden="true" title="发送试题标注">&#xe71f;
  64. </span>';
  65. }
  66. echo '<div style="clear:both;width:100%;height:5px;"></div>';
  67. if(isset($cl['is_tagging'])){
  68. if(isset($cl['estimate_time'])){
  69. $txt='预计完成时间:'.$cl['estimate_time'].' 点击可撤回';
  70. }else{
  71. $txt='点击可撤回';
  72. }
  73. if($cl['is_tagging']==1){
  74. echo "<span style='color:#619aff;font-weight:normal;'>新:方法宝已标注</span>";
  75. }elseif($cl['is_tagging']==2){
  76. echo "<span style='color:#619aff;font-weight:normal;'>新:已发送未开始</span>";
  77. echo '<span class="iconfont click-delete addbx sendLabelTask"
  78. examId="'.$cl["exam_id"].'"
  79. examName="'.$cl["print_name"].'"
  80. subjectId="'.$cl["subject_id"].'"
  81. createTime="'.$cl["create_time"].'"
  82. isLabelled = "'.$cl['is_tagging'].'"
  83. status = "4"
  84. isTagging="1"
  85. type="cancel"
  86. aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
  87. }elseif($cl['is_tagging']==3){
  88. echo "<span style='color:#619aff;font-weight:normal;'>新:标注中</span>";
  89. echo '<span class="iconfont click-delete addbx sendLabelTask"
  90. examId="'.$cl["exam_id"].'"
  91. examName="'.$cl["print_name"].'"
  92. subjectId="'.$cl["subject_id"].'"
  93. createTime="'.$cl["create_time"].'"
  94. isLabelled = "'.$cl['is_tagging'].'"
  95. status = "4"
  96. isTagging="1"
  97. type="cancel"
  98. aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
  99. }elseif($cl['is_tagging']==4){
  100. echo "<span style='color:#619aff;font-weight:normal;'>新:已取消</span>";
  101. echo '<span class="iconfont click-sc addbx sendLabelTask"
  102. examId="'.$cl["exam_id"].'"
  103. examName="'.$cl["print_name"].'"
  104. subjectId="'.$cl["subject_id"].'"
  105. createTime="'.$cl["create_time"].'"
  106. isLabelled = "'.$cl['is_tagging'].'"
  107. status = "2"
  108. isTagging="1"
  109. type="resend"
  110. aria-hidden="true" title="重新发送">&#xe71f;</span>';
  111. }elseif($cl['is_tagging']==5){
  112. echo "<span style='color:#619aff;font-weight:normal;'>新:方法宝补题中</span>";
  113. }else{
  114. echo "<span style='color:red;font-weight:normal;'>新:未发送</span>";
  115. echo '<span class="iconfont click-sc addbx sendLabelTask"
  116. examId="'.$cl["exam_id"].'"
  117. examName="'.$cl["print_name"].'"
  118. subjectId="'.$cl["subject_id"].'"
  119. createTime="'.$cl["create_time"].'"
  120. isLabelled = "'.$cl['is_tagging'].'"
  121. status = "0"
  122. isTagging="1"
  123. type="send"
  124. aria-hidden="true" title="发送试题标注">&#xe71f;
  125. </span>';
  126. }
  127. }
  128. }else{
  129. $labelledStatus=array(
  130. 0=>'未发送', 1=>'已标注',2=>'已发送未开始',3=>'标注中', 4=>'已取消',5=>'补题中'
  131. );
  132. if(isset($cl['estimate_time'])){
  133. $txt='预计完成时间:'.$cl['estimate_time'].' 点击可撤回';
  134. }else{
  135. $txt='点击可撤回';
  136. }
  137. if($cl['is_tagging'] || $paper[$cl['exam_group_id']]){
  138. if($cl['is_tagging']==1 || $paper[$cl['exam_group_id']]==1){
  139. echo "<span style='color:#619aff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$paper[$cl['exam_group_id']]]."</span> ";
  140. }elseif($cl['is_tagging']==2 || $paper[$cl['exam_group_id']]==2){
  141. echo "<span style='color:#619aff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$paper[$cl['exam_group_id']]]."</span> ";
  142. echo '<span class="iconfont click-delete addbx sendLabelTask"
  143. examId="'.$cl["exam_id"].'"
  144. examName="'.$cl["print_name"].'"
  145. subjectId="'.$cl["subject_id"].'"
  146. createTime="'.$cl["create_time"].'"
  147. isLabelled = "'.$cl['is_tagging'].'"
  148. status = "4"
  149. isTagging="1"
  150. type="cancel"
  151. aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
  152. }elseif($cl['is_tagging']==3 || $paper[$cl['exam_group_id']]==3){
  153. echo "<span style='color:#619aff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$paper[$cl['exam_group_id']]]."</span> ";
  154. echo '<span class="iconfont click-delete addbx sendLabelTask"
  155. examId="'.$cl["exam_id"].'"
  156. examName="'.$cl["print_name"].'"
  157. subjectId="'.$cl["subject_id"].'"
  158. createTime="'.$cl["create_time"].'"
  159. isLabelled = "'.$cl['is_tagging'].'"
  160. status = "4"
  161. isTagging="1"
  162. type="cancel"
  163. aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
  164. }elseif($cl['is_tagging']==4 || $paper[$cl['exam_group_id']]==4){
  165. echo "<span style='color:#619aff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$paper[$cl['exam_group_id']]]."</span> ";
  166. echo '<span class="iconfont click-sc addbx sendLabelTask"
  167. examId="'.$cl["exam_id"].'"
  168. examName="'.$cl["print_name"].'"
  169. subjectId="'.$cl["subject_id"].'"
  170. createTime="'.$cl["create_time"].'"
  171. isLabelled = "'.$cl['is_tagging'].'"
  172. status = "2"
  173. isTagging="1"
  174. type="resend"
  175. aria-hidden="true" title="重新发送">&#xe71f;</span>';
  176. }elseif($cl['is_tagging']==5 || $paper[$cl['exam_group_id']]==5){
  177. echo "<span style='color:#619aff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$paper[$cl['exam_group_id']]]."</span> ";
  178. }
  179. }else{
  180. echo "<span style='color:#619aff;font-weight:normal;'>新:未发送</span> ";
  181. echo '<span class="iconfont click-sc addbx sendLabelTask"
  182. examId="'.$cl["exam_id"].'"
  183. examName="'.$cl["print_name"].'"
  184. subjectId="'.$cl["subject_id"].'"
  185. createTime="'.$cl["create_time"].'"
  186. isLabelled = "'.$cl['is_tagging'].'"
  187. status = "0"
  188. isTagging="1"
  189. type="send"
  190. aria-hidden="true" title="发送试题标注">&#xe71f;
  191. </span>';
  192. }
  193. }
  194. ?>