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
0
Merge Requests
0
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
c9c063f4
Commit
c9c063f4
authored
Jun 25, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tiff 按钮加载bug修复
parent
5456fcc1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
src/views/order/podUs/index.vue
+6
-5
No files found.
src/views/order/podUs/index.vue
View file @
c9c063f4
...
@@ -329,7 +329,7 @@
...
@@ -329,7 +329,7 @@
<ElButton
<ElButton
:loading=
"tifDownloadLoading"
:loading=
"tifDownloadLoading"
type=
"warning"
type=
"warning"
@
click=
"downloadTif('tiff'
, 'tiff'
)"
@
click=
"downloadTif('tiff')"
>
>
TIF排版
TIF排版
</ElButton>
</ElButton>
...
@@ -338,7 +338,7 @@
...
@@ -338,7 +338,7 @@
<ElButton
<ElButton
:loading=
"pngDownloadLoading"
:loading=
"pngDownloadLoading"
type=
"warning"
type=
"warning"
@
click=
"downloadTif('png'
, 'composingPNG'
)"
@
click=
"downloadTif('png')"
>
>
PNG排版
PNG排版
</ElButton>
</ElButton>
...
@@ -1636,7 +1636,7 @@ import platformJson from '../../../json/platform.json'
...
@@ -1636,7 +1636,7 @@ import platformJson from '../../../json/platform.json'
declare
global
{
declare
global
{
interface
Window
{
interface
Window
{
ActiveXObject
:
{
ActiveXObject
:
{
new
(
type
:
string
):
XMLHttpRequest
new
(
type
:
string
):
XMLHttpRequest
}
}
VBS_BinaryToArray
:
{
VBS_BinaryToArray
:
{
(
data
:
unknown
):
{
toArray
():
number
[]
}
(
data
:
unknown
):
{
toArray
():
number
[]
}
...
@@ -2183,7 +2183,7 @@ const productionClientVisible = ref(false)
...
@@ -2183,7 +2183,7 @@ const productionClientVisible = ref(false)
// productionClientVisible.value = true
// productionClientVisible.value = true
//
}
//
}
const
downloadTif
=
async
(
type
:
string
,
dir
:
string
)
=>
{
const
downloadTif
=
async
(
type
:
string
)
=>
{
if
(
!
cardSelection
.
value
.
length
)
{
if
(
!
cardSelection
.
value
.
length
)
{
return
ElMessage
.
warning
(
'请选择数据'
)
return
ElMessage
.
warning
(
'请选择数据'
)
}
}
...
@@ -2197,7 +2197,8 @@ const downloadTif = async (type: string, dir: string) => {
...
@@ -2197,7 +2197,8 @@ const downloadTif = async (type: string, dir: string) => {
cardSelection
.
value
.
map
((
el
)
=>
el
.
id
),
cardSelection
.
value
.
map
((
el
)
=>
el
.
id
),
type
,
type
,
)
)
window
.
open
(
`https://ps.jomalls.com/${dir
}
/`
+
res
.
message
,
'_blank'
)
const
url
=
type
===
'tiff'
?
`https://ps.jomalls.com/tiff/`
+
res
.
message
:
filePath
+
res
.
message
window
.
open
(
url
,
'_blank'
)
if
(
type
===
'tiff'
)
{
if
(
type
===
'tiff'
)
{
tifDownloadLoading
.
value
=
false
tifDownloadLoading
.
value
=
false
}
else
{
}
else
{
...
...
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