Commit 14e24c4f by zhuzhequan

排版功能

parent 25e1f56f
......@@ -311,9 +311,7 @@ export function createLogisticsOrderApi(params: {
export function composingDesignImages(data:number[]) {
return axios.post<never, BaseRespData<never>>(
'factory/podJomallOrderUs/composingDesignImages',
data,{
responseType: 'blob', // 设置响应类型为 Blob(处理二进制流)
}
data
)
}
// 转至待拣胚
......
......@@ -1611,9 +1611,11 @@ const downloadTif = async () => {
downloadLoading.value = true
try {
const res= await composingDesignImages(selection.value.map(el=>el.id))
console.log(filePath+res.message)
window.open(filePath+res.message, '_blank')
downloadLoading.value = false
}catch (e){
console.log(e)
downloadLoading.value = false
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment