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

View File

@@ -69,6 +69,16 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="划价标记" prop="pricingFlag" label-width="80">
<el-select v-model="queryParams.pricingFlag" placeholder="" clearable>
<el-option
v-for="item in statusWeatherOption"
:key="item.value"
:label="item.info"
:value="item.value"
/>
</el-select>
</el-form-item>
<!-- </el-col> --> <!-- </el-col> -->
</el-row> </el-row>
</el-form> </el-form>
@@ -375,6 +385,7 @@ const data = reactive({
typeEnum: undefined, // 类型(包括 1中药2成药 typeEnum: undefined, // 类型(包括 1中药2成药
statusEnum: undefined, // 状态(包括 1预置2启用3停用 statusEnum: undefined, // 状态(包括 1预置2启用3停用
ybMatchFlag: undefined, // 是否医保匹配(包括 10 ybMatchFlag: undefined, // 是否医保匹配(包括 10
pricingFlag: undefined, // 划价标记(包括 1允许0不允许
ruleId: undefined, // 执行科室 ruleId: undefined, // 执行科室
categoryCode: undefined, // 目录分类 categoryCode: undefined, // 目录分类
}, },