Files
iMES_Net/iMES.WebApi/wwwroot/Print-Designer/apis/example_43.json

895 lines
44 KiB
JSON
Raw Normal View History

2026-02-06 18:34:35 +08:00
{
"data": {
"unit": "px",
"page": {
"width": 791,
"height": 400,
"pages": 3,
"xOffset": 0,
"yOffset": 0,
"background": "#ffffff",
"backgroundImage": "",
"backgroundRepeat": "full",
"backgroundWidth": 0,
"backgroundHeight": 0,
"backgroundXOffset": 0,
"backgroundYOffset": 0
},
"groups": [],
"elements": [
{
"id": "e_133",
"type": "hod-header",
"props": {
"rows": [
{
"height": 23,
"cols": [
{
"width": 791,
"elements": [
{
"id": "e_142",
"type": "pager",
"props": {
"ext": {},
"x": 580,
"y": 0,
"width": 200,
"height": 50,
"rotate": 0,
"text": "页头,当前第${currentPage}页,共${totalPage}页",
"fontsize": 14,
"fontfamily": "tahoma",
"alpha": 1,
"letterspacing": 0,
"background": "",
"forecolor": "#000000",
"styleBold": false,
"styleUnderline": false,
"styleItalic": false,
"styleStrike": false,
"hpos": "flex-start",
"vpos": "flex-start",
"ename": "页码器"
}
}
],
"borderRadius": "0% 0% 0% 0%/0% 0% 0% 0%",
"borderLeftStyle": "dashed",
"borderLeftWidth": 0,
"borderLeftColor": "#cccccc",
"borderTopStyle": "dashed",
"borderTopWidth": 0,
"borderTopColor": "#cccccc",
"borderRightStyle": "dashed",
"borderRightWidth": 0,
"borderRightColor": "#cccccc",
"borderBottomStyle": "dashed",
"borderBottomWidth": 1,
"borderBottomColor": "#cccccc"
}
]
}
],
"x": 0,
"y": 0,
"width": 791,
"height": 23,
"alpha": 1,
"ename": "页头"
}
},
{
"id": "e_360",
"type": "hod-footer",
"props": {
"rows": [
{
"height": 25,
"cols": [
{
"width": 791,
"elements": [
{
"id": "e_387",
"type": "line",
"props": {
"x": 44,
"y": 10,
"width": 270,
"rotate": 0,
"alpha": 1,
"height": 1,
"linetype": "solid",
"color": "#000000",
"ename": "直线"
}
},
{
"id": "e_533",
"type": "line",
"props": {
"x": 451,
"y": 10,
"width": 270,
"rotate": 0,
"alpha": 1,
"height": 1,
"linetype": "solid",
"color": "#000000",
"ename": "直线"
}
},
{
"id": "e_571",
"type": "text",
"props": {
"x": 273,
"y": -17,
"width": 200,
"height": 50,
"rotate": 0,
"text": "页脚",
"bind": {
"tag": "",
"id": "",
"fields": []
},
"format": "",
"fontsize": 14,
"fontfamily": "tahoma",
"alpha": 1,
"letterspacing": 0,
"background": "",
"forecolor": "#000000",
"styleBold": false,
"styleUnderline": false,
"styleItalic": false,
"styleStrike": false,
"hpos": "center",
"vpos": "center",
"ename": "文本"
}
}
],
"borderRadius": "0% 0% 0% 0%/0% 0% 0% 0%",
"borderLeftStyle": "dashed",
"borderLeftWidth": 0,
"borderLeftColor": "#cccccc",
"borderTopStyle": "dashed",
"borderTopWidth": 1,
"borderTopColor": "#cccccc",
"borderRightStyle": "dashed",
"borderRightWidth": 0,
"borderRightColor": "#cccccc",
"borderBottomStyle": "dashed",
"borderBottomWidth": 0,
"borderBottomColor": "#cccccc"
}
]
}
],
"x": 0,
"y": 1175,
"width": 791,
"height": 25,
"alpha": 1,
"ename": "页脚"
}
},
{
"id": "e_607",
"type": "text",
"props": {
"x": 283,
"y": 58,
"width": 200,
"height": 50,
"rotate": 0,
"text": "封面",
"bind": {
"tag": "",
"id": "",
"fields": []
},
"format": "",
"fontsize": 20,
"fontfamily": "tahoma",
"alpha": 1,
"letterspacing": 0,
"background": "",
"forecolor": "#000000",
"styleBold": true,
"styleUnderline": false,
"styleItalic": false,
"styleStrike": false,
"hpos": "center",
"vpos": "center",
"ename": "文本"
}
},
{
"id": "e_653",
"type": "image",
"props": {
"x": 266,
"y": 115,
"width": 226,
"height": 226,
"rotate": 0,
"alpha": 1,
"image": "//img-qn-0.51miz.com/preview/element/00/01/25/24/E-1252413-D3F4FA91.jpg!/quality/90/unsharp/true/compress/true/format/jpg/fh/400",
"bind": {
"tag": "",
"id": "",
"fields": []
},
"rotateX": false,
"rotateY": false,
"ename": "图片"
}
},
{
"id": "e_691",
"type": "text",
"props": {
"x": 267,
"y": 938,
"width": 200,
"height": 50,
"rotate": 0,
"text": "尾页",
"bind": {
"tag": "",
"id": "",
"fields": []
},
"format": "",
"fontsize": 20,
"fontfamily": "tahoma",
"alpha": 1,
"letterspacing": 0,
"background": "",
"forecolor": "#000000",
"styleBold": true,
"styleUnderline": false,
"styleItalic": false,
"styleStrike": false,
"hpos": "center",
"vpos": "center",
"ename": "文本"
}
},
{
"id": "e_710",
"type": "data-dtable",
"props": {
"rows": [
{
"cols": [
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "姓名",
"textFormat": "",
"elements": []
},
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "性别",
"textFormat": "",
"elements": []
},
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "地址",
"textFormat": "",
"elements": []
},
{
"paddingBottom": 5,
"paddingTop": 5,
"paddingLeft": 5,
"paddingRight": 5,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "身份证号",
"textFormat": "",
"elements": [],
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1
}
]
},
{
"label": true,
"cols": [
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "姓名",
"textFormat": "",
"elements": []
},
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "性别",
"textFormat": "",
"elements": []
},
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "地址",
"textFormat": "",
"elements": []
},
{
"paddingBottom": 5,
"paddingTop": 5,
"paddingLeft": 5,
"paddingRight": 5,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "身份证号",
"textFormat": "",
"elements": [],
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1
}
]
},
{
"data": true,
"cols": [
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": "",
"bindKey": "name",
"bindName": "姓名"
},
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": "",
"bindKey": "gender",
"bindName": "性别"
},
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": "",
"bindKey": "addr",
"bindName": "地址"
},
{
"paddingBottom": 5,
"paddingTop": 5,
"paddingLeft": 5,
"paddingRight": 5,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": "",
"elements": [],
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"bindKey": "idn",
"bindName": "身份证号"
}
]
},
{
"total": true,
"cols": [
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": ""
},
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": ""
},
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": ""
},
{
"paddingBottom": 5,
"paddingTop": 5,
"paddingLeft": 5,
"paddingRight": 5,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": "",
"elements": [],
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1
}
]
},
{
"cols": [
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": "",
"elements": []
},
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": "",
"elements": []
},
{
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": "",
"elements": []
},
{
"paddingBottom": 5,
"paddingTop": 5,
"paddingLeft": 5,
"paddingRight": 5,
"hpos": "flex-start",
"vpos": "flex-start",
"alpha": 1,
"type": "text",
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": "",
"elements": [],
"height": 30,
"width": 150,
"rowspan": 1,
"colspan": 1
}
]
}
],
"bind": {
"tag": "apis/person.json",
"id": "3"
},
"x": 87,
"y": 443,
"width": 601,
"height": 133,
"alpha": 1,
"borderwidth": 1,
"bordertype": "solid",
"bordercolor": "#000000",
"borderdeed": "collapse",
"tfootSpacing": 12,
"hideTotal": true,
"hideFoot": true,
"hideHead": true,
"ename": "数据表格"
}
}
]
},
"success": true
}