diff --git a/src/views/Department-entry/Medical-examination-vehicle.vue b/src/views/Department-entry/Medical-examination-vehicle.vue index af95faa..bf0bfec 100644 --- a/src/views/Department-entry/Medical-examination-vehicle.vue +++ b/src/views/Department-entry/Medical-examination-vehicle.vue @@ -1060,7 +1060,7 @@ const handleSync = async () => { return null }), // 一般检查报告请求 - PatientApi.GetApiYbjcInfo(medicalSn, '15262719621023461x')//测试一般检查 + PatientApi.GetApiYbjcInfo(medicalSn, selectedPatient.value?.cardId)//测试一般检查 .catch(error => { console.warn('获取一般检查报告失败:', error) return null diff --git a/src/views/summary/reprot-print/report-print.vue b/src/views/summary/reprot-print/report-print.vue index bbad612..0c63efc 100644 --- a/src/views/summary/reprot-print/report-print.vue +++ b/src/views/summary/reprot-print/report-print.vue @@ -139,53 +139,11 @@ const handleQuery = () => { queryParams.pageNo = 1 getList() } - -/** 重置按钮操作 */ -const resetQuery = () => { - queryFormRef.value.resetFields() - handleQuery() -} - /** 添加/修改操作 */ const formRef = ref() -const openForm = (type: string, username: string, id?: number) => { - formRef.value.open(type, username, id) -} -/** 删除按钮操作 */ -const handleDelete = async (id: number) => { - try { - // 删除的二次确认 - await message.delConfirm() - // 发起删除 - await DepartmentApi.deleteDepartment(id) - message.success(t('common.delSuccess')) - // 刷新列表 - await getList() - } catch {} -} - -/** 导出按钮操作 */ -const handleExport = async () => { - try { - // 导出的二次确认 - await message.exportConfirm() - // 发起导出 - exportLoading.value = true - const data = await DepartmentApi.exportDepartment(queryParams) - download.excel(data, '科室管理.xls') - } catch { - } finally { - exportLoading.value = false - } -} -//获取当前登录人信息 -const getlogininfo = async () => { - Profilevo.value = await getUserProfile() -} /** 初始化 **/ onMounted(() => { - getlogininfo() getList() // 改为直接调用 getList })