Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
njzsb
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐州
njzsb
Commits
1242714c
Commit
1242714c
authored
Sep 28, 2022
by
houyu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.house365.com/xuzhou/njzsb
parents
014da1f0
257144f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
17 deletions
+15
-17
PaymentVoucherPrint_GuiHua.jsp
...ges/account/paymentVoucher/PaymentVoucherPrint_GuiHua.jsp
+1
-1
Jfzm_view.jsp
WebRoot/WEB-INF/pages/jfzm/Jfzm_view.jsp
+14
-16
No files found.
WebRoot/WEB-INF/pages/account/paymentVoucher/PaymentVoucherPrint_GuiHua.jsp
View file @
1242714c
...
@@ -656,7 +656,7 @@
...
@@ -656,7 +656,7 @@
<div
id=
'33'
draggable=
'true'
class=
'f33'
>
${paymentItemHis.zslxdbh}
</div>
<div
id=
'33'
draggable=
'true'
class=
'f33'
>
${paymentItemHis.zslxdbh}
</div>
<div
id=
'34'
draggable=
'true'
class=
'f34'
>
${paymentItemHis.jbr}
${rfxm.jbr}
</div>
<div
id=
'34'
draggable=
'true'
class=
'f34'
>
${paymentItemHis.jbr}
${rfxm.jbr}
</div>
<c:if
test=
"${paymentItemHis.isCwyz!='0'}"
>
<c:if
test=
"${paymentItemHis.isCwyz!='0'}"
>
<div
id=
'37'
draggable=
'true'
class=
'f37'
><img
src=
"
${ctx}/images/img/
zhang1.png"
alt=
""
></div>
<div
id=
'37'
draggable=
'true'
class=
'f37'
><img
src=
"
`${ctx}/images/img/`
zhang1.png"
alt=
""
></div>
</c:if>
</c:if>
<div
id=
'36'
draggable=
'true'
class=
'f36'
><img
src=
"${ctx}/images/img/zhang3.png"
alt=
""
></div>
<div
id=
'36'
draggable=
'true'
class=
'f36'
><img
src=
"${ctx}/images/img/zhang3.png"
alt=
""
></div>
...
...
WebRoot/WEB-INF/pages/jfzm/Jfzm_view.jsp
View file @
1242714c
...
@@ -299,16 +299,6 @@
...
@@ -299,16 +299,6 @@
width
:
160px
;
width
:
160px
;
height
:
160px
;
height
:
160px
;
}
}
/*内部使用*/
.f35
,
.f40
{
left
:
410px
;
top
:
408px
;
color
:
red
;
font-size
:
24px
;
background-color
:
#F2F7FD
;
z-index
:
99
;
text-align
:
center
;
}
</style>
</style>
<title>
Title
</title>
<title>
Title
</title>
<
%@
include
file=
"/common/jsLib.jsp"
%
>
<
%@
include
file=
"/common/jsLib.jsp"
%
>
...
@@ -348,8 +338,14 @@
...
@@ -348,8 +338,14 @@
return
html2canvas
(
container
,
ops
).
then
(
canvas
=>
{
return
html2canvas
(
container
,
ops
).
then
(
canvas
=>
{
// 返回图片的二进制数据
// 返回图片的二进制数据
const
imgUrl
=
canvas
.
toDataURL
(
"image/png"
);
// return canvas.toDataURL("image/png");
return
imgUrl
;
const
imgUrl
=
canvas
.
toDataURL
(
"image/png"
)
console
.
log
(
imgUrl
);
document
.
getElementById
(
"img2"
).
setAttribute
(
'src'
,
imgUrl
)
//const a = document.createElement('a')
//a.src = imgUrl
<%--
a
.
setAttribute
(
'download'
,
`chart-download-
${
name
}
`
)
--%>
// a.click()
});
});
}
}
const
doPrint
=
async
()
=>
{
const
doPrint
=
async
()
=>
{
...
@@ -357,9 +353,9 @@
...
@@ -357,9 +353,9 @@
width
:
790
,
width
:
790
,
height
:
790
,
height
:
790
,
scale
:
1
scale
:
1
}).
then
(
pic
=>
{
}).
then
(
x
=>
{
console
.
log
(
pic
);
console
.
log
(
x
);
document
.
getElementById
(
"img2"
).
setAttribute
(
'src'
,
pic
)
})
})
}
}
</script>
</script>
...
@@ -386,7 +382,9 @@
...
@@ -386,7 +382,9 @@
<div
id=
'f30'
draggable=
'true'
class=
'f30'
>
规划许可证号:${xmxxb.xkzh}
</div>
<div
id=
'f30'
draggable=
'true'
class=
'f30'
>
规划许可证号:${xmxxb.xkzh}
</div>
<div
id=
'f31'
draggable=
'true'
class=
'f31'
>
规划项目编号:${xmxxb.xmbh}
</div>
<div
id=
'f31'
draggable=
'true'
class=
'f31'
>
规划项目编号:${xmxxb.xmbh}
</div>
<div
id=
'33'
draggable=
'true'
class=
'f33'
>
${paymentItemHis.zslxdbh}
</div>
<div
id=
'33'
draggable=
'true'
class=
'f33'
>
${paymentItemHis.zslxdbh}
</div>
<div
id=
'37'
draggable=
'true'
class=
'f37'
><img
src=
"${ctx}/images/img/zhang_half.png"
alt=
""
></div>
<c:if
test=
"${rfxm.isRfyz=='1'}"
>
<div
id=
'37'
draggable=
'true'
class=
'f37'
><img
src=
"${ctx}/images/img/zhang_half.png"
alt=
""
></div>
</c:if>
<c:choose>
<c:choose>
<c:when
test=
"${empty rfxm}"
>
<c:when
test=
"${empty rfxm}"
>
...
...
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