var inTest={ "panels": [{ "index": 0, "paperType": "A4", "height": 297, "width": 210, "paperHeader": 87, "paperFooter": 814.5, "printElements": [{ "options": { "left": 21, "top": 6, "height": 48, "width": 82.5, "field": "leftImage" }, "printElementType": { "type": "image" } }, { "options": { "left": 432, "top": 7.5, "height": 25.5, "width": 120, "title": "【受控】", "fontFamily": "Microsoft YaHei", "fontSize": 16.5, "fontWeight": "bolder", "textAlign": "center", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 156, "top": 22.5, "height": 31.5, "width": 247.5, "title": "国家体育总局反兴奋剂中心", "fontFamily": "Microsoft YaHei", "fontSize": 18, "fontWeight": "bolder", "textAlign": "center", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 432, "top": 42, "height": 21, "width": 160.5, "field": "taskNumId", "testData": "NO:OUT2019121439", "fontFamily": "Microsoft YaHei", "fontSize": 12, "fontWeight": "bold", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 192, "top": 57, "height": 18, "width": 156, "title": "赛内兴奋剂检查任务书", "fontFamily": "Microsoft YaHei", "fontSize": 15, "fontWeight": "lighter" }, "printElementType": { "type": "text" } }, { "options": { "left": 22.5, "top": 93, "height": 28.5, "width": 511.5, "title": "委托单位:", "fontFamily": "Microsoft YaHei", "fontSize": 15, "fontWeight": "bold", "textContentVerticalAlign": "middle", "backgroundColor": "#e3dcdc" }, "printElementType": { "type": "text" } }, { "options": { "left": 111, "top": 99, "height": 16.5, "width": 120, "field": "entrustUnit", "testData": "总局", "fontFamily": "Microsoft YaHei", "fontSize": 15, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 21, "top": 127.5, "height": 27, "width": 513, "title": "检查信息", "fontFamily": "Microsoft YaHei", "fontSize": 16.5, "fontWeight": "bold", "textContentVerticalAlign": "middle", "backgroundColor": "#ebdfdf" }, "printElementType": { "type": "text" } }, { "options": { "left": 91.5, "top": 163.5, "height": 18, "width": 120, "field": "batchId", "testData": "NO:OUT2019121439", "fontFamily": "Microsoft YaHei", "fontSize": 9, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 298.5, "top": 163.5, "height": 16.5, "width": 67.5, "title": "检查方式:", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 369, "top": 163.5, "height": 16.5, "width": 120, "field": "checkMethod", "testData": "赛内", "fontFamily": "Microsoft YaHei", "fontSize": 10.5, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 24, "top": 163.5, "height": 18, "width": 64.5, "title": "批次号", "field": " ", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 298.5, "top": 186, "height": 19.5, "width": 67.5, "title": "比赛时间:", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 369, "top": 186, "height": 18, "width": 120, "field": "matchTime", "testData": "2019-09-08 至 2019-09-13 ", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 91.5, "top": 187.5, "height": 15, "width": 120, "field": "matchName", "testData": "全国赛艇锦标赛", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 22.5, "top": 187.5, "height": 16.5, "width": 66, "title": "比赛名称:", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 91.5, "top": 210, "height": 16.5, "width": 396, "field": "checkAddr", "testData": "CCCCC", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 22.5, "top": 210, "height": 16.5, "width": 67.5, "title": "检查地点:", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 91.5, "top": 234, "height": 16.5, "width": 199.5, "field": "allCheckName", "testData": "AV阿爸爸", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 298.5, "top": 234, "height": 16.5, "width": 67.5, "title": "检查例数:", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 369, "top": 234, "height": 18, "width": 120, "field": "checkNum", "testData": "13132", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 22.5, "top": 234, "height": 16.5, "width": 67.5, "title": "检查类型:", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 148.5, "top": 256.5, "height": 16.5, "width": 120, "field": "matchConcatTel", "testData": "1321321213132", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 298.5, "top": 258, "height": 16.5, "width": 78, "title": "协会负责人:", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 376.5, "top": 258, "height": 16.5, "width": 180, "field": "matchConcatName", "testData": "132132132121", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 22.5, "top": 258, "height": 16.5, "width": 118.5, "title": "赛区联系人电话:", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 97.5, "top": 280.5, "height": 19.5, "width": 393, "field": "checkNoticeDesc", "testData": "你打开吉安帕vav'av", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 22.5, "top": 280.5, "height": 19.5, "width": 67.5, "title": "检查要求:", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 22.5, "top": 318, "height": 36, "width": 550, "field": "matchInfos", "columns": [ [{ "title": "项目", "field": "itemName", "width": 110, "colspan": 1, "rowspan": 1, "checked": true, "columnId": "itemName" }, { "title": "检查规则", "field": "checkReg", "width": 110, "colspan": 1, "rowspan": 1, "checked": true, "columnId": "checkReg" }, { "title": "检查例数", "field": "num", "width": 110, "colspan": 1, "rowspan": 1, "checked": true, "columnId": "num" }, { "title": "检查类型", "field": "checkType", "width": 110, "colspan": 1, "rowspan": 1, "checked": true, "columnId": "checkType" }, { "title": "目标运动员", "field": "targetName", "width": 110, "colspan": 1, "rowspan": 1, "checked": true, "columnId": "targetName" }] ] }, "printElementType": { "title": "表格", "type": "tableCustom" } }, { "options": { "left": 22.5, "top": 372, "height": 27, "width": 78, "title": "授权单位", "field": " ", "fontFamily": "Microsoft YaHei", "fontSize": 15, "fontWeight": "bolder", "textContentVerticalAlign": "middle", "backgroundColor": "#ebe4e4" }, "printElementType": { "type": "text" } }, { "options": { "left": 100.5, "top": 372, "height": 27, "width": 471, "title": "中国反兴奋剂中心", "fontFamily": "Microsoft YaHei", "fontSize": 15, "textContentVerticalAlign": "middle", "backgroundColor": "#ebe2e2" }, "printElementType": { "type": "text" } }, { "options": { "left": 82.5, "top": 406.5, "height": 19.5, "width": 120, "field": "headTel", "testData": "1313213232", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 282, "top": 406.5, "height": 19.5, "width": 45, "title": "传真", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 337.5, "top": 406.5, "height": 19.5, "width": 120, "field": "headNum", "testData": "121312312", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 22.5, "top": 406.5, "height": 19.5, "width": 49.5, "title": "电话", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 82.5, "top": 430.5, "height": 21, "width": 120, "field": "headAddr", "testData": "阿道夫VBad发布", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 337.5, "top": 430.5, "height": 21, "width": 120, "field": "headZipCode", "testData": "安保费打包", "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 282, "top": 430.5, "height": 21, "width": 43.5, "title": "邮编", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 22.5, "top": 430.5, "height": 21, "width": 51, "title": "地址", "fontFamily": "Microsoft YaHei", "fontSize": 12, "textContentVerticalAlign": "middle" }, "printElementType": { "type": "text" } }, { "options": { "left": 430.5, "top": 457.5, "height": 18, "width": 117, "title": "盖章", "fontFamily": "Microsoft YaHei", "fontSize": 12.75, "textAlign": "center" }, "printElementType": { "type": "longText" } }, { "options": { "left": 432, "top": 484.5, "height": 21, "width": 117, "field": "nowDate", "testData": "2312132132", "textAlign": "center" }, "printElementType": { "type": "longText" } }, { "options": { "left": 24, "top": 498, "height": 21, "width": 178.5, "title": "通过上述原则确定挑战结果", "fontFamily": "Microsoft YaHei", "fontSize": 12 }, "printElementType": { "type": "text" } }, { "options": { "left": 120, "top": 525, "height": 13.5, "width": 43.5, "title": "项目:第" }, "printElementType": { "type": "text" } }, { "options": { "left": 369, "top": 525, "height": 13.5, "width": 63, "title": "项目:第" }, "printElementType": { "type": "text" } }, { "options": { "left": 487.5, "top": 525, "height": 9.75, "width": 34.5, "title": "名" }, "printElementType": { "type": "text" } }, { "options": { "left": 237, "top": 525, "height": 13.5, "width": 31.5, "title": "名" }, "printElementType": { "type": "text" } }, { "options": { "left": 156, "top": 528, "height": 9.75, "width": 88.5 }, "printElementType": { "type": "text" } }, { "options": { "left": 267, "top": 528, "height": 9.75, "width": 102 }, "printElementType": { "type": "text" } }, { "options": { "left": 24, "top": 529.5, "height": 9.75, "width": 96 }, "printElementType": { "type": "text" } }, { "options": { "left": 402, "top": 535.5, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 154.5, "top": 537, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 274.5, "top": 537, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 27, "top": 537, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 489, "top": 547.5, "height": 9.75, "width": 34.5, "title": "名" }, "printElementType": { "type": "text" } }, { "options": { "left": 367.5, "top": 549, "height": 9.75, "width": 64.5, "title": "项目:第" }, "printElementType": { "type": "text" } }, { "options": { "left": 240, "top": 550.5, "height": 9.75, "width": 34.5, "title": "名" }, "printElementType": { "type": "text" } }, { "options": { "left": 118.5, "top": 552, "height": 9.75, "width": 45, "title": "项目:第" }, "printElementType": { "type": "text" } }, { "options": { "left": 153, "top": 553.5, "height": 9.75, "width": 91.5 }, "printElementType": { "type": "text" } }, { "options": { "left": 24, "top": 553.5, "height": 9.75, "width": 96 }, "printElementType": { "type": "text" } }, { "options": { "left": 402, "top": 558, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 154.5, "top": 561, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 274.5, "top": 561, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 27, "top": 561, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 238.5, "top": 571.5, "height": 9.75, "width": 36, "title": "名" }, "printElementType": { "type": "text" } }, { "options": { "left": 156, "top": 574.5, "height": 9.75, "width": 91.5 }, "printElementType": { "type": "text" } }, { "options": { "left": 367.5, "top": 574.5, "height": 9.75, "width": 63, "title": "项目:第" }, "printElementType": { "type": "text" } }, { "options": { "left": 118.5, "top": 574.5, "height": 9.75, "width": 45, "title": "项目:第" }, "printElementType": { "type": "text" } }, { "options": { "left": 489, "top": 574.5, "height": 9.75, "width": 34.5, "title": "名" }, "printElementType": { "type": "text" } }, { "options": { "left": 24, "top": 576, "height": 9.75, "width": 96 }, "printElementType": { "type": "text" } }, { "options": { "left": 153, "top": 580.5, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 274.5, "top": 585, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 402, "top": 585, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 27, "top": 585, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 153, "top": 595.5, "height": 9.75, "width": 91.5 }, "printElementType": { "type": "text" } }, { "options": { "left": 118.5, "top": 595.5, "height": 9.75, "width": 45, "title": "项目:第" }, "printElementType": { "type": "text" } }, { "options": { "left": 366, "top": 595.5, "height": 9.75, "width": 67.5, "title": "项目:第" }, "printElementType": { "type": "text" } }, { "options": { "left": 24, "top": 595.5, "height": 9.75, "width": 96 }, "printElementType": { "type": "text" } }, { "options": { "left": 238.5, "top": 598.5, "height": 9.75, "width": 37.5, "title": "名" }, "printElementType": { "type": "text" } }, { "options": { "left": 489, "top": 600, "height": 9.75, "width": 36, "title": "名" }, "printElementType": { "type": "text" } }, { "options": { "left": 402, "top": 603, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 27, "top": 604.5, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 154.5, "top": 606, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 274.5, "top": 606, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 118.5, "top": 613.5, "height": 9.75, "width": 45, "title": "项目:第" }, "printElementType": { "type": "text" } }, { "options": { "left": 24, "top": 613.5, "height": 9.75, "width": 94.5 }, "printElementType": { "type": "text" } }, { "options": { "left": 238.5, "top": 616.5, "height": 9.75, "width": 36, "title": "名" }, "printElementType": { "type": "text" } }, { "options": { "left": 366, "top": 616.5, "height": 9.75, "width": 69, "title": "项目:第" }, "printElementType": { "type": "text" } }, { "options": { "left": 153, "top": 616.5, "height": 9.75, "width": 91.5 }, "printElementType": { "type": "text" } }, { "options": { "left": 489, "top": 616.5, "height": 9.75, "width": 36, "title": "名" }, "printElementType": { "type": "text" } }, { "options": { "left": 27, "top": 621, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 274.5, "top": 625.5, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 402, "top": 625.5, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 154.5, "top": 625.5, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 240, "top": 633, "height": 9.75, "width": 36, "title": "名" }, "printElementType": { "type": "text" } }, { "options": { "left": 366, "top": 636, "height": 9.75, "width": 67.5, "title": "项目:第" }, "printElementType": { "type": "text" } }, { "options": { "left": 24, "top": 636, "height": 9.75, "width": 96 }, "printElementType": { "type": "text" } }, { "options": { "left": 153, "top": 637.5, "height": 9.75, "width": 93 }, "printElementType": { "type": "text" } }, { "options": { "left": 118.5, "top": 637.5, "height": 9.75, "width": 45, "title": "项目:第" }, "printElementType": { "type": "text" } }, { "options": { "left": 489, "top": 639, "height": 9.75, "width": 36, "title": "名" }, "printElementType": { "type": "text" } }, { "options": { "left": 154.5, "top": 645, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 274.5, "top": 645, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 402, "top": 645, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }, { "options": { "left": 27, "top": 645, "height": 9, "width": 90 }, "printElementType": { "type": "hline" } }], "paperNumberLeft": 562.5, "paperNumberTop": 819 }] }
var inTest---HIPrint
原创
©著作权归作者所有:来自51CTO博客作者小飞侠格鲁帅的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
var类型javascript var script
注意Javascript里var的用法 var a=10; //正确a=10; //正确在javascript中,以上两种方法都是定义变量的正确方法。微软的Script56.CHM中是这样解释的:尽管并不安全,但声明语句中忽略 var 关键字是合法的 JScript 语法。这时,JScript 解释器给予变量全局范围的可见度。当在过程级
function FUNCTION javascript JavaScript Javascript -
typescript var typescript var let
js对象let jspang = { name:'胖', website:'jspang.com', age:18, saySometing:function(){ console.log('为了前端') }}console.log(jspang.name)jspang.saySometing()在TypeScript中也给我们提供了一
typescript var typeScirpt typeScript引用类型 typescript正则 typescript日期