Files
iMES_Net/iMES.WebApi/wwwroot/Print-Designer/apis/content.json
2026-02-06 18:34:35 +08:00

661 lines
37 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"data": {
"unit": "px",
"page": {
"readonly": false,
"width": 791,
"height": 1120,
"pages": 1,
"xOffset": 0,
"yOffset": 0,
"title": "",
"background": "#ffffff",
"backgroundImage": "",
"backgroundRepeat": "full",
"backgroundWidth": 0,
"backgroundHeight": 0,
"backgroundXOffset": 0,
"backgroundYOffset": 0
},
"groups": [],
"elements": [
{
"id": "e_335",
"type": "data-dtable",
"unit": "px",
"props": {
"rows": [
{
"cols": [
{
"height": 159,
"width": 644,
"rowspan": 1,
"colspan": 3,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": false,
"bTop": false,
"bRight": false,
"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": [
{
"id": "e_336",
"type": "data-celltable",
"unit": "px",
"props": {
"rows": [
{
"cols": [
{
"height": 30,
"width": 285,
"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": 317,
"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": "性别"
}
]
},
{
"cols": [
{
"height": 30,
"width": 285,
"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": "idn",
"bindName": "身份证号"
},
{
"height": 30,
"width": 317,
"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": "地址"
}
]
}
],
"bind": {
"tag": "apis/person.json",
"id": "3"
},
"x": 20,
"y": 80,
"width": 603,
"height": 61,
"rotate": 0,
"alpha": 1,
"borderwidth": 1,
"bordertype": "solid",
"bordercolor": "#000000",
"borderdeed": "collapse",
"ename": "单元格",
"locked": false
}
},
{
"id": "e_386",
"type": "text",
"unit": "px",
"props": {
"pinX": false,
"pinY": false,
"x": 52,
"y": 16,
"width": 560,
"height": 43,
"rotate": 0,
"text": "通过地址栏的id和配置项getContentUrl可以在打印页面通过id获取内容后打印。打印页面和设计器是相互独立且可以互相配合的。",
"bind": {
"tag": "",
"id": "",
"fields": []
},
"format": "",
"autoHeight": false,
"fontsize": 14,
"fontfamily": "tahoma",
"alpha": 1,
"letterspacing": 0,
"background": "",
"forecolor": "#000000",
"styleBold": false,
"styleUnderline": false,
"styleItalic": false,
"styleStrike": false,
"styleOverline": false,
"hpos": "flex-start",
"vpos": "flex-start",
"borderwidth": 0,
"bordertype": "solid",
"bordercolor": "#000000",
"ename": "文本",
"locked": false
}
}
]
}
]
},
{
"label": true,
"cols": [
{
"height": 30,
"width": 181,
"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": 231,
"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": 231,
"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": []
}
]
},
{
"data": true,
"cols": [
{
"height": 30,
"width": 181,
"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": "f2",
"bindName": "点击量"
},
{
"height": 30,
"width": 231,
"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": "f1",
"bindName": "展现量"
},
{
"height": 30,
"width": 231,
"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": "f3",
"bindName": "点击率"
}
]
},
{
"total": true,
"cols": [
{
"height": 30,
"width": 181,
"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": ""
},
{
"height": 30,
"width": 231,
"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": "acc",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": ""
},
{
"height": 30,
"width": 231,
"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": "sumpage",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "",
"textFormat": ""
}
]
},
{
"cols": [
{
"height": 68,
"width": 181,
"rowspan": 1,
"colspan": 1,
"paddingLeft": 5,
"paddingTop": 5,
"paddingRight": 5,
"paddingBottom": 5,
"bLeft": true,
"bTop": true,
"bRight": true,
"bBottom": true,
"hpos": "center",
"vpos": "center",
"alpha": 1,
"type": "text",
"textLetterspacing": 0,
"textForecolor": "#000000",
"textFontsize": 14,
"textFontfamily": "tahoma",
"textStyleBold": false,
"textStyleUnderline": false,
"textStyleItalic": false,
"textStyleStrike": false,
"textContent": "总计",
"textFormat": "",
"elements": []
},
{
"height": 68,
"width": 463,
"rowspan": 1,
"colspan": 2,
"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": [
{
"id": "e_337",
"type": "text",
"unit": "px",
"props": {
"x": 32,
"y": 22,
"width": 200,
"height": 27,
"rotate": 0,
"text": "这里放总计",
"bind": {
"tag": "",
"id": "",
"fields": []
},
"format": "",
"autoHeight": false,
"fontsize": 14,
"fontfamily": "tahoma",
"alpha": 1,
"letterspacing": 0,
"background": "",
"forecolor": "#000000",
"styleBold": false,
"styleUnderline": false,
"styleItalic": false,
"styleStrike": false,
"styleOverline": false,
"hpos": "flex-start",
"vpos": "flex-start",
"borderwidth": 0,
"bordertype": "solid",
"bordercolor": "#000000",
"ename": "文本",
"locked": false
}
}
]
}
]
}
],
"bind": {
"tag": "apis/report.json",
"id": "2"
},
"x": 44,
"y": 40,
"width": 645,
"height": 408,
"alpha": 1,
"borderwidth": 1,
"bordertype": "solid",
"bordercolor": "#000000",
"borderdeed": "collapse",
"tfootSpacing": 30,
"headFirst": true,
"footLast": true,
"hideHead": false,
"hideLabel": false,
"hideTotal": false,
"hideFoot": false,
"ename": "数据表格",
"locked": false
}
}
]
},
"success": true,
"message": "ok"
}