{
  "panels": [
    {
      "index": 1,
      "name": 2,
      "paperType": "自定义",
      "height": 50,
      "width": 70,
      "paperHeader": 0,
      "paperFooter": 141.73228346456693,
      "printElements": [
        {
          "options": {
            "left": 97.5,
            "top": 9,
            "height": 9.75,
            "width": 33,
            "title": "文本",
            "field": "genderEnum_enumText",
            "coordinateSync": false,
            "widthHeightSync": false,
            "qrCodeLevel": 0,
            "hideTitle": true
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        },
        {
          "options": {
            "left": 6,
            "top": 9,
            "height": 9.75,
            "width": 51,
            "title": "文本",
            "field": "patientName",
            "coordinateSync": false,
            "widthHeightSync": false,
            "qrCodeLevel": 0,
            "hideTitle": true
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        },
        {
          "options": {
            "left": 154.5,
            "top": 9,
            "height": 9.75,
            "width": 45,
            "title": "文本",
            "field": "age",
            "coordinateSync": false,
            "widthHeightSync": false,
            "qrCodeLevel": 0,
            "hideTitle": true
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        },
        {
          "options": {
            "left": 129,
            "top": 25.5,
            "height": 9.75,
            "width": 70.5,
            "title": "文本",
            "field": "date",
            "coordinateSync": false,
            "widthHeightSync": false,
            "qrCodeLevel": 0,
            "hideTitle": true
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        },
        {
          "options": {
            "left": 6,
            "top": 25.5,
            "height": 9.75,
            "width": 81,
            "title": "频次",
            "coordinateSync": false,
            "widthHeightSync": false,
            "qrCodeLevel": 0
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        },
        {
          "options": {
            "left": 4.5,
            "top": 42,
            "height": 18,
            "width": 9,
            "title": "undefined+beforeDragIn"
          },
          "printElementType": {
            "title": "竖线",
            "type": "vline"
          }
        },
        {
          "options": {
            "left": 192,
            "top": 42,
            "height": 18,
            "width": 9,
            "title": "undefined+beforeDragIn"
          },
          "printElementType": {
            "title": "竖线",
            "type": "vline"
          }
        },
        {
          "options": {
            "left": 4.5,
            "top": 42,
            "height": 9,
            "width": 187.5,
            "borderWidth": 0.75,
            "title": "undefined+beforeDragIn"
          },
          "printElementType": {
            "title": "横线",
            "type": "hline"
          }
        },
        {
          "options": {
            "left": 39,
            "top": 46.5,
            "height": 9.75,
            "width": 46.5,
            "title": "药名",
            "coordinateSync": false,
            "widthHeightSync": false,
            "qrCodeLevel": 0
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        },
        {
          "options": {
            "left": 132,
            "top": 46.5,
            "height": 9.75,
            "width": 33,
            "title": "规格",
            "coordinateSync": false,
            "widthHeightSync": false,
            "qrCodeLevel": 0
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        },
        {
          "options": {
            "left": 4.5,
            "top": 60,
            "height": 36,
            "width": 189,
            "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",
            "columns": [
              [
                {
                  "title": "用法",
                  "titleSync": false,
                  "halign": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "width": 45.48982644423766,
                  "field": "data",
                  "checked": true,
                  "columnId": "data",
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                },
                {
                  "title": "剂量",
                  "titleSync": false,
                  "align": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "width": 47.79422504530706,
                  "checked": true,
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                },
                {
                  "title": "速度",
                  "titleSync": false,
                  "align": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "width": 48.74985321589121,
                  "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": 46.96609529456407,
                  "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,
      "paperNumberDisabled": true,
      "paperNumberContinue": true,
      "overPrintOptions": {
        "content": "",
        "opacity": 0.7,
        "type": 1
      },
      "watermarkOptions": {
        "content": "",
        "fillStyle": "rgba(184, 184, 184, 0.3)",
        "fontSize": "14px",
        "rotate": 25,
        "width": 200,
        "height": 200,
        "timestamp": false,
        "format": "YYYY-MM-DD HH:mm"
      },
      "panelLayoutOptions": {
        "layoutType": "column",
        "layoutRowGap": 0,
        "layoutColumnGap": 0
      }
    }
  ]
}