Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘怀志
pet-business-web
Commits
e6645c10
Commit
e6645c10
authored
Sep 17, 2023
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug(67922) - 下载按钮状态不正确
parent
785b4dfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
entry-contract.vue
...ews/document-management/entry-contract/entry-contract.vue
+8
-5
No files found.
src/views/document-management/entry-contract/entry-contract.vue
View file @
e6645c10
...
@@ -48,9 +48,9 @@
...
@@ -48,9 +48,9 @@
<
el
-
button
<
el
-
button
plain
plain
size
=
"mini"
size
=
"mini"
class
=
"el-button--warning--solid"
class
=
"
buying-credit
el-button--warning--solid"
type
=
"warning"
type
=
"warning"
@
click
=
"downloadPdf(scope.row)"
@
click
=
"downloadPdf(scope.row
, 'buying-credit'
)"
>
>
<
svg
-
icon
icon
-
class
=
"liebiao_icon_xiajia"
/>
<
svg
-
icon
icon
-
class
=
"liebiao_icon_xiajia"
/>
下载
下载
...
@@ -110,9 +110,9 @@
...
@@ -110,9 +110,9 @@
<
el
-
button
<
el
-
button
plain
plain
size
=
"mini"
size
=
"mini"
class
=
"el-button--warning--solid"
class
=
"
downloadPdf
el-button--warning--solid"
type
=
"warning"
type
=
"warning"
@
click
=
"downloadPdf(scope.row)"
@
click
=
"downloadPdf(scope.row
, downloadPdf
)"
>
>
<
svg
-
icon
icon
-
class
=
"liebiao_icon_xiajia"
/>
<
svg
-
icon
icon
-
class
=
"liebiao_icon_xiajia"
/>
下载
下载
...
@@ -238,9 +238,12 @@ export default {
...
@@ -238,9 +238,12 @@ export default {
this
.
openContractDocument
=
true
this
.
openContractDocument
=
true
this
.
contractDocumentUrl
=
this
.
baseUrl
+
row
.
contract
this
.
contractDocumentUrl
=
this
.
baseUrl
+
row
.
contract
}
,
}
,
downloadPdf
(
row
)
{
downloadPdf
(
row
,
ButtonId
)
{
this
.
$download
.
resource
(
row
.
contract
)
this
.
$download
.
resource
(
row
.
contract
)
this
.
$modal
.
msgSuccess
(
'正在下载中,请稍等…'
)
this
.
$modal
.
msgSuccess
(
'正在下载中,请稍等…'
)
Array
.
prototype
.
forEach
.
call
(
document
.
getElementsByClassName
(
ButtonId
),
element
=>
element
.
blur
()
)
}
,
}
,
/** 通过授权历史获取到期日期 */
/** 通过授权历史获取到期日期 */
addDays
(
date
,
str
)
{
addDays
(
date
,
str
)
{
...
...
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