- 创建手术室维护界面PRD文档 - 定义页面概述、核心功能和用户价值 - 设计整体布局和页面区域详细描述 - 规范交互功能和数据结构说明 - 说明开发实现要点和注意事项 - 移除中医诊断主诊断功能实现说明文档 - 移除公告通知弹窗功能说明文档 - 移除手术人员字段不显示问题解决方案文档 - 移除手术和麻醉信息Redis缓存实现说明文档 - 移除手术室管理添加类型和所属科室字段说明文档
1322 lines
62 KiB
JSON
1322 lines
62 KiB
JSON
{
|
||
"panels": [
|
||
{
|
||
"index": 1,
|
||
"name": 3,
|
||
"paperType": "自定义",
|
||
"height": 271,
|
||
"width": 90,
|
||
"paperList": {
|
||
"type": "自定义",
|
||
"width": 90,
|
||
"height": 271
|
||
},
|
||
"paperHeader": 0,
|
||
"paperFooter": 766.5,
|
||
"paperNumberDisabled": true,
|
||
"paperNumberContinue": false,
|
||
"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": 38,
|
||
"height": 19.5,
|
||
"width": 255,
|
||
"title": "中药{{HOSPITAL_NAME}}",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 11.25,
|
||
"qrCodeLevel": 0,
|
||
"textAlign": "center",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 0,
|
||
"top": 52.5,
|
||
"height": 20,
|
||
"width": 255,
|
||
"title": "门 诊 处 方 笺",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 8.25,
|
||
"textAlign": "center",
|
||
"qrCodeLevel": 0,
|
||
"fixed": true,
|
||
"textDecoration": "underline"
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 195,
|
||
"top": 55.5,
|
||
"height": 14,
|
||
"width": 40,
|
||
"title": "普通处方",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fixed": true,
|
||
"fontSize": 8.25,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderLeft": "solid",
|
||
"borderTop": "solid",
|
||
"borderRight": "solid",
|
||
"borderBottom": "solid",
|
||
"qrCodeLevel": 0
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 195,
|
||
"top": 69,
|
||
"height": 14,
|
||
"width": 40,
|
||
"title": "当日有效",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 8.25,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderLeft": "solid",
|
||
"borderRight": "solid",
|
||
"borderBottom": "solid",
|
||
"qrCodeLevel": 0,
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 15.5,
|
||
"top": 87,
|
||
"height": 13.5,
|
||
"width": 100,
|
||
"title": "费别",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"qrCodeLevel": 0,
|
||
"field": "contractName",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 122.5,
|
||
"top": 87,
|
||
"height": 13.5,
|
||
"width": 117,
|
||
"title": "门诊号",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"qrCodeLevel": 0,
|
||
"field": "encounterNo",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 15.5,
|
||
"top": 106.5,
|
||
"height": 13.5,
|
||
"width": 100,
|
||
"title": "科室",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"qrCodeLevel": 0,
|
||
"field": "departmentName",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 122.5,
|
||
"top": 106.5,
|
||
"height": 13.5,
|
||
"width": 117,
|
||
"title": "处方号",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"qrCodeLevel": 0,
|
||
"fixed": true,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[0].prescriptionNo的值\n let prescriptionNoValue = '';\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[0] && \n templateData.prescriptionList[0].prescriptionNo !== undefined) {\n \n prescriptionNoValue = templateData.prescriptionList[0].prescriptionNo;\n }\n } catch (error) {\n console.error('获取剂量值时出错:', error);\n }\n \n return `<span>处方号:   ${prescriptionNoValue || ''}</span>`;\n}"
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 10.5,
|
||
"top": 123,
|
||
"height": 25,
|
||
"width": 30,
|
||
"title": "姓名",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderTop": "solid",
|
||
"borderRight": "solid",
|
||
"borderBottom": "solid",
|
||
"borderWidth": "1.5",
|
||
"qrCodeLevel": 0
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 39,
|
||
"top": 123,
|
||
"height": 25,
|
||
"width": 60,
|
||
"title": "姓名",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderTop": "solid",
|
||
"borderRight": "solid",
|
||
"borderBottom": "solid",
|
||
"borderWidth": "1.5",
|
||
"qrCodeLevel": 0,
|
||
"field": "patientName",
|
||
"hideTitle": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 99,
|
||
"top": 123,
|
||
"height": 25,
|
||
"width": 30,
|
||
"title": "性别",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderTop": "solid",
|
||
"borderRight": "solid",
|
||
"borderBottom": "solid",
|
||
"borderWidth": "1.5",
|
||
"qrCodeLevel": 0
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 129,
|
||
"top": 123,
|
||
"height": 25,
|
||
"width": 44,
|
||
"title": "性别",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderTop": "solid",
|
||
"borderRight": "solid",
|
||
"borderBottom": "solid",
|
||
"borderWidth": "1.5",
|
||
"qrCodeLevel": 0,
|
||
"field": "genderEnum_enumText",
|
||
"hideTitle": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 172.5,
|
||
"top": 123,
|
||
"height": 25,
|
||
"width": 30,
|
||
"title": "年龄",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderTop": "solid",
|
||
"borderRight": "solid",
|
||
"borderBottom": "solid",
|
||
"borderWidth": "1.5",
|
||
"qrCodeLevel": 0
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 202,
|
||
"top": 123,
|
||
"height": 25,
|
||
"width": 45,
|
||
"title": "年龄",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderTop": "solid",
|
||
"borderBottom": "solid",
|
||
"borderWidth": "1.5",
|
||
"qrCodeLevel": 0,
|
||
"field": "age",
|
||
"hideTitle": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 10.5,
|
||
"top": 147,
|
||
"height": 25,
|
||
"width": 30,
|
||
"title": "电话",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderRight": "solid",
|
||
"borderBottom": "solid",
|
||
"borderWidth": "1.5",
|
||
"qrCodeLevel": 0
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 40.5,
|
||
"top": 147,
|
||
"height": 25,
|
||
"width": 69,
|
||
"title": "联系电话",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderRight": "solid",
|
||
"borderBottom": "solid",
|
||
"borderWidth": "1.5",
|
||
"qrCodeLevel": 0,
|
||
"field": "phone",
|
||
"hideTitle": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 108,
|
||
"top": 147,
|
||
"height": 25,
|
||
"width": 40,
|
||
"title": "身份证号",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderRight": "solid",
|
||
"borderBottom": "solid",
|
||
"borderWidth": "1.5",
|
||
"qrCodeLevel": 0
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 147,
|
||
"top": 147,
|
||
"height": 25,
|
||
"width": 100,
|
||
"title": "身份证号",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderBottom": "solid",
|
||
"borderWidth": "1.5",
|
||
"qrCodeLevel": 0,
|
||
"field": "idCard",
|
||
"hideTitle": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 10.5,
|
||
"top": 172.5,
|
||
"height": 25,
|
||
"width": 52,
|
||
"title": "诊断",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle",
|
||
"borderRight": "solid",
|
||
"borderBottom": "solid",
|
||
"borderWidth": "1.5",
|
||
"qrCodeLevel": 0
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 62,
|
||
"top": 172.5,
|
||
"height": 25,
|
||
"width": 185,
|
||
"title": "诊断",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"textContentVerticalAlign": "middle",
|
||
"borderBottom": "solid",
|
||
"borderWidth": "1.5",
|
||
"qrCodeLevel": 0,
|
||
"field": "conditionName",
|
||
"hideTitle": true,
|
||
"contentPaddingLeft": 15
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 10.5,
|
||
"top": 205.5,
|
||
"height": 19.5,
|
||
"width": 120,
|
||
"title": "Rp :",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fixed": true,
|
||
"fontSize": 13.5,
|
||
"qrCodeLevel": 0
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 14.5,
|
||
"top": 234,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[0]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[0]) {\n \n firstItem = templateData.prescriptionList[0];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 94,
|
||
"top": 234,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[1]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[1]) {\n \n firstItem = templateData.prescriptionList[1];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 174,
|
||
"top": 234,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[2]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[2]) {\n \n firstItem = templateData.prescriptionList[2];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 14.5,
|
||
"top": 255,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[3]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[3]) {\n \n firstItem = templateData.prescriptionList[3];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 94,
|
||
"top": 255,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[4]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[4]) {\n \n firstItem = templateData.prescriptionList[4];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 174,
|
||
"top": 255,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[5]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[5]) {\n \n firstItem = templateData.prescriptionList[5];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 94,
|
||
"top": 274.2432460784912,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[7]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[7]) {\n \n firstItem = templateData.prescriptionList[7];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 174,
|
||
"top": 275.24146842956543,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[8]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[8]) {\n \n firstItem = templateData.prescriptionList[8];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 14.5,
|
||
"top": 275.4960765838623,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[6]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[6]) {\n \n firstItem = templateData.prescriptionList[6];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 14.5,
|
||
"top": 292.98470878601074,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[9]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[9]) {\n \n firstItem = templateData.prescriptionList[9];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 94,
|
||
"top": 292.98470878601074,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[10]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[10]) {\n \n firstItem = templateData.prescriptionList[10];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 174,
|
||
"top": 292.98470878601074,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[11]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[11]) {\n \n firstItem = templateData.prescriptionList[11];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 14.5,
|
||
"top": 312,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[12]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[12]) {\n \n firstItem = templateData.prescriptionList[12];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 94,
|
||
"top": 312,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[13]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[13]) {\n \n firstItem = templateData.prescriptionList[13];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 174,
|
||
"top": 312,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[14]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[14]) {\n \n firstItem = templateData.prescriptionList[14];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 14.5,
|
||
"top": 330,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[15]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[15]) {\n \n firstItem = templateData.prescriptionList[15];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 94,
|
||
"top": 330,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[16]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[16]) {\n \n firstItem = templateData.prescriptionList[16];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 174,
|
||
"top": 330,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[17]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[17]) {\n \n firstItem = templateData.prescriptionList[17];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 14.5,
|
||
"top": 349.5,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[18]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[18]) {\n \n firstItem = templateData.prescriptionList[18];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 94,
|
||
"top": 349.5,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[19]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[19]) {\n \n firstItem = templateData.prescriptionList[19];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 174,
|
||
"top": 349.5,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[20]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[20]) {\n \n firstItem = templateData.prescriptionList[20];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 14.5,
|
||
"top": 369,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[21]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[21]) {\n \n firstItem = templateData.prescriptionList[21];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 94,
|
||
"top": 369,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[22]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[22]) {\n \n firstItem = templateData.prescriptionList[22];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 174,
|
||
"top": 369,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[23]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[23]) {\n \n firstItem = templateData.prescriptionList[23];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 14.5,
|
||
"top": 387,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[24]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[24]) {\n \n firstItem = templateData.prescriptionList[24];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 94,
|
||
"top": 387,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[25]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[25]) {\n \n firstItem = templateData.prescriptionList[25];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 174,
|
||
"top": 387,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[26]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[26]) {\n \n firstItem = templateData.prescriptionList[26];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 14.5,
|
||
"top": 406,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[27]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[27]) {\n \n firstItem = templateData.prescriptionList[27];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 94,
|
||
"top": 406,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[28]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[28]) {\n \n firstItem = templateData.prescriptionList[28];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 174,
|
||
"top": 406,
|
||
"height": 10,
|
||
"width": 64.5,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[29]的值\n let firstItem = null;\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[29]) {\n \n firstItem = templateData.prescriptionList[29];\n }\n } catch (error) {\n console.error('获取项目信息时出错:', error);\n }\n \n // 拼接 itemName、quantity 和 doseUnitCode_dictText\n let displayValue = '';\n if (firstItem) {\n displayValue = `${firstItem.itemName || ''}${firstItem.quantity || ''}${firstItem.doseUnitCode_dictText || ''}`;\n // displayValue = `${firstItem.itemName || ''}`;\n \n }\n \n return `<span>${displayValue}</span>`;\n}",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 0,
|
||
"top": 453,
|
||
"height": 10,
|
||
"width": 255,
|
||
"title": "请输入标题",
|
||
"field": "vcc",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"hideTitle": true,
|
||
"qrCodeLevel": 0,
|
||
"formatter": "function(title, value, options, templateData, target, paperNo) {\n // 安全获取prescriptionList[0].chineseHerbsDoseQuantity的值\n let chineseHerbsDoseQuantityValue = '';\n \n try {\n // 注意:根据截图,templateData本身就是包含prescriptionList的对象\n if (templateData && templateData.prescriptionList && \n Array.isArray(templateData.prescriptionList) && \n templateData.prescriptionList[0] && \n templateData.prescriptionList[0].chineseHerbsDoseQuantity !== undefined) {\n \n chineseHerbsDoseQuantityValue = templateData.prescriptionList[0].chineseHerbsDoseQuantity;\n }\n } catch (error) {\n console.error('获取剂量值时出错:', error);\n }\n \n return `<span>配 ${chineseHerbsDoseQuantityValue || ''} 付</span>`;\n}",
|
||
"fixed": true,
|
||
"textAlign": "center",
|
||
"textContentVerticalAlign": "middle"
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 165,
|
||
"top": 516,
|
||
"height": 20,
|
||
"width": 45,
|
||
"title": "undefined+beforeDragIn",
|
||
"field": "doctorSignature",
|
||
"fit": "",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"styler": "function(value, options, target, templateData, paperNo) {\n if (templateData.doctorSignature) {\n // 如果doctorSignature存在,正常显示\n return { border: '0px' };\n } else {\n // 否则隐藏元素\n return { display: 'none' };\n }\n}"
|
||
},
|
||
"printElementType": {
|
||
"title": "图片",
|
||
"type": "image"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 19.5,
|
||
"top": 522.5,
|
||
"height": 13.5,
|
||
"width": 81,
|
||
"title": "药费",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"qrCodeLevel": 0,
|
||
"field": "medTotalAmount",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 132,
|
||
"top": 522.5,
|
||
"height": 13.5,
|
||
"width": 28.5,
|
||
"title": "医师:",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"qrCodeLevel": 0,
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 10.5,
|
||
"top": 538.5,
|
||
"height": 9,
|
||
"width": 235,
|
||
"borderWidth": "1.5",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "横线",
|
||
"type": "hline"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 19.5,
|
||
"top": 549,
|
||
"height": 13.5,
|
||
"width": 100,
|
||
"title": "核对",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"qrCodeLevel": 0,
|
||
"field": "nickNames",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 133.5,
|
||
"top": 549,
|
||
"height": 13.5,
|
||
"width": 93,
|
||
"title": "调配",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"qrCodeLevel": 0,
|
||
"field": "nickNames",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 19.5,
|
||
"top": 574.5,
|
||
"height": 13.5,
|
||
"width": 79.5,
|
||
"title": "发药",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"qrCodeLevel": 0,
|
||
"field": "loginUserName",
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 108,
|
||
"top": 574.5,
|
||
"height": 13.5,
|
||
"width": 117,
|
||
"title": "开具日期",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fontSize": 9,
|
||
"qrCodeLevel": 0,
|
||
"field": "reqTime",
|
||
"fixed": true,
|
||
"hideTitle": true
|
||
},
|
||
"printElementType": {
|
||
"title": "文本",
|
||
"type": "text"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 10.5,
|
||
"top": 595.5,
|
||
"height": 9,
|
||
"width": 235,
|
||
"borderWidth": "1.5",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false,
|
||
"fixed": true
|
||
},
|
||
"printElementType": {
|
||
"title": "横线",
|
||
"type": "hline"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 16.5,
|
||
"top": 600,
|
||
"height": 13.5,
|
||
"width": 192,
|
||
"title": "注:1.本处方当日作废\n",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false
|
||
},
|
||
"printElementType": {
|
||
"title": "长文",
|
||
"type": "longText"
|
||
}
|
||
},
|
||
{
|
||
"options": {
|
||
"left": 34,
|
||
"top": 617.5,
|
||
"height": 13.5,
|
||
"width": 192,
|
||
"title": "2.延长处方用量时间原因",
|
||
"coordinateSync": false,
|
||
"widthHeightSync": false
|
||
},
|
||
"printElementType": {
|
||
"title": "长文",
|
||
"type": "longText"
|
||
}
|
||
}
|
||
],
|
||
"paperNumberLeft": 196,
|
||
"paperNumberTop": 573
|
||
}
|
||
]
|
||
}
|