修改ftpimage方法的参数

This commit is contained in:
lxd 2024-10-28 12:49:12 +08:00
parent 1bb63d52e5
commit 9b48048530
4 changed files with 6 additions and 4 deletions

View File

@ -39,7 +39,8 @@ export interface inspdfscreenshotVO {
id: string // 主键
imagebase: string // 图片
model:string//类型 0 接口 1ftp
folderPath:string //
}
// PACS检查列表 API
export const PatientexamlistApi = {

View File

@ -13,7 +13,8 @@ export interface insimagescreenshotVO {
id: string // 主键
imagebase: string // 图片
model:string
folderPath:string
}
// 超声组件 API

View File

@ -475,7 +475,7 @@ const exportPdfToBase64 = async () => {
// pdfBase64
pdfBase64.value = pdfBase64String
await PatientexamlistApi.ftppdf({ id: ID.toString(), imagebase: pdfBase64String })
await PatientexamlistApi.ftppdf({ id: ID.toString(), imagebase: pdfBase64String,model:"0",folderPath:"D:\\FLYPACS\\ftp"+"\\"+ID.toString() })
}
const infoParams = ref({
id: '',

View File

@ -110,7 +110,7 @@ const capture = () => {
}
//
const saveimage = async (imageDataUrl) => {
await ultrasoniccomApi.ftpimage({ id: id.value, imagebase: imageDataUrl })
await ultrasoniccomApi.ftpimage({ id: id.value, imagebase: imageDataUrl,model:"0",folderPath:"D:\\FLYPACS\\ftp"+"\\"+id.value })
message.notifySuccess('请刷新右侧图片')
}