影像和超声 审核生成的PDF增加了注释

This commit is contained in:
lxd 2025-06-17 10:28:27 +08:00
parent 86db8b0b72
commit 6e6f538f9d
2 changed files with 38 additions and 38 deletions

View File

@ -517,7 +517,7 @@ const exportPdfCTToBase64 = async () => {
calculateAge(applyFormVO.value.birthday) //
let orgInfoTemp = await ReportPrintStatisticsApi.getOrg(infoParams.value.orgId.trim())
// ================================================
// ===================== 222 ===========================
await PatientexamlistApi.generatePdf_ct({
model: '0',
folderPath: (await ConfigApi.getConfigKey('url.ftpimage')) + '\\' + ID.toString(),
@ -541,24 +541,24 @@ const exportPdfCTToBase64 = async () => {
// ================================================
// =================================================
// showPdfContent.value = true
// nextTick(() => {
// setTimeout(async () => {
// try {
// //PDF
// const pdfBase64String = await htmlToPdf.getPdfBase64('CT', '#hiddenPdfDiv')
// await PatientexamlistApi.ftppdf({
// id: ID.toString(),
// imagebase: pdfBase64String,
// model: '0',
// folderPath: (await ConfigApi.getConfigKey('url.ftpimage')) + '\\' + ID.toString()
// })
// } finally {
// showPdfContent.value = false
// }
// }, 1000)
// })
// ======================222 ===========================
// showPdfContent.value = true
// nextTick(() => {
// setTimeout(async () => {
// try {
// //PDF
// const pdfBase64String = await htmlToPdf.getPdfBase64('CT', '#hiddenPdfDiv')
// await PatientexamlistApi.ftppdf({
// id: ID.toString(),
// imagebase: pdfBase64String,
// model: '0',
// folderPath: (await ConfigApi.getConfigKey('url.ftpimage')) + '\\' + ID.toString()
// })
// } finally {
// showPdfContent.value = false
// }
// }, 1000)
// })
// =================================================
}

View File

@ -677,7 +677,7 @@ const exportPdfUSToBase64 = async () => {
image3 = window.location.origin + image3
}
}
// ================================================
// ===================== 222 ===========================
await PatientexamlistApi.generatePdf_us({
model: '0',
folderPath: (await ConfigApi.getConfigKey('url.ftpimage')) + '\\' + ID.toString(),
@ -704,24 +704,24 @@ const exportPdfUSToBase64 = async () => {
// ================================================
// =================================================
// showPdfContent.value = true
// nextTick(() => {
// setTimeout(async () => {
// try {
// //PDF
// const pdfBase64String = await htmlToPdf.getPdfBase64('US', '#hiddenUSPdfDiv')
// await PatientexamlistApi.ftppdf({
// id: ID.toString(),
// imagebase: pdfBase64String,
// model: '0',
// folderPath: (await ConfigApi.getConfigKey('url.ftpimage')) + '\\' + ID.toString()
// })
// } finally {
// showPdfContent.value = false
// }
// }, 1000)
// })
// ====================== 222 ===========================
// showPdfContent.value = true
// nextTick(() => {
// setTimeout(async () => {
// try {
// //PDF
// const pdfBase64String = await htmlToPdf.getPdfBase64('US', '#hiddenUSPdfDiv')
// await PatientexamlistApi.ftppdf({
// id: ID.toString(),
// imagebase: pdfBase64String,
// model: '0',
// folderPath: (await ConfigApi.getConfigKey('url.ftpimage')) + '\\' + ID.toString()
// })
// } finally {
// showPdfContent.value = false
// }
// }, 1000)
// })
// =================================================
}