123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300 |
- var baseInfoHtml = '<div class="paper-attention-info">\
- <div class="attention-left">\
- <div class="tips-info clearfix">\
- <h3 class="notice-title fl"><i>注</i><i>意</i><i>事</i><i>项</i></h3>\
- <div class="notice-detail" id="noticeDetail" contenteditable="true"></div>\
- </div>\
- <div class="absent-box clearfix">\
- <h4 class="fl">正确填涂 <i class="mark"></i></h4>\
- <h4 class="fl">缺考标记 <i class="mark absent-mark"></i></h4>\
- </div>\
- </div>\
- <div class="notice-ewm">\
- </div>\
- </div>';
- var PaperAndTopicConfig = {
- sizeConfig : {
- '1': {
- name:'A3',
- width: 297,
- height: 420,
- direction: {
- horizontal: [2, 3],//横版
- vertical: []//竖版
- },
- //改配置下,一行可以发放几个选择题
- horizontal: {
- //无装订线的情况
- noLine: {
- 2: 5 * 5,
- 3: 3 * 5
- },
- //有装订线的情况
- yesLine: {
- 2: 4 * 5,
- 3: 3 * 5
- }
- }
- },
- '2': {
- name:'A4',
- width: 210,
- height: 297,
- direction: {
- horizontal: [2],
- vertical: [1]
- },
- horizontal: {
- noLine: {
- 2: 3 * 5
- },
- yesLine: {
- 2: 3 * 5
- }
- },
- vertical: {
- noLine: {
- 1: 5 * 5
- },
- yesLine: {
- 1: 4 * 5
- }
- }
- },
- '3': {
- name:'16K',
- width: 185,
- height: 260,
- direction: {
- horizontal: [2],
- vertical: [1]
- },
- horizontal: {
- noLine: {
- 2: 3 * 5
- },
- yesLine: {
- 2: 2 * 5
- }
- },
- vertical: {
- noLine: {
- 1: 4 * 5
- },
- yesLine: {
- 1: 4 * 5
- }
- }
- },
- '4': {
- name:'8Ks',
- width: 260,
- height: 370,
- direction: {
- horizontal: [2, 3],
- vertical: []
- },
- horizontal: {
- noLine: {
- 2: 4 * 5,
- 3: 2 * 5
- },
- yesLine: {
- 2: 4 * 5,
- 3: 2 * 5
- }
- }
- },
- '5': {
- name:'8Kb',
- width: 270,
- height: 390,
- direction: {
- horizontal: [2, 3],
- vertical: []
- },
- horizontal: {
- noLine: {
- 2: 4 * 5,
- 3: 2 * 5
- },
- yesLine: {
- 2: 4 * 5,
- 3: 2 * 5
- }
- }
- },
- },
- topicTypes:[
- {
- label: "单选题",
- value: 1
- },
- {
- label: "多选题",
- value: 2
- },
- {
- label: "不定项",
- value: 11
- },
- {
- label: "填空题",
- value: 5
- },
- {
- label: "解答题",
- value: 7
- },
- {
- label: "选做题",
- value: 17
- },
- {
- label: "必做题",
- value: 27
- },
- {
- label: "作文",
- value: 77
- }
- ],
- topicTypeObj:{
- "1":"单选",
- "2":"多选",
- "11":"不定项",
- "5":"填空",
- "7":"解答",
- "17":"选做",
- "27":"必做",
- "77":"作文",
- },
- scoreBoxArr:['','2/3/5','2/3/4/6','2/4'],
- paperInfoHtml:{
- noUseCode:{
- col2:[
- '<div class="paper-card">\
- <div class="exam-id card-flex">\
- <div class="card-id clearfix" id="cardIdBox"></div>\
- <div class="paper-attention-info attention-only-card">\
- <div class="attention-left">\
- <div class="tips-info clearfix">\
- <h3 class="notice-title fl"><i>注</i><i>意</i><i>事</i><i>项</i></h3>\
- <div class="notice-detail" id="noticeDetail" contenteditable="true"></div>\
- </div>\
- <div class="absent-box clearfix">\
- <h4 class="fl">正确填涂 <i class="mark"></i></h4>\
- <h4 class="fl">缺考标记 <i class="mark absent-mark"></i></h4>\
- </div>\
- </div>\
- <div class="notice-ewm">\
- </div>\
- </div>\
- </div>\
- </div>',
- '<div class="paper-card attention-only-code-col2">\
- <div class="exam-id card-flex">\
- <div class="paper-attention-info ">\
- <div class="attention-left">\
- <div class="tips-info clearfix">\
- <h3 class="notice-title fl"><i>注</i><i>意</i><i>事</i><i>项</i></h3>\
- <div class="notice-detail" id="noticeDetail" contenteditable="true"></div>\
- </div>\
- <div class="absent-box clearfix">\
- <h4 class="fl">正确填涂 <i class="mark"></i></h4>\
- <h4 class="fl">缺考标记 <i class="mark absent-mark"></i></h4>\
- </div>\
- </div>\
- <div class="notice-ewm"></div>\
- <div class="card-code card-code-col3 clearfix">\
- <div class="code-img">\
- <div class="code-words">\
- <i>条</i>\
- <i>形</i>\
- <i>码</i>\
- </div>\
- </div>\
- <div class="card-row-id">准考证号:</div>\
- </div>\
- </div>\
- </div>\
- </div>',
- '<div class="paper-card">\
- <div class="exam-id card-flex">\
- <div class="card-id clearfix" id="cardIdBox"></div>\
- <div class="card-code-col2">\
- <div class="paper-attention-info">\
- <div class="attention-left">\
- <div class="tips-info clearfix">\
- <h3 class="notice-title fl"><i>注</i><i>意</i><i>事</i><i>项</i></h3>\
- <div class="notice-detail f" id="noticeDetail" contenteditable="true"></div>\
- </div>\
- <div class="absent-box clearfix">\
- <h4 class="fl">正确填涂 <i class="mark"></i></h4>\
- <h4 class="fl">缺考标记 <i class="mark absent-mark"></i></h4>\
- </div>\
- </div>\
- </div>\
- <div class="card-code card-code-col3 clearfix">\
- <div class="code-img fl">\
- <div class="code-words">\
- <i>条</i>\
- <i>形</i>\
- <i>码</i>\
- </div>\
- </div>\
- <div class="notice-ewm notice-ewm-col2 fr"></div>\
- </div>\
- </div>\
- </div>\
- </div>'
- ],
- //0填涂考号 1条形码 2考号+条形码
- col3:[
- baseInfoHtml+'<div class="paper-card">\
- <div class="exam-id card-flex">\
- <div class="card-id clearfix" id="cardIdBox"></div>\
- </div>\
- </div>'
- ,baseInfoHtml+'<div class="paper-card">\
- <div class="exam-id card-flex">\
- <div class="card-code card-code-col3 clearfix">\
- <div class="code-img fl">\
- <div class="code-words">\
- <i>条</i>\
- <i>形</i>\
- <i>码</i>\
- </div>\
- </div>\
- </div>\
- <div class="card-row-id">准考证号:</div>\
- </div>\
- </div>'
- ,baseInfoHtml+'<div class="paper-card">\
- <div class="exam-id card-flex">\
- <div class="card-id clearfix" id="cardIdBox"></div>\
- <div class="card-code clearfix">\
- <div class="code-img fr">\
- <div class="code-words">\
- <i>条</i>\
- <i>形</i>\
- <i>码</i>\
- </div>\
- </div>\
- </div>\
- </div>\
- </div>'
- ]
- },
- useCode:baseInfoHtml
- },
- attentionArr:[//0不使用二维码,1使用二维码
- '<p>1、请正确填写班级、姓名、系统准考证号。</p>\
- <p>2、必须使用2B铅笔填涂,修改时用橡皮擦干净。</p>\
- <p>3、必须在指定位置作答,并保持卷面整洁。</p>\
- <p>4、如使用条形码,请在指定位置正确黏贴。</p>',
- '<p>1、考生务必用2B铅笔填涂。</p>\
- <p>2、考生务必在答题卡指定位置作答,并保持卷面整洁。</p>\
- <p>3、如需要条形码,则考生务必要在指定位置正确贴好条形码。</p>',
- ],
- }
|