feat(print): 更新门诊收费结算单打印配置和诊断治疗页面功能 BUG#217

- 修改门诊收费结算单名称字段为数字类型
- 添加面板页面规则、页码续传、扩展CSS等打印配置选项
- 集成水印、重印、布局等高级打印功能
- 为收费项目列表添加列选择、固定列等表格功能
- 将线元素类型从line更改为hline并调整标题显示
- 在诊断治疗页面添加划价标记筛选条件
- 更新查询参数结构以支持新的划价标记过滤功能
This commit is contained in:
2026-03-18 16:55:29 +08:00
parent 0cdf332ee7
commit 7c29c6359f
2 changed files with 80 additions and 18 deletions

View File

@@ -2,7 +2,7 @@
"panels": [
{
"index": 0,
"name": "门诊收费结算单",
"name": 1,
"paperType": "自定义",
"height": 500,
"width": 80,
@@ -11,9 +11,33 @@
"width": 80,
"height": 500
},
"panelPageRule": "none",
"paperHeader": 0,
"paperFooter": 1128,
"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": 200,
"height": 150,
"timestamp": true,
"format": "YYYY-MM-DD HH:mm"
},
"panelLayoutOptions": {
"layoutType": "column",
"layoutRowGap": 0,
"layoutColumnGap": 0
},
"printElements": [
{
"options": {
@@ -130,32 +154,59 @@
"field": "chargeItemsList",
"textAlign": "center",
"fontSize": 8,
"coordinateSync": false,
"widthHeightSync": false,
"columns": [
[
{
"title": "收费名称",
"width": 62,
"field": "chargeItemName"
"field": "chargeItemName",
"checked": true,
"columnId": "chargeItemName",
"fixed": false,
"rowspan": 1,
"colspan": 1
},
{
"title": "规格",
"width": 37,
"field": "totalVolume"
"field": "totalVolume",
"checked": true,
"columnId": "totalVolume",
"fixed": false,
"rowspan": 1,
"colspan": 1
},
{
"title": "数量",
"width": 37,
"field": "quantityWithUnit"
"field": "quantityWithUnit",
"checked": true,
"columnId": "quantityWithUnit",
"fixed": false,
"rowspan": 1,
"colspan": 1
},
{
"title": "金额",
"width": 35,
"field": "totalPrice"
"field": "totalPrice",
"checked": true,
"columnId": "totalPrice",
"fixed": false,
"rowspan": 1,
"colspan": 1
},
{
"title": "类别",
"width": 37,
"field": "dirClass"
"field": "dirClass",
"checked": true,
"columnId": "dirClass",
"fixed": false,
"rowspan": 1,
"colspan": 1
}
]
]
@@ -371,8 +422,8 @@
"borderColor": "#CCCCCC"
},
"printElementType": {
"title": "线",
"type": "line"
"title": "线",
"type": "hline"
}
},
{