From ebee36ca9a39b59d98da3613804791faa8dd2da6 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期六, 22 十一月 2025 16:20:52 +0800
Subject: [PATCH] 打印完善
---
src/views/ecg/doctor/components/RoutinePanel.vue | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/views/ecg/doctor/components/RoutinePanel.vue b/src/views/ecg/doctor/components/RoutinePanel.vue
index e5d93d0..9b31f4a 100644
--- a/src/views/ecg/doctor/components/RoutinePanel.vue
+++ b/src/views/ecg/doctor/components/RoutinePanel.vue
@@ -39,7 +39,6 @@
placeholder="閫夋嫨瑁呮満鏃堕棿"
/>
</el-form-item>
-
</el-col>
<el-col :span="12">
<el-form-item label="妫�鏌ラ」鐩�" prop="">
@@ -49,8 +48,8 @@
<el-input v-model="formData.remark" placeholder="璇疯緭鍏ュ娉�" />
</el-form-item>
<el-form-item label="鏄惁澶氳��" prop="tolerance">
- <el-tag type="info" v-if="formData.tolerance == 0">鍚�</el-tag>
- <el-tag type="danger" v-else>鏄�</el-tag>
+ <el-tag type="info" v-if="formData.tolerance == 0">鍚�</el-tag>
+ <el-tag type="danger" v-else>鏄�</el-tag>
</el-form-item>
</el-col>
</el-row>
@@ -58,6 +57,8 @@
<el-button @click="submitForm" type="primary" :disabled="formLoading">妫�鏌ュ畬鎴�</el-button>
<el-button @click="cancelInstall" :disabled="formLoading">鏀惧純妫�鏌�</el-button>
<el-button @click="resetForm()">閲� 缃�</el-button>
+ <el-button @click="yddownload()">骞虫澘杩愬姩蹇冪數鍥剧煡鎯呭悓鎰忎功</el-button>
+ <el-button @click="sgdownload()">椋熺蹇冭剰鐢电敓鐞嗚瘖鐤楃煡鎯呭悓鎰忎功</el-button>
<el-button
v-if="needAutoFeeConfirm(formData.checkType)"
@click="feeConfirm"
@@ -151,7 +152,7 @@
import { isStringEmpty } from '@/utils/stringUtil'
import { curDayEnd, curDayStart } from '@/utils/dateUtil'
import { QueueVO } from '@/api/ecg/queue'
-import { RoomBedVO } from '@/api/ecg/doctor'
+import { RoomBedVO, DoctorApi } from '@/api/ecg/doctor'
import { Barcode } from '@/components/Barcode'
import { useCheckTypeStore } from '@/store/modules/checkType'
import { getCheckTypeName, needAutoFeeConfirm } from '../../../../utils/checkTypeFormatter'
@@ -163,6 +164,11 @@
room: {
type: Object as PropType<RoomBedVO>,
required: true
+ },
+ setappointmentId: {
+ type: [String, Number],
+ required: false,
+ default: null
}
})
@@ -259,7 +265,12 @@
}
formRef.value?.resetFields()
}
-
+const yddownload = async () => {
+ await DoctorApi.yddownload(props.setappointmentId)
+}
+const sgdownload = async () => {
+ await DoctorApi.sgdownload(props.setappointmentId)
+}
const getRentInfoByPatId = () => {
const tempPatId = formData.value.patId
resetForm()
--
Gitblit v1.9.3