status_3.php 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. <?php if($cl['is_answersheet']==1){
  2. if(!$cl['qxk_paper_id']) {
  3. if ($cl["is_labelled"] == 1) {
  4. if ($cl['labelled_type'] == 2) {
  5. echo "<span style='color:#2977ff;font-weight:normal;'>老:已标注(校)</span>";
  6. } else {
  7. echo "<span style='color:#2977ff;font-weight:normal;'>老:已标注(后)</span>";
  8. }
  9. } else if ($cl["is_labelled"] == 2) {
  10. echo "<span style='color:orange;font-weight:normal;'>老:已发送</span>";
  11. } else if ($cl["is_labelled"] == 3) {
  12. echo "<span style='color:orange;font-weight:normal;'>老:标注中</span>";
  13. } else if ($cl["is_labelled"] == 4) {
  14. echo "<span style='color:orange;font-weight:normal;'>老:已取消</span>";
  15. } else if ($cl["is_labelled"] == 5) {
  16. echo "<span style='color:orange;font-weight:normal;'>老:补题中</span>";
  17. }
  18. if ($cl["is_labelled"] == 0 && $cl['tw_status'] == 2) {
  19. ?>
  20. <span style='color:#2977ff;font-weight:normal;'>老:未发送</span>
  21. <span class="iconfont click-sc addbx sendLabelTask"
  22. isAnswerSheet="1" type="send"
  23. examId="<?php echo $cl["exam_id"]; ?>"
  24. examName="<?php echo $cl["exam_name"]; ?>"
  25. subjectId="<?php echo $cl["subject_id"]; ?>"
  26. createTime="<?php echo $cl["examDate"]; ?>" aria-hidden="true"
  27. title="发送试题标注">&#xe71f;</span>
  28. <?php } elseif ($cl['is_labelled'] == 4) {
  29. ?>
  30. <span class="iconfont click-sc addbx sendLabelTask"
  31. examId="<?php echo $cl["exam_id"]; ?>"
  32. examName="<?php echo $cl["exam_name"]; ?>"
  33. subjectId="<?php echo $cl["subject_id"]; ?>"
  34. createTime="<?php echo $cl["create_time"]; ?>"
  35. status='2'
  36. <?php
  37. if (isset($exam_sheets[$cl['exam_group_id']])) {
  38. echo ' isAnswerSheet=1 ';
  39. } else {
  40. echo ' isAnswerSheet=0 ';
  41. }
  42. ?>
  43. type="resend"
  44. aria-hidden="true" title="重新发送">&#xe71f;</span>
  45. <?php } elseif ($cl['is_labelled'] == 2 || $cl['is_labelled'] == 3) {
  46. ?>
  47. <span class="iconfont click-sc addbx sendLabelTask"
  48. isAnswerSheet="1" status="4" type="cancel"
  49. examId="<?php echo $cl["exam_id"]; ?>"
  50. examName="<?php echo $cl["exam_name"]; ?>"
  51. subjectId="<?php echo $cl["subject_id"]; ?>"
  52. createTime="<?php echo $cl["examDate"]; ?>" aria-hidden="true"
  53. title="取消试题标注"><i class="fa fa-reply"></i></span>
  54. <?php
  55. }
  56. echo '<div style="clear:both;width:100%;height:5px;"></div>';
  57. if(isset($cl['is_tagging'])){
  58. if (isset($exam_sheets[$cl['exam_group_id']]) ) {
  59. $isAnswerSheet=1;
  60. }else{
  61. $isAnswerSheet=0;
  62. }
  63. if(isset($cl['estimate_time'])){
  64. $txt='预计完成时间:'.$cl['estimate_time'].' 点击可撤回';
  65. }else{
  66. $txt='点击可撤回';
  67. }
  68. if($cl['is_tagging']==1){
  69. echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝已标注</span>";
  70. }elseif($cl['is_tagging']==2){
  71. echo "<span style='color:#2977ff;font-weight:normal;'>新:已发送未开始</span> ";
  72. echo '<span class="iconfont click-delete addbx sendLabelTask"
  73. examId="'.$cl["exam_id"].'"
  74. examName="'.$cl["exam_name"].'"
  75. subjectId="'.$cl["subject_id"].'"
  76. createTime="'.$cl["create_time"].'"
  77. isLabelled = "'.$cl['is_tagging'].'"
  78. status = "4"
  79. isTagging="1"
  80. type="cancel"
  81. aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
  82. }elseif($cl['is_tagging']==3){
  83. echo "<span style='color:#2977ff;font-weight:normal;'>新:标注中</span> ";
  84. echo '<span class="iconfont click-delete addbx sendLabelTask"
  85. examId="'.$cl["exam_id"].'"
  86. examName="'.$cl["exam_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($cl['is_tagging']==4){
  95. echo "<span style='color:#2977ff;font-weight:normal;'>新:已取消</span> ";
  96. echo '<span class="iconfont click-sc addbx sendLabelTask"
  97. examId="'.$cl["exam_id"].'"
  98. examName="'.$cl["exam_name"].'"
  99. subjectId="'.$cl["subject_id"].'"
  100. createTime="'.$cl["create_time"].'"
  101. isLabelled = "'.$cl['is_tagging'].'"
  102. status = "2"
  103. isTagging="1"
  104. type="resend"
  105. isAnswerSheet="'.$isAnswerSheet.'"
  106. aria-hidden="true" title="重新发送">&#xe71f;</span>';
  107. }elseif($cl['is_tagging']==5){
  108. echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝补题中</span>";
  109. }else{
  110. echo "<span style='color:#2977ff;font-weight:normal;'>新:未发送</span> ";
  111. if($cl['tw_status']==2){
  112. echo '<span class="iconfont click-sc addbx sendLabelTask"
  113. examId="'.$cl["exam_id"].'"
  114. examName="'.$cl["exam_name"].'"
  115. subjectId="'.$cl["subject_id"].'"
  116. createTime="'.$cl["create_time"].'"
  117. isLabelled = "'.$cl['is_tagging'].'"
  118. status = "0"
  119. isTagging="1"
  120. type="send"
  121. isAnswerSheet="'.$isAnswerSheet.'"
  122. aria-hidden="true" title="发送试题标注">&#xe71f;
  123. </span>';
  124. }
  125. }
  126. }
  127. }else{
  128. echo '<div style="clear:both;width:100%;height:5px;"></div>';
  129. $checkLabelled=0;
  130. if($cl['is_tagging']){
  131. $checkLabelled=$cl['is_tagging'];
  132. }elseif($cl['is_labelled']){
  133. $checkLabelled=$cl['is_labelled'];
  134. }
  135. if (isset($exam_sheets[$cl['exam_group_id']]) ) {
  136. $isAnswerSheet=1;
  137. }else{
  138. $isAnswerSheet=0;
  139. }
  140. if(isset($cl['estimate_time'])){
  141. $txt='预计完成时间:'.$cl['estimate_time'].' 点击可撤回';
  142. }else{
  143. $txt='点击可撤回';
  144. }
  145. $labelledStatus=array(
  146. 0=>'未发送', 1=>'已标注',2=>'已发送未开始',3=>'标注中', 4=>'已取消',5=>'补题中'
  147. );
  148. if($cl['is_tagging'] || $cl['is_labelled']){
  149. if($cl['is_tagging']==1 || $cl['is_labelled']==1){
  150. echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$cl['is_labelled']]."</span> ";
  151. }elseif($cl['is_tagging']==2 || $cl['is_labelled']==2){
  152. echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$cl['is_labelled']]."</span> ";
  153. echo '<span class="iconfont click-delete addbx sendLabelTask"
  154. examId="'.$cl["exam_id"].'"
  155. examName="'.$cl["exam_name"].'"
  156. subjectId="'.$cl["subject_id"].'"
  157. createTime="'.$cl["create_time"].'"
  158. isLabelled = "'.$cl['is_tagging'].'"
  159. status = "4"
  160. isTagging="1"
  161. type="cancel"
  162. aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
  163. }elseif($cl['is_tagging']==3 || $cl['is_labelled']==3){
  164. echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$cl['is_labelled']]."</span> ";
  165. echo '<span class="iconfont click-delete addbx sendLabelTask"
  166. examId="'.$cl["exam_id"].'"
  167. examName="'.$cl["exam_name"].'"
  168. subjectId="'.$cl["subject_id"].'"
  169. createTime="'.$cl["create_time"].'"
  170. isLabelled = "'.$cl['is_tagging'].'"
  171. status = "4"
  172. isTagging="1"
  173. type="cancel"
  174. aria-hidden="true" title="'.$txt.'"><i class="fa fa-reply"></i></span>';
  175. }elseif($cl['is_tagging']==4 || $cl['is_labelled']==4){
  176. echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$cl['is_labelled']]."</span> ";
  177. echo '<span class="iconfont click-sc addbx sendLabelTask"
  178. examId="'.$cl["exam_id"].'"
  179. examName="'.$cl["exam_name"].'"
  180. subjectId="'.$cl["subject_id"].'"
  181. createTime="'.$cl["create_time"].'"
  182. isLabelled = "'.$cl['is_tagging'].'"
  183. status = "2"
  184. isTagging="1"
  185. type="resend"
  186. isAnswerSheet="'.$isAnswerSheet.'"
  187. aria-hidden="true" title="重新发送">&#xe71f;</span>';
  188. }elseif($cl['is_tagging']==5 || $cl['is_labelled']==5){
  189. echo "<span style='color:#2977ff;font-weight:normal;'>新:方法宝".$labelledStatus[$cl['is_tagging']].",学习宝".$labelledStatus[$cl['is_labelled']]."</span> ";
  190. }
  191. }else{
  192. echo "<span style='color:#2977ff;font-weight:normal;'>新:未发送</span> ";
  193. if($cl['tw_status']==2){
  194. echo '<span class="iconfont click-sc addbx sendLabelTask"
  195. examId="'.$cl["exam_id"].'"
  196. examName="'.$cl["exam_name"].'"
  197. subjectId="'.$cl["subject_id"].'"
  198. createTime="'.$cl["create_time"].'"
  199. isLabelled = "'.$cl['is_tagging'].'"
  200. status = "0"
  201. isTagging="1"
  202. type="send"
  203. isAnswerSheet="'.$isAnswerSheet.'"
  204. aria-hidden="true" title="发送试题标注">&#xe71f;
  205. </span>';
  206. }
  207. }
  208. }
  209. }else{
  210. if($cl['tw_status']==2){
  211. echo "<span style='color:orange;font-weight:normal;'>解析成功</span>";
  212. }elseif($cl['tw_status']==3){
  213. ?>
  214. <a style='color:orange;font-weight:normal;cursor:pointer' title="<?php echo $cl['wrong_reason'] ?>">解析失败</a>
  215. <?php
  216. // echo "<span style='color:orange;font-weight:normal;cursor:pointer' onclick=showError('".($cl['wrong_reason'])."')>解析失败</span>";
  217. }elseif($cl['tw_status']==5){
  218. echo "<span style='color:orange;font-weight:normal;'>解析待校对</span>";
  219. if($cl['allsubject_file_path']){
  220. if(isset($cl['estimate'])){
  221. $estimate=date('Y-m-d H:i',$cl['estimate']);
  222. }else{
  223. $estimate='';
  224. }
  225. ?>
  226. <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="发送校标任务">&#xe71f;</span>
  227. <?php
  228. }
  229. }elseif($cl['tw_status']==6){
  230. echo "<span style='color:orange;font-weight:normal;'>校对中</span>";
  231. if($cl['allsubject_file_path']){
  232. if(isset($cl['estimate_time'])){
  233. echo '<span class="iconfont click-sc addbx" aria-hidden="true" title="预计标注完成时间:'.$cl['estimate_time'].',如有特殊情况请联系学科老师">预</span>';
  234. }else{
  235. echo '<span class="iconfont click-sc addbx" aria-hidden="true" title="如有特殊情况请联系学科老师">预</span>';
  236. }
  237. }
  238. }elseif($cl['tw_status']==7){
  239. echo "<span style='color:orange;font-weight:normal;'>已退回</span>";
  240. echo '<span class="iconfont click-sc addbx show_wrong_reason" aria-hidden="true" txt="'.$cl['wrong_reason'].'" >查</span>';
  241. }elseif($cl['word_path'] || $cl['allsubject_file_path']){
  242. echo "<span style='color:orange;font-weight:normal;'>等待解析</span>";
  243. }else{
  244. echo "<span style='color:orange;font-weight:normal;'>未上传</span>";
  245. }
  246. }?>