Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 324b6d40
authored
Mar 13, 2023
by
张晓玮
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'zhangxw_dev_v4.17.0' into 'dev_v4.17.0'
Zhangxw dev v4.17.0 See merge request
!104
2 parents
cc106b96
61148339
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
src/views/vehicleDamage/vehicleDamageList.vue
src/views/vehicleDamage/vehicleDamageList.vue
View file @
324b6d4
...
@@ -204,7 +204,17 @@ export default {
...
@@ -204,7 +204,17 @@ export default {
handlePrint
(
row
)
{
handlePrint
(
row
)
{
quotationPrint
({
id
:
row
.
id
}).
then
((
res
)
=>
{
quotationPrint
({
id
:
row
.
id
}).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
window
.
open
(
res
)
let
oWin
=
window
.
open
(
res
)
oWin
.
document
.
fn
=
function
()
{
if
(
oWin
)
{
oWin
.
print
()
oWin
.
close
()
}
}
let
html
=
'<div style="height: 100%;width: 100%;">'
+
`<img src="
${
res
}
" onload="fn()" style="max-height:100%;max-width: 100%;" />`
+
'</div>'
oWin
.
document
.
open
()
oWin
.
document
.
write
(
html
)
oWin
.
document
.
close
()
})
})
},
},
getParams
()
{
getParams
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment