index.php 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <link rel="stylesheet" href="/css/online/print_index.css?v=1.10">
  8. <link rel="stylesheet" href="/js/kityformula/assets/styles/base.css">
  9. <link rel="stylesheet" href="/js/kityformula/assets/styles/ui.css">
  10. <link rel="stylesheet" href="/js/kityformula/assets/styles/scrollbar.css">
  11. <title>答题卡制作</title>
  12. </head>
  13. <body>
  14. <div class="hgc_print" id="hgc_print">
  15. <div class="contentWrap" id="contentWrap">
  16. <div id="printcontent" class="printcontent">
  17. <div class="pageContent">
  18. <div class="dtk-content">
  19. <div class="dtkName" id="dtkName">
  20. <textarea maxLength="45"></textarea>
  21. </div>
  22. <div class="examineeInfo clearfix" id="examineeInfoForLayout">
  23. <div class="item">
  24. <em>班级:</em>
  25. <span class="className"></span>
  26. </div>
  27. <div class="item">
  28. <em>姓名:</em>
  29. <span class="examineeName"></span>
  30. </div>
  31. </div>
  32. <div class="examInfo clearfix" id="examInfo">
  33. <span>时间:90分钟</span>
  34. <span>满分:100分</span>
  35. <span>命卷人:王老师</span>
  36. <span>审核人:王老师</span>
  37. </div>
  38. <div class="noticeInfo">
  39. <i class="simpleBorder right"></i>
  40. <i class="simpleBorder"></i>
  41. <div class="tipsInfo">
  42. <h3 class="noticeTitle">
  43. <i>注</i>
  44. <i>意</i>
  45. <i>事</i>
  46. <i>项</i>
  47. </h3>
  48. <div class="noticeDetail" contenteditable="true" id="noticeDetailMsgBox">
  49. <p id="noticeDetailMsgNumber">1、考生务必正确书写班级、姓名,请填涂系统准考证号。</p>
  50. <p>2、考生务必用2B铅笔填涂。</p>
  51. <p>3、考生务必在答题卡指定位置作答,并保持卷面整洁。</p>
  52. <p>4、如需要条形码,则考生务必要在指定位置正确贴好条形码。</p>
  53. <p>5、教师务必使用红笔阅卷。</p>
  54. </div>
  55. </div>
  56. <div class="warmingInfo">
  57. <div class="noticeEwm"><i class="cover red" id="ewmTips">系统生成<br />考生二维码</i><img src="" class="dtkEwm" id="dtkEwm" alt=""></div>
  58. <div class="noticeLose">
  59. <h4>缺考标记 <i class="absentMark"></i></h4>
  60. <p>考生禁止填涂缺考标记!</p>
  61. <p>只能由监考老师负责填涂。</p>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="examNumberLayout">
  66. <div class="examNumber" id="hgc_examNumber">
  67. <ul class="ticketNumber">
  68. </ul>
  69. <div class="barCode">
  70. <div class="codeImg">
  71. <div class="barCodeTip">
  72. <i>条</i>
  73. <i>形</i>
  74. <i>码</i>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. <div class="examNumber examNumberForQrCode" id="hgc_examNumberForOnlyBarcode">
  80. <div class="ticketNumber">
  81. <em>准考证号</em>
  82. <p>
  83. <span></span>
  84. <span></span>
  85. <span></span>
  86. <span></span>
  87. <span></span>
  88. <span></span>
  89. <span></span>
  90. <span></span>
  91. </p>
  92. </div>
  93. <div class="barCode">
  94. <div class="codeImg">
  95. <div class="barCodeTip">
  96. <i>条</i>
  97. <i>形</i>
  98. <i>码</i>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. <div class="pageLabel">
  106. <div class="number item">第1页 共 <b class="totalPage">2</b> 页</div>
  107. <div class="size item">
  108. <div class="itemContent">
  109. 第1纸张<b class="currentPaperPage">正面1</b>
  110. </div>
  111. </div>
  112. </div>
  113. <div class="bindingLine">
  114. <div class="examineeInfo">
  115. <div class="item">
  116. <!-- <b>贺</b>
  117. <b>国</b>
  118. <b>城</b> -->
  119. <span class="bindLineExamineeName"></span>
  120. <em>
  121. <i>:</i>
  122. <i>名</i>
  123. <i>姓</i>
  124. </em>
  125. </div>
  126. <div class="item">
  127. <span class="bindLineClassName"></span>
  128. <em>
  129. <i>:</i>
  130. <i>级</i>
  131. <i>班</i>
  132. </em>
  133. </div>
  134. </div>
  135. <div class="line">
  136. <span>线</span>
  137. <span>订</span>
  138. <span>装</span>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. <div class="opratorArea">
  145. <div class="disabledCover" id="disabledCover"></div>
  146. <div class="module layout">
  147. <h3>选择答题卡布局</h3>
  148. <div class="paper selOptions">
  149. <span class="name">纸 张</span>
  150. <div class="content">
  151. <div class="h_radioBox" id="paperOptions">
  152. <div class="h_radioItem checked" data-paper="A3">
  153. <i></i><em>A3</em>
  154. </div>
  155. <div class="h_radioItem" data-paper="A4">
  156. <i></i><em>A4</em>
  157. </div>
  158. <div class="h_radioItem" data-paper="16K">
  159. <i></i><em>16K(185*260)</em>
  160. </div>
  161. <div class="h_radioItem" data-paper="8Ks">
  162. <i></i><em>8K(260*370)</em>
  163. </div>
  164. <div class="h_radioItem" data-paper="8Kb">
  165. <i></i><em>8K(270*390)</em>
  166. </div>
  167. </div>
  168. </div>
  169. </div>
  170. <div class="paper selOptions">
  171. <span class="name">方 向</span>
  172. <div class="content">
  173. <div class="h_radioBox" id="paperDirection">
  174. <div class="h_radioItem checked" data-direction="horizontal">
  175. <i></i><em>横版</em>
  176. </div>
  177. <div class="h_radioItem" data-direction="vertical">
  178. <i></i><em>竖版</em>
  179. </div>
  180. </div>
  181. </div>
  182. </div>
  183. <div class="paper selOptions border_b">
  184. <span class="name">分 栏</span>
  185. <div class="content">
  186. <div class="layoutList">
  187. <div class="layoutItem" data-column="1">
  188. <span><i></i></span>
  189. <em>一栏</em>
  190. <b class="icon_current"></b>
  191. </div>
  192. <div class="layoutItem" data-column="2">
  193. <span><i></i><i></i></span>
  194. <em>两栏</em>
  195. <b class="icon_current"></b>
  196. </div>
  197. <div class="layoutItem" data-column="3">
  198. <span><i></i><i></i><i></i></span>
  199. <em>三栏</em>
  200. <b class="icon_current"></b>
  201. </div>
  202. </div>
  203. </div>
  204. </div>
  205. <div class="paper selOptions border_b">
  206. <span class="name">装订线</span>
  207. <div class="content">
  208. <div class="h_radioBox" id="hasBindingLine">
  209. <div class="h_radioItem " data-value="yes">
  210. <i></i><em>有</em>
  211. </div>
  212. <div class="h_radioItem checked" data-value="no">
  213. <i></i><em>无</em>
  214. </div>
  215. </div>
  216. </div>
  217. </div>
  218. <div class="paper selOptions border_b">
  219. <span class="name">信息栏</span>
  220. <div class="content">
  221. <div class="h_radioBox" id="hasPaperMsg">
  222. <div class="h_radioItem checked" data-value="yes">
  223. <i></i><em>有</em>
  224. </div>
  225. <div class="h_radioItem" data-value="no">
  226. <i></i><em>无</em>
  227. </div>
  228. <div class="notice">
  229. <p>选择“有”,还可以在左侧答题卡编辑页进行内容修改配置!</p>
  230. </div>
  231. </div>
  232. </div>
  233. </div>
  234. <div class="paper selOptions border_b">
  235. <span class="name">考 号</span>
  236. <div class="content">
  237. <div class="h_checkBox" id="examNumberConfig">
  238. <div class="h_checkItem checked" data-value="ticketNumber">
  239. <i></i><em>填涂考号</em>
  240. </div>
  241. <div class="h_checkItem checked" data-value="barCode">
  242. <i></i><em>条形码</em>
  243. </div>
  244. </div>
  245. <div class="switch_ewm">
  246. <div class="h_switch" id="useQrCode"></div>
  247. <div class="ewmTip">使用二维码</div>
  248. <div class="notice">
  249. <p>使用二维码,将给每个考生都生成一份定制答题卡,请慎用!</p>
  250. </div>
  251. </div>
  252. </div>
  253. </div>
  254. </div>
  255. <ul class="subjectList" id="subjectList">
  256. </ul>
  257. </div>
  258. <div class="opratorBtns">
  259. <div class="h_btn" id="previewBtn">预览</div>
  260. <div class="h_btn saveBtn" id="saveBtn">保存</div>
  261. <div class="h_btn downLoadBtn" id="downLoadBtn">下载</div>
  262. <div class="h_btn backbtn">
  263. <a href="javascript:history.back(-1);">返回</a>
  264. </div>
  265. </div>
  266. </div>
  267. <div id="formatContent" class="formatContent">
  268. <div class="paper1"></div>
  269. <div class="paper2"></div>
  270. </div>
  271. <!-- 公司编辑器专用 -->
  272. <div class="kf-editor-wrap" id="formulaBox">
  273. <div class="kf-formula-content">
  274. <div id="kfEditorContainer" class="kf-editor"></div>
  275. <div class="kf-formula-btns">
  276. <button id="kf-formula-ensure">确定</button>
  277. <button id="kf-formula-cancel">取消</button>
  278. </div>
  279. </div>
  280. </div>
  281. <!-- 设置信息栏弹窗 -->
  282. <div id="examInfoEditDialog">
  283. <div class="questionEditDialog">
  284. <div class="title">
  285. <span>设置</span>
  286. <i class="btn-hide-dialog"></i>
  287. </div>
  288. <div class="questionEditContent">
  289. <div class="h_checkBox" id="examInfoConfig">
  290. <div class="h_checkItem checked" data-value="wpTimes">
  291. <i></i><em>时间</em>
  292. </div>
  293. <div class="h_checkItem checked" data-value="fullScore">
  294. <i></i><em>满分</em>
  295. </div>
  296. <div class="h_checkItem checked" data-value="wpAuthor">
  297. <i></i><em>命卷人</em>
  298. </div>
  299. <div class="h_checkItem checked" data-value="wpReviewer">
  300. <i></i><em>审核人</em>
  301. </div>
  302. </div>
  303. </div>
  304. <div class="questionBtns">
  305. <div class="h_btn btn-save-examInfo">确定</div>
  306. <div class="h_btn border btn-hide-dialog">取消</div>
  307. </div>
  308. </div>
  309. </div>
  310. <script>
  311. var examGroupId = '<?php echo $exam_group_id?>';
  312. var schoolId='<?php echo $schoolId?>';
  313. var examIds=[];
  314. var examStatus = <?php echo $examStatus; ?>;
  315. <?php
  316. if($examIds){
  317. foreach ($examIds as $id){
  318. echo "examIds.push('".$id."');";
  319. }
  320. }
  321. ?>
  322. </script>
  323. <script src="/js/online/jq.1.11.js"></script>
  324. <!-- layer 组件单独加载 -->
  325. <script src="/js/online/layer/layui.all.js"></script>
  326. <script src="/js/online/qrcode.min.js"></script>
  327. <script src="/js/online/html2canvas.js"></script>
  328. <script src="/js/online/canvas2image.js"></script>
  329. <script src="/js/kityformula/js/kitygraph.all.js"></script>
  330. <script src="/js/kityformula/js/kity-formula-render.all.js"></script>
  331. <script src="/js/kityformula/js/kity-formula-parser.all.min.js"></script>
  332. <script src="/js/kityformula/js/kityformula-editor.all.min.js"></script>
  333. <!-- <script src="/js/online/wangEditor.js?v=1.6"></script> -->
  334. <script src="/js/online/util.js"></script>
  335. <script type="text/javascript" charset="utf-8" src="/js/ueditor/ueditor.config.js"></script>
  336. <script type="text/javascript" charset="utf-8" src="/js/ueditor/ueditor.all.js"> </script>
  337. <!--建议手动加在语言,避免在ie下有时因为加载语言失败导致编辑器加载失败-->
  338. <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型,比如你在配置项目里配置的是英文,这里加载的中文,那最后就是中文-->
  339. <script type="text/javascript" charset="utf-8" src="/js/ueditor/lang/zh-cn/zh-cn.js"></script>
  340. <script type="text/javascript" charset="utf-8" src="/js/ueditor/kityformula-plugin/addKityFormulaDialog.js"></script>
  341. <script type="text/javascript" charset="utf-8" src="/js/ueditor/kityformula-plugin/getKfContent.js"></script>
  342. <script type="text/javascript" charset="utf-8" src="/js/ueditor/kityformula-plugin/defaultFilterFix.js"></script>
  343. <script type="text/javascript" charset="utf-8" src="/js/ueditor/kityformula-plugin/editKityFormulaDialog.js"></script>
  344. <!--ueditor添加作文格子-->
  345. <script type="text/javascript" charset="utf-8" src="/js/ueditor/chinese-lattice/addChineseLatticeDialog.js"></script>
  346. <!-- ueditor添加横线-->
  347. <script type="text/javascript" charset="utf-8" src="/js/ueditor/horizontal-line/addHorizontalLineDialog.js"></script>
  348. <script src="/js/online/enumData.js?v=1.10"></script>
  349. <script src="/js/online/printTpl.js?v=1.10"></script>
  350. <script src="/js/online/print_index.js?v=1.10"></script>
  351. </body>
  352. </html>