新增 hiprint 打印设计
This commit is contained in:
1 parent
aacf491051
commit
79c22c6348
27 files changed
+11515
-235
No files matched your search
@@ -0,0 +1,106 @@
|
||||
var configElementTypeProvider = (function () {
|
||||
return function (options) {
|
||||
|
||||
var addElementTypes = function (context) {
|
||||
context.addPrintElementTypes(
|
||||
"testModule",
|
||||
[
|
||||
new hiprint.PrintElementTypeGroup("常规", [
|
||||
{
|
||||
tid: 'configModule.name', title: '姓名', field: 'name', data: '古力娜扎', type: 'text',
|
||||
"options": {
|
||||
|
||||
"height": 42,
|
||||
"width": 107,
|
||||
"fontSize": 19,
|
||||
"fontWeight": "700",
|
||||
"textAlign": "center",
|
||||
"lineHeight": 39,
|
||||
"hideTitle": true
|
||||
}
|
||||
},
|
||||
{
|
||||
tid: 'configModule.mySite', title: '个人网页', field: 'mySite', data: 'http://www.hinnn.com', type: 'text', "options": {
|
||||
|
||||
"height": 50,
|
||||
"width": 50,
|
||||
"fontSize": 19,
|
||||
"fontWeight": "700",
|
||||
"textAlign": "center",
|
||||
"lineHeight": 39,
|
||||
"hideTitle": true,
|
||||
"textType": "qrcode"
|
||||
}
|
||||
},
|
||||
{ tid: 'configModule.gender', title: '性别', field: 'gender', data: '男', type: 'text' },
|
||||
{ tid: 'configModule.like', title: '爱好', field: 'like', data: '读书写字', type: 'text' },
|
||||
{ tid: 'configModule.email', title: '邮箱', field: 'email', data: 'hinnn.com@gmail.com', type: 'text' },
|
||||
{ tid: 'configModule.address', title: '地址', field: 'address', data: '北京朝阳区', type: 'text' },
|
||||
{ tid: 'configModule.phone', title: '电话', field: 'phone', data: '18888888888', type: 'text' },
|
||||
{ tid: 'configModule.target', title: '目标', field: 'target', data: '数据产品经理', type: 'text' },
|
||||
|
||||
|
||||
|
||||
{ tid: 'configModule.image', title: '图片', data: 'hiprint/css/image/hi.png', type: 'image' },
|
||||
//{ tid: 'testModule.longText', title: '长文', data: '155123456789', type: 'longText' },
|
||||
{
|
||||
tid: 'configModule.workExperience', field: 'workExperience', title: '工作经历',
|
||||
type: 'table',
|
||||
columns: [
|
||||
|
||||
[{ title: '职位', align: 'center', field: 'position', width: 100 },
|
||||
{ title: '公司', align: 'center', field: 'company', width: 100 },
|
||||
{ title: '地点', align: 'center', field: 'address', width: 100 },
|
||||
{ title: '时间', align: 'center', field: 'date', width: 100 },
|
||||
{ title: '主要工作', align: 'center', field: 'work', width: 200 }
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
tid: 'configModule.html', title: 'html',
|
||||
formatter: function (data, options) {
|
||||
return $('<div style="height:50pt;width:50pt;background:red;border-radius: 50%;"></div>');
|
||||
},
|
||||
type: 'html'
|
||||
},
|
||||
{ tid: 'configModule.customText', title: '自定义文本', customText: '自定义文本', custom: true, type: 'text' }
|
||||
]),
|
||||
new hiprint.PrintElementTypeGroup("专业", [
|
||||
{ tid: 'configModule.professional', title: '专业', field: 'professional', data: '信息管理与信息系统', type: 'text' },
|
||||
{ tid: 'configModule.university', title: '大学', field: 'university', data: '北京邮电大学', type: 'text' },
|
||||
{ tid: 'configModule.universityAddress', title: '地点', field: 'universityAddress', data: '北京', type: 'text' },
|
||||
{ tid: 'configModule.universityDate', title: '时间', field: 'universityDate', data: '2008', type: 'text' },
|
||||
{ tid: 'configModule.tech', title: '技能', field: 'tech', data: 'MYSQL,HIVE(数据仓库工具),SPSS(统计产品已服务解决方案),数据挖掘,跨部门沟通能力,业务理解能力,数据解读分析。', type: 'longText' }
|
||||
]),
|
||||
new hiprint.PrintElementTypeGroup("辅助", [
|
||||
{
|
||||
tid: 'configModule.hline',
|
||||
title: '横线',
|
||||
type: 'hline'
|
||||
},
|
||||
{
|
||||
tid: 'configModule.vline',
|
||||
title: '竖线',
|
||||
type: 'vline'
|
||||
},
|
||||
{
|
||||
tid: 'configModule.rect',
|
||||
title: '矩形',
|
||||
type: 'rect'
|
||||
},
|
||||
{
|
||||
tid: 'testModule.oval',
|
||||
title: '椭圆',
|
||||
type: 'oval'
|
||||
}
|
||||
])
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
return {
|
||||
addElementTypes: addElementTypes
|
||||
};
|
||||
|
||||
};
|
||||
})();
|
||||
@@ -0,0 +1,19 @@
|
||||
var printData = {
|
||||
name: '黄磊',
|
||||
gender: '男',
|
||||
like: "读书写字",
|
||||
email: 'hinnn.com@gmail.com',
|
||||
address: '北京朝阳区二道口',
|
||||
phone: '18888888888',
|
||||
target:'产品数据分析师',
|
||||
workExperience: [
|
||||
{ position: '数据分析师', company: '某宝', address: '北京', date: '四月-2010-八月-2011', work:'专题分析/模型,根据业务分析分析各类专题,例如:商品等级,会员消费行为营销活动,重要产品数据等。' },
|
||||
{ position: '数据分析师', company: '某东', address: '北京', date: '九月-2011-三月-2016', work: '数据指标监控,根据产品,运营以及管理的需求,针对产品数据,运营,业务进展及KPI指标的监控,经营分析,对口BU的经营报告,分析KPI进度,交易产品异动原因,分析市场动态,汇报对象为BU经理。' },
|
||||
{ position: '数据产品经理', company: '大米', address: '北京', date: '四月-2016-至今', work: '负责具体分析项目,例如实时监控,数据后台管理,协调开发资源,控制项目进度。'}
|
||||
],
|
||||
professional: '信息管理与信息系统',
|
||||
university: '北京邮电大学',
|
||||
universityAddress: '北京朝阳区二道口',
|
||||
universityDate: '2010',
|
||||
tech: 'MYSQL,HIVE(数据仓库工具),SPSS(统计产品已服务解决方案),数据挖掘,跨部门沟通能力,业务理解能力,数据解读分析。'
|
||||
};
|
||||
@@ -0,0 +1,144 @@
|
||||
var configPrintJson = {
|
||||
"panels": [{
|
||||
"index": 0,
|
||||
"height": 297,
|
||||
"width": 210,
|
||||
"paperHeader": 0,
|
||||
"paperFooter": 805,
|
||||
"printElements": [{
|
||||
"tid": "configModule.name",
|
||||
"options": {
|
||||
"left": 20,
|
||||
"top": 25,
|
||||
"height": 42,
|
||||
"width": 107,
|
||||
"fontSize": 19,
|
||||
"fontWeight": "700",
|
||||
"textAlign": "center",
|
||||
"lineHeight": 39,
|
||||
"hideTitle": "1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tid": "configModule.email",
|
||||
"options": {
|
||||
"left": 390,
|
||||
"top": 35,
|
||||
"height": 13,
|
||||
"width": 165
|
||||
}
|
||||
}, {
|
||||
"tid": "configModule.address",
|
||||
"options": {
|
||||
"left": 390,
|
||||
"top": 55,
|
||||
"height": 13,
|
||||
"width": 165
|
||||
}
|
||||
}, {
|
||||
"tid": "configModule.phone",
|
||||
"options": {
|
||||
"left": 390,
|
||||
"top": 75,
|
||||
"height": 13,
|
||||
"width": 165
|
||||
}
|
||||
}, {
|
||||
"tid": "configModule.hline",
|
||||
"options": {
|
||||
"left": 10,
|
||||
"top": 110,
|
||||
"height": 10,
|
||||
"width": 573
|
||||
}
|
||||
}, {
|
||||
"tid": "configModule.customText",
|
||||
"options": {
|
||||
"left": 20,
|
||||
"top": 135,
|
||||
"height": 13,
|
||||
"width": 27,
|
||||
"title": "目标",
|
||||
"textAlign": "center"
|
||||
}
|
||||
}, {
|
||||
"tid": "configModule.target",
|
||||
"options": {
|
||||
"left": 20,
|
||||
"top": 160,
|
||||
"height": 13,
|
||||
"width": 562,
|
||||
"fontSize": 13,
|
||||
"hideTitle": "1"
|
||||
}
|
||||
}, {
|
||||
"tid": "configModule.customText",
|
||||
"options": {
|
||||
"left": 20,
|
||||
"top": 195,
|
||||
"height": 13,
|
||||
"width": 29,
|
||||
"title": "教育",
|
||||
"textAlign": "center"
|
||||
}
|
||||
}, {
|
||||
"tid": "configModule.professional",
|
||||
"options": {
|
||||
"left": 20,
|
||||
"top": 230,
|
||||
"height": 17,
|
||||
"width": 561,
|
||||
"fontSize": 12,
|
||||
"fontWeight": "600",
|
||||
"lineHeight": 17,
|
||||
"hideTitle": "1"
|
||||
}
|
||||
}, {
|
||||
"tid": "configModule.university",
|
||||
"options": {
|
||||
"left": 20,
|
||||
"top": 255,
|
||||
"height": 15,
|
||||
"width": 561,
|
||||
"fontWeight": "600",
|
||||
"hideTitle": "1"
|
||||
}
|
||||
}, {
|
||||
"tid": "configModule.universityAddress",
|
||||
"options": {
|
||||
"left": 20,
|
||||
"top": 280,
|
||||
"height": 13,
|
||||
"width": 120,
|
||||
"hideTitle": "1"
|
||||
}
|
||||
}, {
|
||||
"tid": "configModule.universityDate",
|
||||
"options": {
|
||||
"left": 20,
|
||||
"top": 305,
|
||||
"height": 13,
|
||||
"width": 120
|
||||
}
|
||||
}, {
|
||||
"tid": "configModule.tech",
|
||||
"options": {
|
||||
"left": 20,
|
||||
"top": 345,
|
||||
"height": 40,
|
||||
"width": 561
|
||||
}
|
||||
}, {
|
||||
"tid": "configModule.workExperience",
|
||||
"options": {
|
||||
"left": 20,
|
||||
"top": 420,
|
||||
"height": 44,
|
||||
"width": 559
|
||||
}
|
||||
}
|
||||
],
|
||||
"paperNumberLeft": 565,
|
||||
"paperNumberTop": 819
|
||||
}]
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
var customElementTypeProvider = (function () {
|
||||
return function (options) {
|
||||
|
||||
var addElementTypes = function (context) {
|
||||
context.addPrintElementTypes(
|
||||
"testModule",
|
||||
[
|
||||
new hiprint.PrintElementTypeGroup("常规", [
|
||||
{ tid: 'testModule.text', text: '文本', data: '', type: 'text' },
|
||||
{ tid: 'testModule.image', text: '图片', data: 'hiprint/css/image/hi.png', type: 'image' },
|
||||
{ tid: 'testModule.longText', text: '长文', data: '', type: 'longText' },
|
||||
{
|
||||
tid: 'testModule.table', field: 'table', text: '表格',
|
||||
type: 'table',
|
||||
groupFields: ['name'],
|
||||
groupFooterFormatter: function (group, option) {
|
||||
return '这里自定义统计脚信息';
|
||||
},
|
||||
columns: [
|
||||
[{ title: '行号', fixed: true, rowspan: 2, field: 'id', width: 70 },
|
||||
{ title: '人员信息', colspan: 2 },
|
||||
{ title: '销售统计', colspan: 2 }
|
||||
],
|
||||
[{ title: '姓名', align: 'left', field: 'name', width: 100 },
|
||||
{ title: '性别', field: 'gender', width: 100 },
|
||||
{ title: '销售数量', field: 'count', width: 100 },
|
||||
{ title: '销售金额', field: 'amount', width: 100 }
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
tid: 'testModule.tableCustom',
|
||||
title: '表格',
|
||||
type: 'tableCustom'
|
||||
},
|
||||
{
|
||||
tid: 'testModule.html', title: 'html',
|
||||
formatter: function (data, options) {
|
||||
return $('<div style="height:50pt;width:50pt;background:red;border-radius: 50%;"></div>');
|
||||
},
|
||||
type: 'html'
|
||||
},
|
||||
{ tid: 'testModule.customText', text: '自定义文本', customText: '自定义文本', custom: true, type: 'text' }
|
||||
]),
|
||||
new hiprint.PrintElementTypeGroup("辅助", [
|
||||
{
|
||||
tid: 'testModule.hline',
|
||||
text: '横线',
|
||||
type: 'hline'
|
||||
},
|
||||
{
|
||||
tid: 'testModule.vline',
|
||||
text: '竖线',
|
||||
type: 'vline'
|
||||
},
|
||||
{
|
||||
tid: 'testModule.rect',
|
||||
text: '矩形',
|
||||
type: 'rect'
|
||||
},
|
||||
{
|
||||
tid: 'testModule.oval',
|
||||
text: '椭圆',
|
||||
type: 'oval'
|
||||
}
|
||||
])
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
return {
|
||||
addElementTypes: addElementTypes
|
||||
};
|
||||
|
||||
};
|
||||
})();
|
||||
@@ -0,0 +1,481 @@
|
||||
var customPrintJson = {
|
||||
"panels": [{
|
||||
"index": 0,
|
||||
"height": 297,
|
||||
"width": 210,
|
||||
"paperHeader": 49.5,
|
||||
"paperFooter": 780,
|
||||
"printElements": [{
|
||||
"options": {
|
||||
"left": 175.5,
|
||||
"top": 10.5,
|
||||
"height": 27,
|
||||
"width": 259,
|
||||
"title": "HiPrint自定义模块打印插件",
|
||||
"fontSize": 19,
|
||||
"fontWeight": "600",
|
||||
"textAlign": "center",
|
||||
"lineHeight": 26
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 60,
|
||||
"top": 27,
|
||||
"height": 13,
|
||||
"width": 52,
|
||||
"title": "页眉线",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 25.5,
|
||||
"top": 57,
|
||||
"height": 705,
|
||||
"width": 9,
|
||||
"fixed": true,
|
||||
"borderStyle": "dotted"
|
||||
},
|
||||
"printElementType": {
|
||||
"type": "vline"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 60,
|
||||
"top": 61.5,
|
||||
"height": 48,
|
||||
"width": 87,
|
||||
"src": "hiprint/css/image/hi.png"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "图片",
|
||||
"type": "image"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 153,
|
||||
"top": 64.5,
|
||||
"height": 39,
|
||||
"width": 276,
|
||||
"title": "二维码以及条形码均采用svg格式打印。不同打印机打印不会造成失真。图片打印:不同DPI打印可能会导致失真,",
|
||||
"fontFamily": "微软雅黑",
|
||||
"textAlign": "center",
|
||||
"lineHeight": 18
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 457.5,
|
||||
"top": 79.5,
|
||||
"height": 13,
|
||||
"width": 120,
|
||||
"title": "姓名",
|
||||
"field": "name",
|
||||
"testData": "古力娜扎",
|
||||
"color": "#f00808",
|
||||
"textDecoration": "underline",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 499.5,
|
||||
"top": 120,
|
||||
"height": 43,
|
||||
"width": 51,
|
||||
"title": "123456789",
|
||||
"textType": "qrcode"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 285,
|
||||
"top": 130.5,
|
||||
"height": 34,
|
||||
"width": 175,
|
||||
"title": "123456789",
|
||||
"fontFamily": "微软雅黑",
|
||||
"textAlign": "center",
|
||||
"textType": "barcode"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 60,
|
||||
"top": 132,
|
||||
"height": 19,
|
||||
"width": 213,
|
||||
"title": "所有打印元素都可已拖拽的方式来改变元素大小",
|
||||
"fontFamily": "微软雅黑",
|
||||
"textAlign": "center",
|
||||
"lineHeight": 18
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 153,
|
||||
"top": 189,
|
||||
"height": 13,
|
||||
"width": 238,
|
||||
"title": "单击元素,右侧可自定义元素属性",
|
||||
"textAlign": "center",
|
||||
"fontFamily": "微软雅黑"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 60,
|
||||
"top": 190.5,
|
||||
"height": 13,
|
||||
"width": 51,
|
||||
"title": "横线",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 415.5,
|
||||
"top": 190.5,
|
||||
"height": 13,
|
||||
"width": 164,
|
||||
"title": "可以配置各属性的默认值",
|
||||
"textAlign": "center",
|
||||
"fontFamily": "微软雅黑"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 60,
|
||||
"top": 214.5,
|
||||
"height": 10,
|
||||
"width": 475.5
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "横线",
|
||||
"type": "hline"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 235.5,
|
||||
"top": 220.5,
|
||||
"height": 32,
|
||||
"width": 342,
|
||||
"title": "自定义表格:用户可左键选中表头,右键查看可操作项,操作类似Excel,双击表头单元格可进行编辑。内容:title#field",
|
||||
"fontFamily": "微软雅黑",
|
||||
"textAlign": "center",
|
||||
"lineHeight": 15
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 156,
|
||||
"top": 265.5,
|
||||
"height": 13,
|
||||
"width": 94,
|
||||
"title": "表头列大小可拖动",
|
||||
"fontFamily": "微软雅黑",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 60,
|
||||
"top": 265.5,
|
||||
"height": 13,
|
||||
"width": 90,
|
||||
"title": "红色区域可拖动",
|
||||
"fontFamily": "微软雅黑",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 60,
|
||||
"top": 285,
|
||||
"height": 44,
|
||||
"width": 511.5,
|
||||
"field": "table",
|
||||
"columns": [
|
||||
[{
|
||||
"width": 85.25,
|
||||
"colspan": 1,
|
||||
"rowspan": 1
|
||||
}, {
|
||||
"width": 85.25,
|
||||
"colspan": 1,
|
||||
"rowspan": 1
|
||||
}, {
|
||||
"title": "姓名",
|
||||
"field": "name",
|
||||
"width": 85.25,
|
||||
"align": "center",
|
||||
"colspan": 1,
|
||||
"rowspan": 1
|
||||
}, {
|
||||
"width": 85.25,
|
||||
"colspan": 1,
|
||||
"rowspan": 1
|
||||
}, {
|
||||
"width": 85.25,
|
||||
"colspan": 1,
|
||||
"rowspan": 1
|
||||
}, {
|
||||
"width": 85.25,
|
||||
"colspan": 1,
|
||||
"rowspan": 1
|
||||
}]
|
||||
]
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "表格",
|
||||
"type": "tableCustom"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 21,
|
||||
"top": 346.5,
|
||||
"height": 61.5,
|
||||
"width": 15,
|
||||
"title": "装订线",
|
||||
"lineHeight": 18,
|
||||
"fixed": true,
|
||||
"contentPaddingTop": 3.75,
|
||||
"backgroundColor": "#ffffff"
|
||||
},
|
||||
"printElementType": {
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 225,
|
||||
"top": 349.5,
|
||||
"height": 13,
|
||||
"width": 346.5,
|
||||
"title": "自定义模块:主要为开发人员设计,能够快速,简单,实现自己功能",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 60,
|
||||
"top": 370.5,
|
||||
"height": 18,
|
||||
"width": 79,
|
||||
"title": "配置项表格",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 225,
|
||||
"top": 385.5,
|
||||
"height": 38,
|
||||
"width": 346.5,
|
||||
"title": "配置模块:主要为客户使用,开发人员可以配置属性,字段,标题等,客户直接使用,配置模块请参考实例2",
|
||||
"fontFamily": "微软雅黑",
|
||||
"lineHeight": 15,
|
||||
"textAlign": "center",
|
||||
"color": "#d93838"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 60,
|
||||
"top": 487.5,
|
||||
"height": 13,
|
||||
"width": 123,
|
||||
"title": "长文本会自动分页",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 60,
|
||||
"top": 507,
|
||||
"height": 40,
|
||||
"width": 511.5,
|
||||
"field": "longText"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "长文",
|
||||
"type": "longText"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 475.5,
|
||||
"top": 565.5,
|
||||
"height": 100,
|
||||
"width": 100
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "矩形",
|
||||
"type": "rect"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 174,
|
||||
"top": 568.5,
|
||||
"height": 13,
|
||||
"width": 90,
|
||||
"title": "竖线",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 60,
|
||||
"top": 574.5,
|
||||
"height": 100,
|
||||
"width": 10
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "竖线",
|
||||
"type": "vline"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 210,
|
||||
"top": 604.5,
|
||||
"height": 13,
|
||||
"width": 120,
|
||||
"title": "横线",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 130.5,
|
||||
"top": 625.5,
|
||||
"height": 10,
|
||||
"width": 277
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "横线",
|
||||
"type": "hline"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 364.5,
|
||||
"top": 649.5,
|
||||
"height": 13,
|
||||
"width": 101,
|
||||
"title": "矩形",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 525,
|
||||
"top": 784.5,
|
||||
"height": 13,
|
||||
"width": 63,
|
||||
"title": "页尾线",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 12,
|
||||
"top": 786,
|
||||
"height": 49,
|
||||
"width": 49
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "html",
|
||||
"type": "html"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 75,
|
||||
"top": 790.5,
|
||||
"height": 13,
|
||||
"width": 137,
|
||||
"title": "红色原型是自动定义的Html",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}, {
|
||||
"options": {
|
||||
"left": 334.5,
|
||||
"top": 810,
|
||||
"height": 13,
|
||||
"width": 205,
|
||||
"title": "页眉线已上。页尾下以下每页都会重复打印",
|
||||
"textAlign": "center"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "自定义文本",
|
||||
"type": "text"
|
||||
}
|
||||
}],
|
||||
"paperNumberLeft": 565.5,
|
||||
"paperNumberTop": 819
|
||||
}]
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
var printData = {
|
||||
name: '黄磊',
|
||||
password: '12346',
|
||||
longText: '浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文《脏话风波》浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注。这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文《脏话风波》浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注。这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文《脏话风波》浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注。这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文《脏话风波》浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注。这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现Line truncated
|
||||
table: [
|
||||
{ id: '1', name: '王小可', gender: '男', count: '120', amount: '9089元' },
|
||||
{ id: '2', name: '梦之遥', gender: '女', count: '20', amount: '89元' },
|
||||
{ id: '3', name: '梦之遥', gender: '女', count: '720', amount: '29089元' },
|
||||
{ id: '4', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '5', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '6', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '7', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '8', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '9', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '10', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '11', name: '王小可', gender: '男', count: '120', amount: '9089元' },
|
||||
{ id: '12', name: '梦之遥', gender: '女', count: '20', amount: '89元' },
|
||||
{ id: '13', name: '梦之遥', gender: '女', count: '720', amount: '29089元' },
|
||||
{ id: '14', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '15', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '16', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '17', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '18', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '19', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '20', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '21', name: '王小可', gender: '男', count: '120', amount: '9089元' },
|
||||
{ id: '22', name: '梦之遥', gender: '女', count: '20', amount: '89元' },
|
||||
{ id: '23', name: '梦之遥', gender: '女', count: '720', amount: '29089元' },
|
||||
{ id: '24', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '25', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '26', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '27', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '28', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '29', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '21', name: '王小可', gender: '男', count: '120', amount: '9089元' },
|
||||
{ id: '22', name: '梦之遥', gender: '女', count: '20', amount: '89元' },
|
||||
{ id: '23', name: '梦之遥', gender: '女', count: '720', amount: '29089元' },
|
||||
{ id: '24', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '25', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '26', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '27', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '28', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '29', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '21', name: '王小可', gender: '男', count: '120', amount: '9089元' },
|
||||
{ id: '22', name: '梦之遥', gender: '女', count: '20', amount: '89元' },
|
||||
{ id: '23', name: '梦之遥', gender: '女', count: '720', amount: '29089元' },
|
||||
|
||||
{ id: '29', name: '黄小菊', gender: '女', count: '420', amount: '19089元' },
|
||||
{ id: '30', name: '黄小菊', gender: '女', count: '420', amount: '19089元' }
|
||||
]
|
||||
};
|
||||
Reference in new issue
Block a user