246 lines
7.4 KiB
JSON
246 lines
7.4 KiB
JSON
{
|
|
"panels": [
|
|
{
|
|
"index": 1,
|
|
"name": 2,
|
|
"paperType": "自定义",
|
|
"height": 34,
|
|
"width": 58,
|
|
"paperList": {
|
|
"type": "自定义",
|
|
"width": 60,
|
|
"height": 40
|
|
},
|
|
"paperHeader": 0,
|
|
"paperFooter": 91.5,
|
|
"paperNumberDisabled": true,
|
|
"paperNumberContinue": true,
|
|
"expandCss": "",
|
|
"panelAngle": 0,
|
|
"overPrintOptions": {
|
|
"content": "",
|
|
"opacity": 0.01,
|
|
"type": 1
|
|
},
|
|
"watermarkOptions": {
|
|
"content": "",
|
|
"fillStyle": "rgba(87, 13, 248, 0.5)",
|
|
"fontSize": "10px",
|
|
"rotate": 25,
|
|
"width": 100,
|
|
"height": 100,
|
|
"timestamp": false,
|
|
"format": "YYYY-MM-DD HH:mm"
|
|
},
|
|
"panelLayoutOptions": {
|
|
"layoutType": "column",
|
|
"layoutRowGap": 0,
|
|
"layoutColumnGap": 0
|
|
},
|
|
"printElements": [
|
|
{
|
|
"options": {
|
|
"left": 6,
|
|
"top": 7.5,
|
|
"height": 10,
|
|
"width": 51,
|
|
"title": "文本",
|
|
"field": "patientName",
|
|
"coordinateSync": false,
|
|
"widthHeightSync": false,
|
|
"qrCodeLevel": 0,
|
|
"hideTitle": true,
|
|
"fontSize": 7.5,
|
|
"fontWeight": "bold"
|
|
},
|
|
"printElementType": {
|
|
"title": "文本",
|
|
"type": "text"
|
|
}
|
|
},
|
|
{
|
|
"options": {
|
|
"left": 70,
|
|
"top": 7.5,
|
|
"height": 10,
|
|
"width": 33,
|
|
"title": "文本",
|
|
"field": "genderEnum_enumText",
|
|
"coordinateSync": false,
|
|
"widthHeightSync": false,
|
|
"qrCodeLevel": 0,
|
|
"hideTitle": true,
|
|
"fontSize": 7.5,
|
|
"fontWeight": "bold"
|
|
},
|
|
"printElementType": {
|
|
"title": "文本",
|
|
"type": "text"
|
|
}
|
|
},
|
|
{
|
|
"options": {
|
|
"left": 119,
|
|
"top": 7.5,
|
|
"height": 10,
|
|
"width": 45,
|
|
"title": "文本",
|
|
"field": "age",
|
|
"coordinateSync": false,
|
|
"widthHeightSync": false,
|
|
"qrCodeLevel": 0,
|
|
"hideTitle": true,
|
|
"fontSize": 7.5,
|
|
"fontWeight": "bold",
|
|
"textAlign": "right"
|
|
},
|
|
"printElementType": {
|
|
"title": "文本",
|
|
"type": "text"
|
|
}
|
|
},
|
|
{
|
|
"options": {
|
|
"left": 6,
|
|
"top": 19.5,
|
|
"height": 12,
|
|
"width": 81,
|
|
"title": "频次 qd",
|
|
"coordinateSync": false,
|
|
"widthHeightSync": false,
|
|
"qrCodeLevel": 0,
|
|
"fontSize": 8.25,
|
|
"fontWeight": "bold"
|
|
},
|
|
"printElementType": {
|
|
"title": "文本",
|
|
"type": "text"
|
|
}
|
|
},
|
|
{
|
|
"options": {
|
|
"left": 93,
|
|
"top": 19.5,
|
|
"height": 10,
|
|
"width": 70.5,
|
|
"title": "文本",
|
|
"field": "date",
|
|
"coordinateSync": false,
|
|
"widthHeightSync": false,
|
|
"qrCodeLevel": 0,
|
|
"hideTitle": true,
|
|
"fontSize": 7.5,
|
|
"fontWeight": "bold",
|
|
"textAlign": "right"
|
|
},
|
|
"printElementType": {
|
|
"title": "文本",
|
|
"type": "text"
|
|
}
|
|
},
|
|
{
|
|
"options": {
|
|
"left": 4.5,
|
|
"top": 36,
|
|
"height": 30,
|
|
"width": 156,
|
|
"title": "undefined+beforeDragIn",
|
|
"field": "infuseData",
|
|
"coordinateSync": false,
|
|
"widthHeightSync": false,
|
|
"tableHeaderBackground": "#ffffff",
|
|
"tableBodyCellBorder": "noBorder",
|
|
"rowsColumnsMerge": "function(data, col, colIndex, rowIndex, tableData, printData){ \n // 合并前三列 (columnIndex 0-2)\n if (colIndex >= 0 && colIndex <= 2) {\n // 第一列显示合并后的单元格\n if (colIndex === 0) {\n return [1, 3]; // rowspan=1, colspan=3\n } \n // 其他两列不显示(被合并)\n else {\n return [0, 0]; // rowspan=0, colspan=0\n }\n }\n // 其他列正常显示\n return [1, 1]; // rowspan=1, colspan=1\n}",
|
|
"tableBodyRowBorder": "topBottomBorder",
|
|
"fontSize": 7.5,
|
|
"tableHeaderRepeat": "first",
|
|
"maxRows": 3,
|
|
"tableHeaderRowHeight": 6,
|
|
"tableHeaderFontSize": 6.75,
|
|
"columns": [
|
|
[
|
|
{
|
|
"title": "用法",
|
|
"titleSync": false,
|
|
"halign": "center",
|
|
"tableQRCodeLevel": 0,
|
|
"tableSummaryTitle": true,
|
|
"tableSummary": "",
|
|
"width": 37.54715833492632,
|
|
"field": "data",
|
|
"checked": true,
|
|
"columnId": "data",
|
|
"fixed": false,
|
|
"rowspan": 1,
|
|
"colspan": 1
|
|
},
|
|
{
|
|
"title": "剂量",
|
|
"titleSync": false,
|
|
"align": "center",
|
|
"tableQRCodeLevel": 0,
|
|
"tableSummaryTitle": true,
|
|
"tableSummary": "",
|
|
"width": 39.4492016246979,
|
|
"checked": true,
|
|
"fixed": false,
|
|
"rowspan": 1,
|
|
"colspan": 1
|
|
},
|
|
{
|
|
"title": "速度",
|
|
"titleSync": false,
|
|
"align": "center",
|
|
"tableQRCodeLevel": 0,
|
|
"tableSummaryTitle": true,
|
|
"tableSummary": "",
|
|
"width": 40.23797408295783,
|
|
"checked": true,
|
|
"fixed": false,
|
|
"rowspan": 1,
|
|
"colspan": 1
|
|
},
|
|
{
|
|
"title": "数量",
|
|
"titleSync": false,
|
|
"align": "center",
|
|
"tableQRCodeLevel": 0,
|
|
"tableSummaryTitle": true,
|
|
"tableSummary": "",
|
|
"formatter2": "function(value,row,index,options,rowIndex,column){ return value + ' ' + row.unitCode_dictText; }",
|
|
"width": 38.765665957417966,
|
|
"field": "quantity",
|
|
"checked": true,
|
|
"columnId": "quantity",
|
|
"fixed": false,
|
|
"rowspan": 1,
|
|
"colspan": 1
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"printElementType": {
|
|
"title": "表格",
|
|
"type": "table",
|
|
"editable": true,
|
|
"columnDisplayEditable": true,
|
|
"columnDisplayIndexEditable": true,
|
|
"columnTitleEditable": true,
|
|
"columnResizable": true,
|
|
"columnAlignEditable": true,
|
|
"isEnableEditField": true,
|
|
"isEnableContextMenu": true,
|
|
"isEnableInsertRow": true,
|
|
"isEnableDeleteRow": true,
|
|
"isEnableInsertColumn": true,
|
|
"isEnableDeleteColumn": true,
|
|
"isEnableMergeCell": true
|
|
}
|
|
}
|
|
],
|
|
"paperNumberLeft": 151.5,
|
|
"paperNumberTop": 91
|
|
}
|
|
]
|
|
}
|