answersheet.php 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  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="/answersheet/js/lib/layui/css/layui.css?<?php echo Yii::app()->params['staticVersion']; ?>">
  8. <link rel="stylesheet" href="/answersheet/css/addtopic.css?<?php echo Yii::app()->params['staticVersion']; ?>">
  9. <link rel="stylesheet" href="/js/kityformula/assets/styles/base.css?<?php echo Yii::app()->params['staticVersion']; ?>">
  10. <link rel="stylesheet" href="/js/kityformula/assets/styles/ui.css?<?php echo Yii::app()->params['staticVersion']; ?>">
  11. <link rel="stylesheet" href="/js/kityformula/assets/styles/scrollbar.css?<?php echo Yii::app()->params['staticVersion']; ?>">
  12. <link rel="stylesheet" href="/answersheet/css/reset.css">
  13. <link rel="stylesheet" href="/answersheet/css/common.css">
  14. <link rel="stylesheet" href="/answersheet/css/card.css">
  15. <link rel="stylesheet" href="/answersheet/css/iframe.css">
  16. <link rel="stylesheet" href="/answersheet/fonts/iconfont.css">
  17. <!-- <link rel="stylesheet" href="/answersheet/css/cardmm.css?<?php echo Yii::app()->params['staticVersion']; ?>"> -->
  18. <title>在线答题卡</title>
  19. </head>
  20. <body>
  21. <div class="answer-sheet">
  22. <div class="card-edit-wrap">
  23. <!-- 试卷 -->
  24. <div class="paper-item">
  25. <!-- 装订线开始 -->
  26. <div class="paper-line line-left">
  27. <div class="examinee-info">
  28. <div class="item">
  29. <span class="red bindLineExamineeName"></span>
  30. <em><i>:</i><i>名</i><i>姓</i></em>
  31. </div>
  32. <div class="item">
  33. <span class="red bineLineClassName"></span>
  34. <em ><i>:</i><i>级</i><i>班</i></em>
  35. </div>
  36. </div>
  37. <div class="line">
  38. <span>线</span>
  39. <span>订</span>
  40. <span>装</span>
  41. </div>
  42. </div>
  43. <!-- 装订线结束 -->
  44. <!-- 试卷内容开始 -->
  45. <div class="paper-content">
  46. <!--信息栏开始-->
  47. <div class="paper-info-index">
  48. <div class="paper-title">
  49. <textarea name="name" id="paperTitle"></textarea>
  50. </div>
  51. <div class="paper-grade clearfix">
  52. <div class="item">
  53. <em>班级:</em>
  54. <span class="red className"></span>
  55. </div>
  56. <div class="item">
  57. <em>姓名:</em>
  58. <span class="red examineeName"></span>
  59. </div>
  60. <!---->
  61. </div>
  62. <div class="paper-info exam-info clearfix" id="examInfo">
  63. <span>时间:<input maxlength="9" class="input-paper-info input number" id="paperTime" />分钟</span>
  64. <span>满分:<input readonly="readonly" maxlength="9" class="input-paper-info input number" id="paperTotalScore" />分</span>
  65. <span>命卷人:<input maxlength="9" class="input-paper-info input" id="paperAuthor"/></span>
  66. <span>审核人:<input maxlength="9" class="input-paper-info input" id="paperExamine"/></span>
  67. <div class="btn-paper-info iconfont iconedit"></div>
  68. </div>
  69. <!-- 考号+条形码 开始-->
  70. <div class="paper-attention-box"></div>
  71. <!-- 考号+条形码 结束-->
  72. </div>
  73. <!-- 信息栏结束 -->
  74. <!-- 试题开始 -->
  75. <!-- <div class="paper-topic-content paper-topic"> </div>-->
  76. <!-- 试题结束 -->
  77. </div>
  78. <!-- 试卷内容结束 -->
  79. <!-- 页码开始 -->
  80. <div class="page-num-cur">第1页 共1页</div>
  81. <div class="page-direction">第1张纸正面 1</div>
  82. <!-- 页码结束 -->
  83. <!-- 基准定位点 -->
  84. <span class="main-dot unique-code"></span>
  85. <!-- 添加试题 -->
  86. <div class="add-topic-tips"> 请添加试题 </div>
  87. <div class="cover-paperitem"></div>
  88. </div>
  89. </div>
  90. <div class="card-setting-wrap card_setting">
  91. <div class="opratorArea">
  92. <div class="disabledCover" id="disabledCover"></div>
  93. <div class="module layout">
  94. <h3>选择答题卡布局</h3>
  95. <div class="paper selOptions">
  96. <span class="name">纸 张</span>
  97. <div class="content" id="paperTypeBox">
  98. <div class="h_radioBox" id="paperOptions">
  99. <div class="h_radioItem checked" data-paper="1">
  100. <i></i><em>A3</em>
  101. </div>
  102. <div class="h_radioItem" data-paper="2">
  103. <i></i><em>A4</em>
  104. </div>
  105. <div class="h_radioItem" data-paper="3">
  106. <i></i><em>16K(185*260)</em>
  107. </div>
  108. <div class="h_radioItem" data-paper="4">
  109. <i></i><em>8K(260*370)</em>
  110. </div>
  111. <div class="h_radioItem" data-paper="5">
  112. <i></i><em>8K(270*390)</em>
  113. </div>
  114. </div>
  115. </div>
  116. </div>
  117. <div class="paper selOptions">
  118. <span class="name">方 向</span>
  119. <div class="content">
  120. <div class="h_radioBox" id="paperDirection">
  121. <div class="h_radioItem checked" data-direction="1">
  122. <i></i><em>横版</em>
  123. </div>
  124. <div class="h_radioItem disabled" data-direction="2">
  125. <i></i><em>竖版</em>
  126. </div>
  127. </div>
  128. </div>
  129. </div>
  130. <div class="paper selOptions border_b">
  131. <span class="name">分 栏</span>
  132. <div class="content">
  133. <div class="layoutList" id="layoutList">
  134. <div class="layoutItem disabled" data-column="1">
  135. <span><i></i></span>
  136. <em>一栏</em>
  137. <b class="icon_current"></b>
  138. </div>
  139. <div class="layoutItem checked" data-column="2">
  140. <span><i></i><i></i></span>
  141. <em>两栏</em>
  142. <b class="icon_current"></b>
  143. </div>
  144. <div class="layoutItem" data-column="3">
  145. <span><i></i><i></i><i></i></span>
  146. <em>三栏</em>
  147. <b class="icon_current"></b>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. <div class="paper selOptions border_b">
  153. <span class="name">装订线</span>
  154. <div class="content">
  155. <div class="h_radioBox" id="hasBindingLine">
  156. <div class="h_radioItem" data-value="1">
  157. <i></i><em>有</em>
  158. </div>
  159. <div class="h_radioItem checked" data-value="0">
  160. <i></i><em>无</em>
  161. </div>
  162. </div>
  163. </div>
  164. </div>
  165. <div class="paper selOptions border_b">
  166. <span class="name">信息栏</span>
  167. <div class="content">
  168. <div class="h_radioBox" id="hasPaperMsg">
  169. <div class="h_radioItem checked" data-value="1">
  170. <i></i><em>有</em>
  171. </div>
  172. <div class="h_radioItem" data-value="0">
  173. <i></i><em>无</em>
  174. </div>
  175. <div class="notice">
  176. <p>选择“有”,还可以在左侧答题卡编辑页进行内容修改配置!</p>
  177. </div>
  178. </div>
  179. </div>
  180. </div>
  181. <div class="paper selOptions border_b">
  182. <span class="name">考 号</span>
  183. <div class="content">
  184. <div class="h_checkBox" id="examNumberConfig">
  185. <div class="h_checkItem checked" data-value="1">
  186. <i></i><em>填涂考号</em>
  187. </div>
  188. <div class="h_checkItem checked" data-value="2">
  189. <i></i><em>条形码</em>
  190. </div>
  191. </div>
  192. <div class="switch_ewm">
  193. <div class="h_switch" id="useQrCode"></div>
  194. <div class="ewmTip">使用二维码</div>
  195. <div class="notice">
  196. <p>使用二维码,将给每个考生都生成一份定制答题卡,请慎用!</p>
  197. </div>
  198. </div>
  199. </div>
  200. </div>
  201. </div>
  202. <!-- 题号列表 开始-->
  203. <div class="subjectList" id="subjectList"></div>
  204. <!-- 题号列表 结束-->
  205. <div class="h_btn addQustionBtn" id="addQustionBtn">
  206. <i>+</i>
  207. <span>添加试题</span>
  208. </div>
  209. <div class="setAnswerBtn"><span id="setAnswerBtn">设置客观题答案>></span></div>
  210. </div>
  211. <div class="opratorBtns">
  212. <div class="h_btn" id="previewBtn">预览</div>
  213. <div class="h_btn saveBtn" id="saveBtn">保存</div>
  214. <div class="h_btn downLoadBtn disabled" id="downLoadBtn">下载</div>
  215. <div class="h_btn downLoadBtn disabled" id="createBtn">生成</div>
  216. <div class="h_btn backbtn">
  217. <a href="javascript:;">返回</a>
  218. </div>
  219. </div>
  220. </div>
  221. <!-- <button class="btn btn-go-back" @click="goBack">返回</button> -->
  222. </div>
  223. <!-- layui一个页面只能有一个form,form包裹所有弹层 -->
  224. <form class="layui-form paper-dialog-from">
  225. <!-- 试卷信息栏弹窗开始 -->
  226. <div class="paper-layer-dialog" id="paperInfoDialog">
  227. <div class="layui-form-item" pane="">
  228. <div class="layui-input-block">
  229. <input type="checkbox" name="wpTimes" lay-skin="primary" title="时间">
  230. <input type="checkbox" name="fullScore" lay-skin="primary" title="满分">
  231. <input type="checkbox" name="wpAuthor" lay-skin="primary" title="命卷人">
  232. <input type="checkbox" name="wpReviewer" lay-skin="primary" title="审核人">
  233. </div>
  234. </div>
  235. </div>
  236. <!-- 试卷信息栏弹窗结束 -->
  237. <!-- 填空题排版弹窗开始 -->
  238. <div class="paper-layer-dialog" id="fillDialog">
  239. <div class="layui-form-item">
  240. <label class="layui-form-label">每行列数:</label>
  241. <div class="layui-input-block">
  242. <select name="topic-cols" id="topicCols" lay-verify="required">
  243. <option value="1">1</option>
  244. <option value="2">2</option>
  245. <option value="3">3</option>
  246. </select>
  247. </div>
  248. </div>
  249. <div class="layui-form-item">
  250. <label class="layui-form-label">行间距:</label>
  251. <div class="layui-input-block">
  252. <select name="rowheight" id="rowHeight" lay-verify="required">
  253. <option value="30">30px</option>
  254. <option value="35" >35px</option>
  255. <option value="40">40px</option>
  256. <option value="45">45px</option>
  257. <option value="50">50px</option>
  258. </select>
  259. </div>
  260. </div>
  261. <div class="layui-form-item">
  262. <label class="layui-form-label">手写打分:</label>
  263. <div class="layui-input-block">
  264. <select name="score" id="fillScore" lay-verify="required">
  265. <option value="0">空白方框</option>
  266. <option value="1">2/3/5</option>
  267. <option value="2">2/3/4/6</option>
  268. <option value="3">2/4</option>
  269. </select>
  270. </div>
  271. </div>
  272. </div>
  273. <!-- 填空题弹窗排版结束 -->
  274. <!-- 选择题排版弹窗开始 -->
  275. <div class="paper-layer-dialog" id="choiceDialog">
  276. <div class="layui-form-item">
  277. <label class="layui-form-label">选项排版:</label>
  278. <div class="layui-input-block">
  279. <select name="topic-cols" id="choiceTopicCols" lay-verify="required">
  280. <option value="0">每行1个</option>
  281. <option value="2">每行2个</option>
  282. <option value="1">每行4个</option>
  283. </select>
  284. </div>
  285. </div>
  286. </div>
  287. <!-- 选择题弹窗排版结束 -->
  288. <!-- 第三方添加试题弹层开始 -->
  289. <div class="paper-addtopic-dialog" id="addTopicDialog">
  290. <div class="third-form-item">
  291. <span>大题号</span>
  292. <select class="form-item-size110" id="thirdBigTopicSelect">
  293. </select>
  294. <span>&nbsp;&nbsp;题&nbsp;&nbsp;&nbsp;类</span>
  295. <select id="thirdTopicTypeSelect" lay-filter="thirdTopicTypeSelect" class="thirdTopicTypeSelect">
  296. </select>
  297. <span>&nbsp;&nbsp;题型标题</span>
  298. <input type="text" placeholder="请输入题型标题名称" id="thirdTopicTitle" class="layui-input form-item-size220">
  299. </div>
  300. <div class="third-form-item third-form-type">
  301. <!-- <span>题&nbsp;&nbsp;&nbsp;类</span>
  302. <select id="thirdTopicTypeSelect" lay-filter="thirdTopicTypeSelect" class="thirdTopicTypeSelect">
  303. </select> -->
  304. <div class="thirdTypeBox"></div>
  305. <a href="javascript:;" class="add-topic-icon">+</a>
  306. <a href="javascript:;" class="del-topic-icon">-</a>
  307. <span class="color-red errTopicMsg"></span>
  308. </div>
  309. <div class="third-form-item third-topic-list">
  310. <p class="third-notopic">请添加题目</p>
  311. <ul id="thirdSubjectList">
  312. </ul>
  313. </div>
  314. <div class="third-form-item third-fill-attr">
  315. <span>答题卡布局&nbsp;&nbsp;</span>
  316. <span>每行</span>
  317. <select class="" id="thirdGroupCount">
  318. <option value="1">1</option>
  319. <option value="2">2</option>
  320. <option value="3">3</option>
  321. </select>
  322. <span>列&nbsp;&nbsp;</span>
  323. <span>行高</span>
  324. <select class="" id="thirdFillLineHeight">
  325. <option value="30">30px</option>
  326. <option value="35">35px</option>
  327. <option value="40" selected>40px</option>
  328. <option value="45">45px</option>
  329. <option value="50">50px</option>
  330. </select>
  331. <span>&nbsp;&nbsp;手写打分</span>
  332. <select class="" id="thirdFillScore">
  333. <option value="0">空白方框</option>
  334. <option value="1">2/3/5</option>
  335. <option value="2">2/3/4/6</option>
  336. <option value="3">2/4</option>
  337. </select>
  338. <span>仅对线下阅卷打分</span>
  339. </div>
  340. </div>
  341. <!-- 第三方添加试题弹层结束 -->
  342. </form>
  343. <div class="choice-answer-box">
  344. <div class="answer-box">
  345. <h3 class="answer-box-title">设置客观题答案</h3>
  346. <ul class="set-answer-box">
  347. <li class="answerItem">
  348. <span>55</span>
  349. <span>单选题</span>
  350. <p>
  351. <i class="answesOption" data-type="1">A</i>
  352. <i class="answesOption">B</i>
  353. <i class="answesOption">C</i>
  354. <i class="answesOption">D</i>
  355. </p>
  356. </li>
  357. </ul>
  358. <div class="answer-box-btn">
  359. <button type="button" class="layui-btn">保存</button>
  360. <!-- <button type="button" class="layui-btn">返回</button> -->
  361. </div>
  362. </div>
  363. </div>
  364. <iframe id="preview" name="iframeing" frameborder="0" marginheight="0" marginwidth="0" width="100%" height="" style="vertical-align:bottom"></iframe>
  365. <div class="h_btn closePreview" id="closePreview">关闭</div>
  366. <div class="h_btn downPreview" id="downPreview">下载样例</div>
  367. <!-- 题卡合一公式编辑器弹窗 -->
  368. <div class="kf-editor-wrap" id="formulaBox">
  369. <div class="kf-formula-content">
  370. <div id="kfEditorContainer" class="kf-editor"></div>
  371. <div class="kf-formula-btns">
  372. <button id="kf-formula-ensure">确定</button>
  373. <button id="kf-formula-cancel">取消</button>
  374. </div>
  375. </div>
  376. </div>
  377. <!-- 题卡合一公式编辑器弹窗结束 -->
  378. <script type="text/javascript" src="/answersheet/js/lib/jq.1.11.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  379. <!-- js/lib/layui/css/layui.css -->
  380. <script type="text/javascript" src="/answersheet/js/lib/layui/layui.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  381. <script type="text/javascript" src="/answersheet/js/setThirdLine.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  382. <script type="text/javascript" charset="utf-8" src="/answersheet/js/lib/ueditor/ueditor.config.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  383. <script type="text/javascript" charset="utf-8" src="/answersheet/js/lib/ueditor/ueditor.all.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  384. <script type="text/javascript" charset="utf-8" src="/answersheet/js/lib/ueditor/lang/zh-cn/zh-cn.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  385. <script src="/answersheet/js/lib/ueditor/kityformula-plugin/addKityFormulaDialog.js" charset="utf-8"></script>
  386. <script src="/answersheet/js/lib/ueditor/kityformula-plugin/getKfContent.js?" charset="utf-8"></script>
  387. <script src="/answersheet/js/lib/ueditor/kityformula-plugin/defaultFilterFix.js" charset="utf-8"></script>
  388. <script src="/js/kityformula/js/kitygraph.all.js"></script>
  389. <script src="/js/kityformula/js/kity-formula-render.all.js"></script>
  390. <script src="/js/kityformula/js/kity-formula-parser.all.min.js"></script>
  391. <script src="/js/kityformula/js/kityformula-editor.all.min.js"></script>
  392. <script type="text/javascript" charset="utf-8" src="/answersheet/js/lib/ueditor/kityformula-plugin/editKityFormulaDialog.js"></script>
  393. <script type="text/javascript" src="/answersheet/js/util.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  394. <script type="text/javascript" src="/answersheet/js/pageConfig.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  395. <script type="text/javascript" src="/answersheet/js/previewPaper.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  396. <script type="text/javascript" src="/answersheet/js/initConfig.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  397. <script type="text/javascript" src="/answersheet/js/setEditor.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  398. <script type="text/javascript" src="/answersheet/js/setCard.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  399. <script type="text/javascript" src="/answersheet/js/topic.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  400. <script type="text/javascript" src="/answersheet/js/setPaperPage.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  401. <script type="text/javascript" src="/answersheet/js/savePaper.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  402. <script type="text/javascript" src="/answersheet/js/thirdAddTopic.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  403. <!-- <script type="text/javascript" src="/answersheet/js/compressed/util.min.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  404. <script type="text/javascript" src="/answersheet/js/compressed/pageConfig.min.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  405. <script type="text/javascript" src="/answersheet/js/compressed/previewPaper.min.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  406. <script type="text/javascript" src="/answersheet/js/compressed/initConfig.min.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  407. <script type="text/javascript" src="/answersheet/js/compressed/setEditor.min.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  408. <script type="text/javascript" src="/answersheet/js/compressed/setCard.min.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  409. <script type="text/javascript" src="/answersheet/js/compressed/topic.min.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  410. <script type="text/javascript" src="/answersheet/js/compressed/setPaperPage.min.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  411. <script type="text/javascript" src="/answersheet/js/compressed/savePaper.min.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script>
  412. <script type="text/javascript" src="/answersheet/js/compressed/thirdAddTopic.min.js?<?php echo Yii::app()->params['staticVersion']; ?>"></script> -->
  413. </body>
  414. </html>