{ "panels": [ { "index": 1, "name": 3, "paperType": "A4", "height": 297, "width": 210, "paperList": { "type": "A4", "width": 210, "height": 297 }, "paperHeader": 0, "paperFooter": 837, "paperNumberDisabled": true, "paperNumberContinue": true, "expandCss": "", "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": 0, "top": 22.5, "height": 19.5, "width": 595.5, "title": "{{HOSPITAL_NAME}}", "coordinateSync": false, "widthHeightSync": false, "fontSize": 20.25, "qrCodeLevel": 0, "textAlign": "center" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 0, "top": 54.5, "height": 20, "width": 595.5, "title": "手术记录", "coordinateSync": false, "widthHeightSync": false, "fontSize": 13.5, "textAlign": "center", "qrCodeLevel": 0 }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 247.5, "top": 81, "height": 13.5, "width": 190.5, "title": "性别", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "genderEnum_enumText" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 460.5, "top": 81, "height": 13.5, "width": 99, "title": "年龄", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "age" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 25.5, "top": 82.5, "height": 13.5, "width": 193.5, "title": "姓名", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "patientName" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 25.5, "top": 108, "height": 13.5, "width": 192, "title": "医保", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "contractName" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 247.5, "top": 108, "height": 13.5, "width": 190.5, "title": "电话", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "phone" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 460.5, "top": 108, "height": 13.5, "width": 99, "title": "医生", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "doctorName" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 460.5, "top": 132.99999618530273, "height": 13.5, "width": 124.5, "title": "科室", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "department" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 25.5, "top": 133.5, "height": 13.5, "width": 196.5, "title": "病历号", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "busNo" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 247.5, "top": 133.5, "height": 13.5, "width": 200, "title": "手术日期", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "operationDate" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 25.5, "top": 157.5, "height": 61.5, "width": 550.5, "title": "诊断", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "busNosds" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 10, "top": 226.5, "height": 9, "width": 576, "borderWidth": "1.5", "coordinateSync": false, "widthHeightSync": false }, "printElementType": { "title": "横线", "type": "hline" } }, { "options": { "left": 25.5, "top": 250.5, "height": 13.5, "width": 81, "title": "详细记录", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "nickName", "fontWeight": "bold", "fixed": true }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 25.5, "top": 271.5, "height": 493.5, "width": 550, "title": " ", "coordinateSync": false, "widthHeightSync": false, "hideTitle": true, "field": "surgicalDetails", "lHeight": 60, "formatter": "function(title, value, options, templateData, target, paperNo) {\n // 返回原始值,让组件自动处理高度\n return value;\n}", "styler": "function(value, options, target, templateData, paperNo) {\n return { \n 'word-wrap': 'break-word',\n 'word-break': 'break-all',\n 'white-space': 'normal',\n 'line-height': '1.4',\n 'overflow': 'visible'\n };\n}" }, "printElementType": { "title": "长文", "type": "longText" } }, { "options": { "left": 9, "top": 774, "height": 9, "width": 576, "borderWidth": "1.5", "coordinateSync": false, "widthHeightSync": false, "fixed": true }, "printElementType": { "title": "横线", "type": "hline" } }, { "options": { "left": 28.5, "top": 787.5, "height": 13.5, "width": 223.5, "title": "病人或家人签字:", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "fixed": true }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 399, "top": 787.5, "height": 13.5, "width": 186, "title": "医生签字:", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "fixed": true }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 399, "top": 811.5, "height": 13.5, "width": 186, "title": "日期", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "reqTime", "fixed": true }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 28.5, "top": 813, "height": 13.5, "width": 222, "title": "日期", "coordinateSync": false, "widthHeightSync": false, "fontSize": 12, "qrCodeLevel": 0, "field": "reqTime", "fixed": true }, "printElementType": { "title": "文本", "type": "text" } } ], "paperNumberLeft": 236, "paperNumberTop": 573 } ] }