{ "panels": [ { "index": 1, "name": 2, "paperType": "自定义", "height": 60, "width": 80, "paperList": { "type": "自定义", "width": 80, "height": 60 }, "paperHeader": 0, "paperFooter": 166.5, "paperNumberDisabled": true, "paperNumberContinue": true, "panelAngle": 0, "overPrintOptions": { "content": "", "opacity": 0.7, "type": 1 }, "watermarkOptions": { "content": "", "fillStyle": "rgba(87, 13, 248, 0.5)", "fontSize": "36px", "rotate": 25, "width": 413, "height": 310, "timestamp": true, "format": "YYYY-MM-DD HH:mm" }, "panelLayoutOptions": { "layoutType": "column", "layoutRowGap": 0, "layoutColumnGap": 0 }, "printElements": [ { "options": { "left": 6, "top": 7.5, "height": 10, "width": 69, "title": "病区", "field": "patientName", "coordinateSync": false, "widthHeightSync": false, "qrCodeLevel": 0, "fontSize": 7.5, "fontWeight": "bold" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 81, "top": 7.5, "height": 10, "width": 52.5, "title": "姓名", "field": "patientName", "coordinateSync": false, "widthHeightSync": false, "qrCodeLevel": 0, "fontSize": 7.5, "fontWeight": "bold" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 147, "top": 7.5, "height": 10, "width": 72, "title": "床位号", "field": "bedNo", "coordinateSync": false, "widthHeightSync": false, "qrCodeLevel": 0, "fontSize": 7.5, "fontWeight": "bold" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 6, "top": 22, "height": 12, "width": 81, "title": "频次 qd", "coordinateSync": false, "widthHeightSync": false, "qrCodeLevel": 0, "fontSize": 8.25, "fontWeight": "bold" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 147, "top": 24, "height": 10, "width": 70.5, "title": "日期", "field": "date", "coordinateSync": false, "widthHeightSync": false, "qrCodeLevel": 0, "fontSize": 7.5, "fontWeight": "bold" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 4.5, "top": 45, "height": 30, "width": 216, "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": 51.988373079128756, "field": "data", "checked": true, "columnId": "data", "fixed": false, "rowspan": 1, "colspan": 1 }, { "title": "剂量", "titleSync": false, "align": "center", "tableQRCodeLevel": 0, "tableSummaryTitle": true, "tableSummary": "", "width": 55.016471480350916, "checked": true, "fixed": false, "rowspan": 1, "colspan": 1 }, { "title": "滴速", "titleSync": false, "align": "center", "tableQRCodeLevel": 0, "tableSummaryTitle": true, "tableSummary": "", "width": 55.31961796101854, "field": "", "checked": true, "columnId": "", "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": 53.6755374795018, "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 } }, { "options": { "left": 10, "top": 144, "height": 9, "width": 210, "borderWidth": "0.75", "title": "undefined+beforeDragIn", "coordinateSync": false, "widthHeightSync": false }, "printElementType": { "title": "横线", "type": "hline" } }, { "options": { "left": 10, "top": 153, "height": 9.75, "width": 82.5, "title": "执行人", "field": "prepareName", "coordinateSync": false, "widthHeightSync": false, "qrCodeLevel": 0 }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 111, "top": 153, "height": 9.75, "width": 82.5, "title": "时间", "field": "date", "coordinateSync": false, "widthHeightSync": false, "qrCodeLevel": 0 }, "printElementType": { "title": "文本", "type": "text" } } ], "paperNumberLeft": 151.5, "paperNumberTop": 91 } ] }