diff --git a/src/views/summary/examination/index.vue b/src/views/summary/examination/index.vue index 8394ba3..039172a 100644 --- a/src/views/summary/examination/index.vue +++ b/src/views/summary/examination/index.vue @@ -334,6 +334,9 @@ const handleSearch = () => { } // 修改患者选择处理函数 const handlePatientSelect = async (patient) => { + //清空 + list.value = "" + list3.value = "" // 设置选中患者 medicalSn.value = patient.medicalSn selectedPatient.value = patient diff --git a/src/views/summary/print/template.js b/src/views/summary/print/template.js index fb4c13a..e12a0b4 100644 --- a/src/views/summary/print/template.js +++ b/src/views/summary/print/template.js @@ -1604,10 +1604,10 @@ ] }*/ - -export default { +//测试 +/*export default { panels: [ -/* +/!* { "index": 0, "name": 1, @@ -3193,10 +3193,11 @@ export default { "watermarkOptions": {}, "panelLayoutOptions": {} }, -*/ +*!/ { "index": 1, "name": 2, + "paperType":"A4", "height": 297, "width": 210, "paperHeader": 105, @@ -4338,7 +4339,7 @@ export default { "type": "hline" } }, - /*{ + /!*{ "options": { "left": 168, "top": 583.5, @@ -4541,7 +4542,7 @@ export default { "printElementType": { "type": "text" } - },*/ + },*!/ { "options": { "left": 12, @@ -4564,4 +4565,423 @@ export default { } ] +}*/ + + +//第一版 +export default { + panels: [ + { + "index": 0, + "name": 2, + "paperType": "A4", + "height": 297, + "width": 210, + "paperHeader": 105, + "paperFooter": 780, + "printElements": [ + { + "options": { + "left": 460.5, + "top": 13.5, + "height": 34, + "width": 115, + "testData": "123123", + "field": "barcode", + "fontFamily": "微软雅黑", + "textAlign": "center", + "textType": "barcode" + }, + "printElementType": { + "title": "自定义文本", + "type": "text" + } + }, + { + "options": { + "left": 174, + "top": 15, + "height": 27, + "width": 204, + "title": "体检中心 导检单", + "fontSize": 19, + "fontWeight": "600", + "textAlign": "center", + "lineHeight": 26 + }, + "printElementType": { + "title": "自定义文本", + "type": "text" + } + }, + { + "options": { + "left": 264, + "top": 67.5, + "height": 9.75, + "width": 70.5, + "title": "年龄", + "field": "age", + "testData": "20" + }, + "printElementType": { + "type": "text" + } + }, + { + "options": { + "left": 159, + "top": 67.5, + "height": 9.75, + "width": 64.5, + "title": "性别", + "field": "gender", + "testData": "男" + }, + "printElementType": { + "type": "text" + } + }, + { + "options": { + "left": 379.5, + "top": 67.5, + "height": 9.75, + "width": 120, + "title": "电话", + "field": "phone", + "testData": "15511063022" + }, + "printElementType": { + "type": "text" + } + }, + { + "options": { + "left": 49.5, + "top": 67.5, + "height": 9.75, + "width": 73.5, + "title": "姓名", + "field": "pname", + "testData": "张三" + }, + "printElementType": { + "type": "text" + } + }, + { + "options": { + "left": 49.5, + "top": 84, + "height": 9.75, + "width": 193.5, + "title": "体检编号", + "field": "medicalSn" + }, + "printElementType": { + "type": "text" + } + }, + { + "options": { + "left": 265.5, + "top": 84, + "height": 9.75, + "width": 320, + "title": "通讯地址", + "field": "address" + }, + "printElementType": { + "type": "text" + } + }, + { + "options": { + "left": 43.5, + "top": 100.5, + "height": 9, + "width": 528, + "borderWidth": 0.75 + }, + "printElementType": { + "type": "hline" + } + }, + { + "options": { + "left": 37.5, + "top": 129, + "height": 70.5, + "width": 541.5, + "field": "table", + "textAlign": "center", + "right": 579, + "bottom": 199.5, + "vCenter": 308.25, + "hCenter": 164.25, + "columns": [ + [ + { + "width": 111.80574562080861, + "title": "检查项目", + "field": "itemName", + "checked": true, + "columnId": "itemName", + "fixed": false, + "rowspan": 2, + "colspan": 1 + }, + { + "width": 89.11899321701637, + "title": "医生签名/放弃签名", + "checked": true, + "fixed": false, + "rowspan": 2, + "colspan": 1 + }, + { + "width": 206.91742618151957, + "title": "温馨提示及结果", + "checked": true, + "fixed": false, + "rowspan": 2, + "colspan": 1 + }, + { + "width": 100, + "title": "满意度调查", + "checked": true, + "fixed": false, + "rowspan": 1, + "colspan": 3 + } + ], + [ + { + "width": 49.01102977624462, + "title": "满意", + "checked": true, + "fixed": false, + "rowspan": 1, + "colspan": 1 + }, + { + "width": 45.43616539671854, + "title": "一般", + "checked": true, + "fixed": false, + "rowspan": 1, + "colspan": 1 + }, + { + "width": 39.21063980769227, + "title": "不满意", + "checked": true, + "fixed": false, + "rowspan": 1, + "colspan": 1 + } + ] + ] + }, + "printElementType": { + "title": "表格", + "type": "table", + "editable": true, + "columnDisplayEditable": true, + "columnDisplayIndexEditable": true, + "columnTitleEditable": true, + "columnResizable": true, + "columnAlignEditable": true, + "isEnableEditField": true, + "isEnableContextMenu": true, + "isEnableInsertRow": true, + "isEnableDeleteRow": true, + "isEnableInsertColumn": true, + "isEnableDeleteColumn": true, + "isEnableMergeCell": true + } + }, + { + "options": { + "left": 235.5, + "top": 303, + "height": 19.5, + "width": 120, + "title": "体检知情通知书", + "fontSize": 12, + "textAlign": "center", + "lineHeight": 18, + "right": 348, + "bottom": 333, + "vCenter": 288, + "hCenter": 323.25, + "coordinateSync": false, + "widthHeightSync": false, + "fontWeight": "bold", + "qrCodeLevel": 0 + }, + "printElementType": { + "type": "text" + } + }, + { + "options": { + "left": 37.5, + "top": 334.5, + "height": 12, + "width": 541.5, + "title": "(1)孕期、哺乳期女士或准备生育的男士、女士请不要做X光检查。" + }, + "printElementType": { + "type": "longText" + } + }, + { + "options": { + "left": 37.5, + "top": 351, + "height": 10.5, + "width": 541.5, + "title": "(2)无性行为、孕期、经期的女性请不要做妇科检查及阴式超声。" + }, + "printElementType": { + "type": "longText" + } + }, + { + "options": { + "left": 37.5, + "top": 366, + "height": 22.5, + "width": 541.5, + "title": "(3)根据卫生部通知要求,已取消健康体检套餐中乙肝检测项目,如果需要可由本人自选为加项,如单位统一选择该项检测,体检者个人可选择放弃。" + }, + "printElementType": { + "type": "longText" + } + }, + { + "options": { + "left": 37.5, + "top": 393, + "height": 24, + "width": 541.5, + "title": "(4)仔细阅读以下报告获取方式,建议您选择亲自到体检中心领取,如选择单位代领、委托别人代领、快递、电子邮件等其他方式,将有可能造成您个人体检信息泄露,我中心不承担因此造成的一切损失。" + }, + "printElementType": { + "type": "longText" + } + }, + { + "options": { + "left": 37.5, + "top": 421.5, + "height": 12, + "width": 540, + "title": "(5)出具体检报告日期:普通体检7个工作日内;贵宾体检10个工作日内,敬请留意短信提示" + }, + "printElementType": { + "type": "longText" + } + }, + { + "options": { + "left": 37.5, + "top": 438, + "height": 21, + "width": 541.5, + "title": "(6)身份证号码是体检检查在本机构唯一识别码,可依据此作为体检资料保存、查询及历年体检数据对比的可靠代码。本人在了解此告知后,未提供身份证号码,为放弃上述服务的表示。" + }, + "printElementType": { + "type": "longText" + } + }, + { + "options": { + "left": 147, + "top": 484.5, + "height": 15, + "width": 342, + "title": "以上告知内容本人已充分了解,所选体检项目本人均同意。", + "fontSize": 12, + "fontWeight": "bold", + "lineHeight": 15, + "right": 488.25, + "bottom": 498.75, + "vCenter": 317.25, + "hCenter": 491.25 + }, + "printElementType": { + "type": "text" + } + }, + { + "options": { + "left": 406.5, + "top": 516, + "height": 12, + "width": 54, + "title": "确定签名:", + "fontSize": 10.5, + "lineHeight": 10.5, + "coordinateSync": false, + "widthHeightSync": false, + "textContentVerticalAlign": "bottom", + "qrCodeLevel": 0, + "right": 456.75, + "bottom": 528, + "vCenter": 427.5, + "hCenter": 522 + }, + "printElementType": { + "type": "text" + } + }, + { + "options": { + "left": 457.5, + "top": 528, + "height": 9, + "width": 90, + "borderWidth": 0.75, + "right": 540.75, + "bottom": 535.5, + "vCenter": 495.75, + "hCenter": 531 + }, + "printElementType": { + "type": "hline" + } + }, + { + "options": { + "left": 12, + "top": 786, + "height": 49, + "width": 49 + }, + "printElementType": { + "title": "html", + "type": "html" + } + } + ], + "paperNumberLeft": 565.5, + "paperNumberTop": 819, + "paperNumberDisabled": true, + "paperNumberContinue": true, + "watermarkOptions": {}, + "panelLayoutOptions": {} + } + ] } + + + + + + + +