修改ftpimage方法的参数
This commit is contained in:
parent
1bb63d52e5
commit
9b48048530
@ -39,7 +39,8 @@ export interface inspdfscreenshotVO {
|
|||||||
|
|
||||||
id: string // 主键
|
id: string // 主键
|
||||||
imagebase: string // 图片
|
imagebase: string // 图片
|
||||||
|
model:string//类型 0 接口 1ftp
|
||||||
|
folderPath:string //
|
||||||
}
|
}
|
||||||
// PACS检查列表 API
|
// PACS检查列表 API
|
||||||
export const PatientexamlistApi = {
|
export const PatientexamlistApi = {
|
||||||
|
@ -13,7 +13,8 @@ export interface insimagescreenshotVO {
|
|||||||
|
|
||||||
id: string // 主键
|
id: string // 主键
|
||||||
imagebase: string // 图片
|
imagebase: string // 图片
|
||||||
|
model:string
|
||||||
|
folderPath:string
|
||||||
}
|
}
|
||||||
|
|
||||||
// 超声组件 API
|
// 超声组件 API
|
||||||
|
@ -475,7 +475,7 @@ const exportPdfToBase64 = async () => {
|
|||||||
|
|
||||||
// 更新pdfBase64的值
|
// 更新pdfBase64的值
|
||||||
pdfBase64.value = pdfBase64String
|
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({
|
const infoParams = ref({
|
||||||
id: '',
|
id: '',
|
||||||
|
@ -110,7 +110,7 @@ const capture = () => {
|
|||||||
}
|
}
|
||||||
// 保存截图
|
// 保存截图
|
||||||
const saveimage = async (imageDataUrl) => {
|
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('请刷新右侧图片')
|
message.notifySuccess('请刷新右侧图片')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user