fix(common): 统一异常处理并迁移打印功能到hiprint
- 替换所有System.out.println和printStackTrace为slf4j日志记录 - 在BeanUtils、AuditFieldUtil、DateUtils、ServletUtils等工具类中添加Logger实例 - 在Flowable相关控制器和服务中统一错误日志记录格式 - 在代码生成器中添加日志记录功能 - 将前端打印组件从Lodop迁移到hiprint打印方案 - 更新体温单打印功能使用hiprint预览打印 - 移除调试用的console.log语句 - 修复打印模板中线条元素类型定义
This commit is contained in:
39
openhis-ui-vue3/src/components/Print/TemperatureSheet.json
Normal file
39
openhis-ui-vue3/src/components/Print/TemperatureSheet.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"panels": [
|
||||
{
|
||||
"height": 180,
|
||||
"index": 1,
|
||||
"name": "体温单",
|
||||
"paperFooter": 510,
|
||||
"paperHeader": 0,
|
||||
"paperList": {"height": 180, "type": "A4", "width": 210},
|
||||
"paperNumberDisabled": true,
|
||||
"paperType": "A4",
|
||||
"printElements": [
|
||||
{"options": {"fontSize": 12, "fontWeight": "bold", "height": 15, "left": 0, "textAlign": "center", "title": "体温单", "top": 5, "width": 180}, "printElementType": {"title": "文本", "type": "text"}},
|
||||
{"options": {"field": "patientName", "fontSize": 9, "height": 10, "left": 5, "title": "姓名:", "top": 25, "width": 50, "hideTitle": false}, "printElementType": {"title": "文本", "type": "text"}},
|
||||
{"options": {"field": "bedName", "fontSize": 9, "height": 10, "left": 60, "title": "床号:", "top": 25, "width": 50, "hideTitle": false}, "printElementType": {"title": "文本", "type": "text"}},
|
||||
{"options": {"field": "hospitalName", "fontSize": 9, "height": 10, "left": 115, "title": "科室:", "top": 25, "width": 60, "hideTitle": false}, "printElementType": {"title": "文本", "type": "text"}},
|
||||
{"options": {
|
||||
"columns": [[
|
||||
{"align": "center", "field": "date", "title": "日期", "width": 25},
|
||||
{"align": "center", "field": "time", "title": "时间", "width": 20},
|
||||
{"align": "center", "field": "temperature", "title": "体温", "width": 20},
|
||||
{"align": "center", "field": "pulse", "title": "脉搏", "width": 20},
|
||||
{"align": "center", "field": "breath", "title": "呼吸", "width": 20},
|
||||
{"align": "center", "field": "bloodPressure", "title": "血压", "width": 25},
|
||||
{"align": "center", "field": "bloodOxygen", "title": "血氧", "width": 20},
|
||||
{"align": "center", "field": "nurseName", "title": "签名", "width": 30}
|
||||
]],
|
||||
"field": "tprData",
|
||||
"fontSize": 8,
|
||||
"height": 130,
|
||||
"left": 5,
|
||||
"top": 40,
|
||||
"width": 180
|
||||
}, "printElementType": {"title": "表格", "type": "table"}}
|
||||
],
|
||||
"width": 180
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user