detail.php 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  1. <?php
  2. use yii\helpers\Url;
  3. use yii\helpers\Html;
  4. use yii\widgets\LinkPager;
  5. ?>
  6. <link rel="stylesheet" href="/css/reset.css">
  7. <link rel="stylesheet" href="/js/layui/css/layui.css">
  8. <link href="/css/mission-details.css " rel="stylesheet">
  9. <script src="/js/assist/drag.js" type="text/javascript"></script>
  10. <div class="main-content-inner">
  11. <style>
  12. p{
  13. word-wrap: break-word;
  14. word-break: break-all;
  15. overflow: hidden;
  16. }
  17. </style>
  18. <div class="mission-details">
  19. <div class="mission-head">
  20. <h3>后台协助任务详情
  21. <span class="highlight-err">
  22. <i class="layui-icon layui-icon-tips"></i>
  23. </span>
  24. <a href="javascript:history.back(-1)" class="fr" style="font-size: 14px">返回</a>
  25. </h3>
  26. <p>考试名称:<?php echo $task['exam_name']?></p>
  27. <p>
  28. <span>考试学科:<?php echo Yii::app()->params['subjectId'][$task['subject_id']]?></span>
  29. <span>考试时间:<?php echo $task['exam_date']?></span>
  30. <span>学校名称:<?php echo $task['school_name']?></span>
  31. <span>学校地址:<?php echo $task['address']?></span>
  32. <span>学管姓名:<?php echo $task['coach_name']?></span>
  33. <span>学管手机号:<?php echo $task['coach_mobile']?></span>
  34. </p>
  35. </div>
  36. <hr class="layui-bg-gray">
  37. <div class="mission-card-box">
  38. <?php
  39. if(isset($task) && $task['answer_sheet_task']>0){
  40. ?>
  41. <div class="card">
  42. <div class="card-title">
  43. <p>
  44. <span class="oblique-line">//////</span>
  45. <span class="card-name">答题卡</span>
  46. <span class="oblique-line">//////</span>
  47. </p>
  48. <?php
  49. if(isset($task) && $task['answer_sheet_task']>0){
  50. if($task['answer_sheet_task']==1){
  51. //echo '<img class="processing-status" src="/images/img-acceptance.png" alt="受理中">';
  52. }elseif($task['answer_sheet_task']==2){
  53. echo '<img class="processing-status" src="/images/img-acceptance.png" alt="受理中">';
  54. }elseif($task['answer_sheet_task']==3){
  55. echo '<img class="processing-status" src="/images/img-complete.png" alt="已完成">';
  56. }
  57. }
  58. ?>
  59. </div>
  60. <div class="card-content">
  61. <form action="" method="post" enctype="multipart/form-data" id="answer_card_form">
  62. <div class="card-item">
  63. <div class="card-item-title">
  64. <i class="start-green"></i>
  65. <span class="must">*</span>
  66. <span class="card-item-title-name">答题卡图片</span>
  67. <i class="layui-icon layui-icon-about open-tips" tipstext="请按顺序上传答题卡图片"></i>
  68. <label class="up-data" style="display: none">
  69. <span>点击上传</span>
  70. <input type="file" id="fileImg" name="img" accept="image/*"
  71. style="display: none;" />
  72. </label>
  73. </div>
  74. <div class="card-item-content">
  75. <div class="up-img-look-box" id="imgPreview">
  76. <?php
  77. if(isset($task['answer_card_img'])){
  78. $imgArr=explode(',',$task['answer_card_img']);
  79. foreach ($imgArr as $img){
  80. echo '<span class="img-wrap"><a href="'.$img.'" class="downLoadUrl" ><img src="'.$img.'"></a></span>';
  81. }
  82. }
  83. ?>
  84. </div>
  85. </div>
  86. </div>
  87. <div class="card-item">
  88. <div class="card-item-title">
  89. <i class="start-green"></i>
  90. <span class="must">*</span>
  91. <span class="card-item-title-name">试卷文件</span>
  92. <i class="layui-icon layui-icon-about open-tips"
  93. tipstext="请上传考试试卷文件,后台工作人员需要以此作为模板制作的参考依据"></i>
  94. <label class="up-data" style="display: none">
  95. <span>点击上传</span>
  96. <input type="file" id="fileDoc" name="doc" style="display: none;" />
  97. <input type="hidden" name="paperDoc">
  98. </label>
  99. </div>
  100. <div class="card-item-title" style="margin-left: 24px">
  101. <span class="must"> *</span>
  102. <span class="">试卷文件中,需体现出</span>
  103. <span class="highlight-green">题型信息</span><br />
  104. <span class="highlight-green">(单选/多选/填空/解答/选做等)、分值信息、选项答案</span>
  105. </div>
  106. <div class="card-item-content">
  107. <?php
  108. if(isset($task['paper_file_img'])){
  109. if($task['paper_file_title']){
  110. $paperFileName=$task['paper_file_title'];
  111. }else{
  112. preg_match('/\/([^\/]+\.[a-z]+)[^\/]*$/',$task['paper_file_img'],$match);
  113. $paperFileName=$match[1];
  114. }
  115. echo '<a href="'.$task['paper_file_img'].'" title="'.$paperFileName.'" class="downLoadUrl" id="docName">试卷:'.$paperFileName.'</a>';
  116. }
  117. ?>
  118. </div>
  119. </div>
  120. <div class="card-item">
  121. <div class="card-item-title">
  122. <i class="start-green"></i>
  123. <span class="must">*</span>
  124. <span class="card-item-title-name">考号类型</span>
  125. <i class="layui-icon layui-icon-about open-tips" tipstext="请选择您当前需要使用的考号类型"></i>
  126. </div>
  127. <div class="card-item-content">
  128. <?php
  129. $check[1]='';
  130. $check[2]='';
  131. if($task['number_type']){
  132. if($task['number_type']==1){
  133. $check[1]='checked';
  134. }elseif($task['number_type']==2){
  135. $check[2]='checked';
  136. }elseif($task['number_type']==3){
  137. $check[1]='checked';
  138. $check[2]='checked';
  139. }
  140. }
  141. ?>
  142. <label><input type="checkbox" class="card_type" disabled name="testNumberType" <?php echo $check[1]?> value="1" />填涂考号</label>
  143. <label><input type="checkbox" class="card_type" disabled name="testNumberType" <?php echo $check[2]?> value="2" />条形码</label>
  144. </div>
  145. </div>
  146. <div class="card-item">
  147. <div class="card-item-title">
  148. <i class="start-green"></i>
  149. <span class="card-item-title-name">备注(选填)</span>
  150. <i class="layui-icon layui-icon-about open-tips" tipstext="可选择性填写对当前协助任务的说明"></i>
  151. </div>
  152. <div class="card-item-content">
  153. <?php
  154. if($task['answer_card_mark']){
  155. echo $task['answer_card_mark'];
  156. }else{
  157. echo '无';
  158. }
  159. ?>
  160. </div>
  161. </div>
  162. <div class="card-item">
  163. <div class="card-item-title">
  164. <i class="start-green"></i>
  165. <span class="card-item-title-name">动态详情</span>
  166. <i class="layui-icon layui-icon-about open-tips" tipstext="跟踪当前任务的处理进展情况"></i>
  167. </div>
  168. <div class="card-item-content">
  169. <?php
  170. if($task['answer_sheet_task']){
  171. $status='未发送';
  172. switch ($task['answer_sheet_task']){
  173. case 1:
  174. $status='排队中';
  175. break;
  176. case 2:
  177. $status='受理中';
  178. break;
  179. case 3:
  180. $status='已完成';
  181. break;
  182. case 4:
  183. $status='已撤消';
  184. break;
  185. }
  186. echo '<p class="state-details">';
  187. echo '<span class="">状态:'.$status.'</span>';
  188. echo '<span class="">发送时间:'.date('Y-m-d H:i:s',$task['ast_create_time']).'</span>';
  189. echo '</p>';
  190. echo '<p class="state-details">';
  191. echo '<span>任务耗时:'.$task['AstConsuming'].'</span>';
  192. echo '<span>受理专家:'.$task['user'].'</span>';
  193. echo '</p>';
  194. }else{
  195. echo '<p class="state-details">';
  196. echo '<span class="">状态:未发送</span>';
  197. echo '<span class="">发送时间:--</span>';
  198. echo '</p>';
  199. echo '<p class="state-details">';
  200. echo '<span>任务耗时:--</span>';
  201. echo '<span>受理专家:--</span>';
  202. echo '</p>';
  203. }
  204. ?>
  205. </div>
  206. </div>
  207. <div class="btn-box">
  208. <?php
  209. if($our==1 && $task['answer_sheet_task']==2){
  210. echo '<button type="button" sheet_id="'.$task['sheet_id'].'" class="layui-btn layui-btn-radius layui-btn-primary confirm-up-analysis createSheet">去处理</button>';
  211. }
  212. ?>
  213. </div>
  214. </form>
  215. </div>
  216. </div>
  217. <?php
  218. }
  219. if(isset($task) && $task['paper_task']>0){
  220. ?>
  221. <div class="card">
  222. <div class="card-title">
  223. <p>
  224. <span class="oblique-line">//////</span>
  225. <span class="card-name">试卷</span>
  226. <span class="oblique-line">//////</span>
  227. </p>
  228. <!-- <img class="processing-status" src="./img/img-acceptance.png" alt="受理中"> -->
  229. <!-- <img class="processing-status" src="./img/img-complete.png" alt="已完成"> -->
  230. <?php
  231. if(isset($task) && $task['paper_task']>0){
  232. if($task['paper_task']==1){
  233. // echo '<img class="processing-status" src="/images/img-acceptance.png" alt="受理中">';
  234. }elseif($task['paper_task']==2){
  235. echo '<img class="processing-status" src="/images/img-acceptance.png" alt="受理中">';
  236. }elseif($task['paper_task']==3){
  237. echo '<img class="processing-status" src="/images/img-complete.png" alt="已完成">';
  238. }
  239. }
  240. ?>
  241. </div>
  242. <div class="card-content">
  243. <form>
  244. <div class="card-item">
  245. <div class="card-item-title">
  246. <i class="start-green"></i>
  247. <span class="must">*</span>
  248. <span class="card-item-title-name">试卷图片</span>
  249. <i class="layui-icon layui-icon-about open-tips" tipstext="请按顺序上传试卷图片"></i>
  250. <label class="up-data" style="display:none;">
  251. <span>点击上传</span>
  252. <input type="file" id="testImg" name="img" accept="image/*"
  253. style="display: none;" />
  254. </label>
  255. </div>
  256. <div class="card-item-content">
  257. <div class="up-img-look-box" id="testImgImgPreview">
  258. <?php
  259. if(isset($task['paper_img'])){
  260. $imgArr=explode(',',$task['paper_img']);
  261. foreach ($imgArr as $img){
  262. echo '<span class="img-wrap"><a href="'.$img.'" class="downLoadUrl" ><img src="'.$img.'"></a></span>';
  263. }
  264. }
  265. ?>
  266. </div>
  267. </div>
  268. </div>
  269. <div class="card-item">
  270. <div class="card-item-title">
  271. <i class="start-green"></i>
  272. <span class="must">*</span>
  273. <span class="card-item-title-name">试卷结构</span>
  274. <i class="layui-icon layui-icon-about open-tips" tipstext="确认答题卡切割后的试题结构"></i>
  275. </div>
  276. <div class="card-item-content">
  277. <?php
  278. if(isset($task['paper_topic']['items']) && !empty($task['paper_topic']['items'])){
  279. if(isset($task['paper_topic']['items'][1]) && $task['paper_topic']['items'][1]['no']){
  280. echo '<p>单选题:'.implode(',',$task['paper_topic']['items'][1]['no']).'</p>';
  281. }
  282. if(isset($task['paper_topic']['items'][11]) && $task['paper_topic']['items'][11]['no']){
  283. echo '<p>多选题:'.implode(',',$task['paper_topic']['items'][11]['no']).'</p>';
  284. }
  285. if(isset($task['paper_topic']['items'][4]) && $task['paper_topic']['items'][4]['no']){
  286. echo '<p>判断题:'.implode(',',$task['paper_topic']['items'][4]['no']).'</p>';
  287. }
  288. if(isset($task['paper_topic']['items'][5]) && $task['paper_topic']['items'][5]['no']){
  289. echo '<p>填空题:'.implode(',',$task['paper_topic']['items'][5]['no']).'</p>';
  290. }
  291. if(isset($task['paper_topic']['items'][7]) && $task['paper_topic']['items'][7]['no']){
  292. echo '<p>解答题:'.implode(',',$task['paper_topic']['items'][7]['no']).'</p>';
  293. }
  294. if(isset($task['paper_topic']['items'][17]) && $task['paper_topic']['items'][17]['no']){
  295. echo '<p>选做题:'.implode(',',$task['paper_topic']['items'][17]['no']).'</p>';
  296. }
  297. }else{
  298. echo '<p>答题卡设置未完成,无试题结构</p>';
  299. }
  300. ?>
  301. </div>
  302. </div>
  303. <div class="card-item">
  304. <div class="card-item-title">
  305. <i class="start-green"></i>
  306. <span class="card-item-title-name">备注(选填)</span>
  307. <i class="layui-icon layui-icon-about open-tips" tipstext="可选择性填写对当前协助任务的说明"></i>
  308. </div>
  309. <div class="card-item-content">
  310. <?php
  311. if($task['paper_mark']){
  312. echo $task['paper_mark'];
  313. }else{
  314. echo '无';
  315. }
  316. ?>
  317. </div>
  318. </div>
  319. <div class="card-item">
  320. <div class="card-item-title">
  321. <i class="start-green"></i>
  322. <span class="card-item-title-name">动态详情</span>
  323. <i class="layui-icon layui-icon-about open-tips" tipstext="跟踪当前任务的处理进展情况"></i>
  324. <!-- <span class="highlight-err" style="margin-left: 138px">提示:请去确认试卷切割是否正确</span> -->
  325. </div>
  326. <div class="card-item-content">
  327. <?php
  328. if($task['paper_task']){
  329. $status='未发送';
  330. switch ($task['paper_task']){
  331. case 1:
  332. $status='排队中';
  333. break;
  334. case 2:
  335. $status='受理中';
  336. break;
  337. case 3:
  338. $status='已完成';
  339. break;
  340. case 4:
  341. $status='已撤消';
  342. break;
  343. }
  344. echo '<p class="state-details">';
  345. echo '<span class="">状态:'.$status.'</span>';
  346. echo '<span class="">发送时间:'.date('Y-m-d H:i:s',$task['ppt_create_time']).'</span>';
  347. echo '</p>';
  348. echo '<p class="state-details">';
  349. echo '<span>任务耗时:'.$task['PptConsuming'].'</span>';
  350. echo '<span>受理专家:'.$task['user'].'</span>';
  351. echo '</p>';
  352. }else{
  353. echo '<p class="state-details">';
  354. echo '<span class="">状态:未发送</span>';
  355. echo '<span class="">发送时间:--</span>';
  356. echo '</p>';
  357. echo '<p class="state-details">';
  358. echo '<span>任务耗时:--</span>';
  359. echo '<span>受理专家:--</span>';
  360. echo '</p>';
  361. }
  362. ?>
  363. </div>
  364. </div>
  365. <div class="btn-box">
  366. <?php
  367. if($our==1 && $task['paper_task']==2){
  368. echo '<button type="button" template_id="'.$task['paper_template'].'" tpl_index="'.$task['tpl_index'].'" class="layui-btn layui-btn-radius layui-btn-primary confirm-up-analysis uploadPaper">去处理</button>';
  369. }
  370. ?>
  371. </div>
  372. </form>
  373. </div>
  374. </div>
  375. <?php
  376. }
  377. if(isset($task) && $task['parse_task']>0){
  378. ?>
  379. <div class="card">
  380. <div class="card-title">
  381. <p>
  382. <span class="oblique-line">//////</span>
  383. <span class="card-name">答案解析</span>
  384. <span class="oblique-line">//////</span>
  385. <?php
  386. if(isset($task) && $task['parse_task']>0){
  387. if($task['parse_task']==1){
  388. // echo '<img class="processing-status" src="/images/img-acceptance.png" alt="受理中">';
  389. }elseif($task['parse_task']==2){
  390. echo '<img class="processing-status" src="/images/img-acceptance.png" alt="受理中">';
  391. }elseif($task['parse_task']==3){
  392. echo '<img class="processing-status" src="/images/img-complete.png" alt="已完成">';
  393. }
  394. }
  395. ?>
  396. </p>
  397. </div>
  398. <div class="card-content">
  399. <form>
  400. <div class="card-item">
  401. <div class="card-item-title">
  402. <i class="start-green"></i>
  403. <span class="must">*</span>
  404. <span class="card-item-title-name">答案解析图片</span>
  405. <i class="layui-icon layui-icon-about open-tips" tipstext="请按顺序上传答案解析图片"></i>
  406. <label class="up-data" style="display: none">
  407. <span>点击上传</span>
  408. <input type="file" id="AnswerImg" name="img" accept="image/*"
  409. style="display: none;" />
  410. </label>
  411. </div>
  412. <div class="card-item-content">
  413. <div class="up-img-look-box" id="AnswerImgImgPreview">
  414. <?php
  415. if(isset($task['parse_img'])){
  416. $imgArr=explode(',',$task['parse_img']);
  417. foreach ($imgArr as $img){
  418. echo '<span class="img-wrap"><a href="'.$img.'" class="downLoadUrl" ><img src="'.$img.'"></a></span>';
  419. }
  420. }
  421. ?>
  422. </div>
  423. </div>
  424. </div>
  425. <div class="card-item">
  426. <div class="card-item-title">
  427. <i class="start-green"></i>
  428. <span class="must">*</span>
  429. <span class="card-item-title-name">试卷结构</span>
  430. </div>
  431. <div class="card-item-content">
  432. <?php
  433. if(isset($task['paper_topic']['items']) && !empty($task['paper_topic']['items'])){
  434. if(isset($task['paper_topic']['items'][1]) && $task['paper_topic']['items'][1]['no']){
  435. echo '<p>单选题:'.implode(',',$task['paper_topic']['items'][1]['no']).'</p>';
  436. }
  437. if(isset($task['paper_topic']['items'][11]) && $task['paper_topic']['items'][11]['no']){
  438. echo '<p>多选题:'.implode(',',$task['paper_topic']['items'][11]['no']).'</p>';
  439. }
  440. if(isset($task['paper_topic']['items'][4]) && $task['paper_topic']['items'][4]['no']){
  441. echo '<p>判断题:'.implode(',',$task['paper_topic']['items'][4]['no']).'</p>';
  442. }
  443. if(isset($task['paper_topic']['items'][5]) && $task['paper_topic']['items'][5]['no']){
  444. echo '<p>填空题:'.implode(',',$task['paper_topic']['items'][5]['no']).'</p>';
  445. }
  446. if(isset($task['paper_topic']['items'][7]) && $task['paper_topic']['items'][7]['no']){
  447. echo '<p>解答题:'.implode(',',$task['paper_topic']['items'][7]['no']).'</p>';
  448. }
  449. if(isset($task['paper_topic']['items'][17]) && $task['paper_topic']['items'][17]['no']){
  450. echo '<p>选做题:'.implode(',',$task['paper_topic']['items'][17]['no']).'</p>';
  451. }
  452. }else{
  453. echo '<p>答题卡设置未完成,无试题结构</p>';
  454. }
  455. ?>
  456. </div>
  457. </div>
  458. <div class="card-item">
  459. <div class="card-item-title">
  460. <i class="start-green"></i>
  461. <span class="card-item-title-name">备注(选填)</span>
  462. <i class="layui-icon layui-icon-about open-tips" tipstext="可选择性填写对当前协助任务的说明"></i>
  463. </div>
  464. <div class="card-item-content">
  465. <?php
  466. if($task['parse_mark']){
  467. echo $task['parse_mark'];
  468. }else{
  469. echo '无';
  470. }
  471. ?>
  472. </div>
  473. </div>
  474. <div class="card-item">
  475. <div class="card-item-title">
  476. <i class="start-green"></i>
  477. <span class="card-item-title-name">动态详情</span>
  478. <i class="layui-icon layui-icon-about open-tips" tipstext="跟踪当前任务的处理进展情况"></i>
  479. </div>
  480. <div class="card-item-content">
  481. <?php
  482. if($task['parse_task']){
  483. $status='未发送';
  484. switch ($task['parse_task']){
  485. case 1:
  486. $status='排队中';
  487. break;
  488. case 2:
  489. $status='受理中';
  490. break;
  491. case 3:
  492. $status='已完成';
  493. break;
  494. case 4:
  495. $status='已撤消';
  496. break;
  497. }
  498. echo '<p class="state-details">';
  499. echo '<span class="">状态:'.$status.'</span>';
  500. echo '<span class="">发送时间:'.date('Y-m-d H:i:s',$task['pat_create_time']).'</span>';
  501. echo '</p>';
  502. echo '<p class="state-details">';
  503. echo '<span>任务耗时:'.$task['PatConsuming'].'</span>';
  504. echo '<span>受理专家:'.$task['user'].'</span>';
  505. echo '</p>';
  506. }else{
  507. echo '<p class="state-details">';
  508. echo '<span class="">状态:未发送</span>';
  509. echo '<span class="">发送时间:--</span>';
  510. echo '</p>';
  511. echo '<p class="state-details">';
  512. echo '<span>任务耗时:--</span>';
  513. echo '<span>受理专家:--</span>';
  514. echo '</p>';
  515. }
  516. ?>
  517. </div>
  518. </div>
  519. <div class="btn-box">
  520. <?php
  521. if($our==1 && $task['parse_task']==2){
  522. echo '<button type="button" template_id="'.$task['parse_template'].'" tpl_index="'.$task['tpl_index'].'" class="layui-btn layui-btn-radius layui-btn-primary confirm-up-analysis uploadParse">去处理</button>';
  523. }
  524. ?>
  525. </div>
  526. </form>
  527. </div>
  528. </div>
  529. <?php }?>
  530. </div>
  531. </div>
  532. <input type="hidden" name="exam_group_id" value="<?php echo $task['exam_group_id']?>">
  533. <input type="hidden" name="my_sign_info" value="<?php echo $task['my_sign_info']?>">
  534. <input type="hidden" name="subject_id" value="<?php echo $task['subject_id']?>">
  535. <script>
  536. $(function(){
  537. var exam_group_id=$('input[name=exam_group_id]').val(),
  538. my_sign_info=$('input[name=my_sign_info]').val(),
  539. subject_id=$('input[name=subject_id]').val();
  540. $('.createSheet').click(function(){
  541. sheet_id=$(this).attr('sheet_id');
  542. imgArr=[];
  543. $('#imgPreview img').each(function () {
  544. imgArr.push($(this).attr('src'));
  545. });
  546. $.ajax({
  547. url:'<?php echo $this->createUrl('assistTask/getSheet')?>',
  548. type:'POST',
  549. dataType:'json',
  550. data:{exam_group_id:exam_group_id},
  551. success:function(res){
  552. if(res.status==1){
  553. evaluationClient.createAnswerSheet(res.data+","+exam_group_id+","+subject_id+","+my_sign_info);
  554. }
  555. }
  556. })
  557. });
  558. $('.uploadPaper').click(function(){
  559. tempalte_id=$(this).attr('template_id');
  560. tplIndex=$(this).attr('tpl_index');
  561. imgArr=[];
  562. $('#testImgImgPreview img').each(function () {
  563. imgArr.push($(this).attr('src'));
  564. });
  565. evaluationClient.loadExamPaper(tempalte_id+','+exam_group_id+','+subject_id+','+tplIndex+","+my_sign_info);
  566. });
  567. $('.uploadParse').click(function(){
  568. tempalte_id=$(this).attr('template_id');
  569. imgArr=[];
  570. $('#AnswerImgImgPreview img').each(function () {
  571. imgArr.push($(this).attr('src'));
  572. });
  573. evaluationClient.loadAnswerParsing(tempalte_id+','+exam_group_id+','+subject_id+","+my_sign_info);
  574. });
  575. $('.downLoadUrl').click(function(){
  576. url=$(this).attr('href');
  577. title=$(this).attr('title');
  578. if(title==undefined){
  579. title='';
  580. }
  581. window.location.href='<?php echo $this->createUrl('assistTask/download') ?>?url='+url+'&title='+title;
  582. return false;
  583. });
  584. })
  585. </script>