在处方打印处增加患者信息

This commit is contained in:
叶锦涛
2025-11-05 16:07:37 +08:00
parent 7bbc50ef47
commit 3deac74898
2 changed files with 96 additions and 45 deletions

View File

@@ -165,7 +165,8 @@
"widthHeightSync": false,
"qrCodeLevel": 0,
"fontSize": 9,
"field": "genderEnum_enumText"
"field": "gender",
"formatter": "function(title,value,options,templateData,target,paperNo){ return templateData.gender || templateData.sex || templateData.genderCode_dictText || '-' }"
},
"printElementType": {
"title": "文本",
@@ -219,7 +220,8 @@
"widthHeightSync": false,
"qrCodeLevel": 0,
"fontSize": 9,
"field": "encounterNo"
"field": "visitNo",
"formatter": "function(title,value,options,templateData,target,paperNo){ return templateData.visitNo || templateData.patientNo || templateData.outpatientNo || templateData.encounterNo || '-' }"
},
"printElementType": {
"title": "文本",
@@ -255,7 +257,8 @@
"widthHeightSync": false,
"qrCodeLevel": 0,
"fontSize": 9,
"field": "conditionName"
"field": "diagnosis",
"formatter": "function(title,value,options,templateData,target,paperNo){ return templateData.diagnosis || templateData.diagnosisName || templateData.diagnose || templateData.conditionName || '-' }"
},
"printElementType": {
"title": "文本",
@@ -273,7 +276,8 @@
"widthHeightSync": false,
"qrCodeLevel": 0,
"fontSize": 9,
"field": "phone"
"field": "mobile",
"formatter": "function(title,value,options,templateData,target,paperNo){ return templateData.mobile || templateData.patientPhone || templateData.phone || templateData.contactPhone || '-' }"
},
"printElementType": {
"title": "文本",
@@ -291,7 +295,8 @@
"widthHeightSync": false,
"qrCodeLevel": 0,
"fontSize": 9,
"field": "reqTime"
"field": "createTime",
"formatter": "function(title,value,options,templateData,target,paperNo){ return templateData.createTime || templateData.createDate || templateData.orderDate || templateData.confirmTime || templateData.reqTime || '-' }"
},
"printElementType": {
"title": "文本",