Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
14e24c4f
Commit
14e24c4f
authored
Jun 14, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排版功能
parent
25e1f56f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/api/podUsOrder.ts
+1
-3
src/views/order/podUs/index.vue
+2
-0
No files found.
src/api/podUsOrder.ts
View file @
14e24c4f
...
@@ -311,9 +311,7 @@ export function createLogisticsOrderApi(params: {
...
@@ -311,9 +311,7 @@ export function createLogisticsOrderApi(params: {
export
function
composingDesignImages
(
data
:
number
[])
{
export
function
composingDesignImages
(
data
:
number
[])
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factory/podJomallOrderUs/composingDesignImages'
,
'factory/podJomallOrderUs/composingDesignImages'
,
data
,{
data
responseType
:
'blob'
,
// 设置响应类型为 Blob(处理二进制流)
}
)
)
}
}
// 转至待拣胚
// 转至待拣胚
...
...
src/views/order/podUs/index.vue
View file @
14e24c4f
...
@@ -1611,9 +1611,11 @@ const downloadTif = async () => {
...
@@ -1611,9 +1611,11 @@ const downloadTif = async () => {
downloadLoading
.
value
=
true
downloadLoading
.
value
=
true
try
{
try
{
const
res
=
await
composingDesignImages
(
selection
.
value
.
map
(
el
=>
el
.
id
))
const
res
=
await
composingDesignImages
(
selection
.
value
.
map
(
el
=>
el
.
id
))
console
.
log
(
filePath
+
res
.
message
)
window
.
open
(
filePath
+
res
.
message
,
'_blank'
)
window
.
open
(
filePath
+
res
.
message
,
'_blank'
)
downloadLoading
.
value
=
false
downloadLoading
.
value
=
false
}
catch
(
e
){
}
catch
(
e
){
console
.
log
(
e
)
downloadLoading
.
value
=
false
downloadLoading
.
value
=
false
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment