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
e6d9a5be
Commit
e6d9a5be
authored
Oct 10, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改tiff文件打开链接
parent
debe63b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
15 deletions
+17
-15
src/views/order/podCN/index.vue
+9
-4
src/views/order/podUs/index.vue
+8
-11
No files found.
src/views/order/podCN/index.vue
View file @
e6d9a5be
...
...
@@ -3053,9 +3053,11 @@ const handleDownload = async (row: PodCnOrderListData) => {
const
type
=
row
.
url
&&
row
.
tiffUrl
?
'tiff'
:
row
.
url
?
'png'
:
'tiff'
try
{
const
url
=
type
===
'png'
?
filePath
+
row
.
url
:
`https://ps.jomalls.com/tiff/`
+
row
.
tiffUrl
type
===
'tiff'
?
row
.
tiffUrl
?.
startsWith
(
'/temp'
)
?
`https://factory.jomalls.com/upload/factory`
+
row
.
tiffUrl
:
`https://ps.jomalls.com/tiff/`
+
row
.
tiffUrl
:
filePath
+
row
.
url
if
(
type
===
'tiff'
)
{
window
.
open
(
url
,
'_blank'
)
...
...
@@ -3688,8 +3690,11 @@ const downloadTif = async (type: string, templateWidth: number) => {
)
const
url
=
type
===
'tiff'
?
`https://ps.jomalls.com/tiff/`
+
res
.
message
?
res
.
message
?.
startsWith
(
'/temp'
)
?
`https://factory.jomalls.com/upload/factory`
+
res
.
message
:
`https://ps.jomalls.com/tiff/`
+
res
.
message
:
filePath
+
res
.
message
if
(
type
===
'tiff'
)
{
window
.
open
(
url
,
'_blank'
)
tifDownloadLoading
.
value
=
false
...
...
src/views/order/podUs/index.vue
View file @
e6d9a5be
...
...
@@ -3259,16 +3259,12 @@ const handleDownload = async (row: PodUsOrderListData) => {
const
type
=
row
.
url
&&
row
.
tiffUrl
?
'tiff'
:
row
.
url
?
'png'
:
'tiff'
try
{
let
url
:
string
=
''
if
(
type
===
'png'
)
{
url
=
filePath
+
row
.
url
}
else
{
if
(
row
.
tiffUrl
?.
startsWith
(
'/temp'
))
{
url
=
`https://factory.jomalls.com/upload/factory`
+
row
.
tiffUrl
}
else
{
url
=
`https://ps.jomalls.com/tiff`
+
row
.
tiffUrl
}
}
const
url
=
type
===
'tiff'
?
row
.
tiffUrl
?.
startsWith
(
'/temp'
)
?
`https://factory.jomalls.com/upload/factory`
+
row
.
tiffUrl
:
`https://ps.jomalls.com/tiff/`
+
row
.
tiffUrl
:
filePath
+
row
.
url
if
(
type
===
'tiff'
)
{
window
.
open
(
url
,
'_blank'
)
...
...
@@ -4641,7 +4637,8 @@ const downloadMaterial = async () => {
if
(
status
.
value
===
'IN_PRODUCTION'
||
status
.
value
===
'PICKING'
||
status
.
value
===
'TO_BE_REPLENISHMENT'
status
.
value
===
'TO_BE_REPLENISHMENT'
||
status
.
value
===
'TO_BE_ARRANGE'
)
{
selectedIds
=
cardSelection
.
value
.
map
((
item
:
ProductList
)
=>
item
.
id
)
...
...
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