third.php 14 KB

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