提交 49950574 authored 作者: 钟是志's avatar 钟是志

学生证打印页面修改

上级 d02c9365
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<base href="http://210.41.222.124:51353/zyd/#/xg/stundents_record/"/>
<script>window.alert = null;
window.confirm = null;
window.open = null;
window.showModalDialog = null;</script>
<div
style="position: relative; break-after: avoid; height: 18.3cm; width: 12.3cm; text-align: center; background-color: rgb(255, 255, 255);">
<div style="position: absolute; z-index: 10; font-weight: 600; left: 330px; top: 365px;">
<div
style="font-size: 12px; font-family: 宋体; line-height: normal; width: auto; height: auto; vertical-align: top; text-align: left; letter-spacing: 2px; font-weight: 100;">
沙万忠
</div>
</div>
<div style="position: absolute; z-index: 10; font-weight: 600; left: 330px; top: 400px;">
<div
style="font-size: 12px; font-family: 宋体; line-height: normal; width: auto; height: auto; vertical-align: top; text-align: right; letter-spacing: 2px; font-weight: 100;">
</div>
</div>
<div style="position: absolute; z-index: 10; font-weight: 600; left: 330px; top: 435px;">
<div
style="font-size: 12px; font-family: 宋体; line-height: normal; width: auto; height: auto; vertical-align: top; text-align: right; letter-spacing: 2px; font-weight: 100;">
彝族
</div>
</div>
<div style="position: absolute; z-index: 10; font-weight: 600; left: 10px; top: 190px; transform: rotate(180deg);">
<div
style="font-size: 12px; font-family: 宋体; line-height: 12px; margin-bottom: 0px; width: auto; text-align: left; font-weight: 100;">
四川省攀枝花市盐边县
</div>
<div
style="font-size: 12px; font-family: 宋体; line-height: 12px; margin-bottom: 0px; width: auto; text-align: left; font-weight: 100;">
格萨拉彝族乡韭菜坪村8组4号
</div>
</div>
<div style="position: absolute; z-index: 10; font-weight: 600; left: 330px; top: 537px;">
<div
style="font-size: 12px; font-family: 宋体; line-height: normal; width: auto; height: auto; vertical-align: top; text-align: right; letter-spacing: 2px; font-weight: 100;">
本科
</div>
</div>
<div style="position: absolute; z-index: 10; font-weight: 600; left: 330px; top: 507px;">
<div
style="font-size: 12px; font-family: 宋体; line-height: normal; width: auto; height: auto; vertical-align: top; text-align: right; letter-spacing: 2px;">
202051703039
</div>
</div>
<div style="position: absolute; z-index: 10; font-weight: 600; left: 330px; top: 568px;">
<div
style="font-size: 12px; font-family: 宋体; line-height: normal; width: auto; height: auto; vertical-align: top; text-align: right; letter-spacing: 2px;">
养生康复学院
</div>
</div>
<div style="position: absolute; z-index: 10; font-weight: 600; left: 330px; top: 600px;">
<div
style="font-size: 12px; font-family: 宋体; line-height: normal; width: auto; height: auto; vertical-align: top; text-align: right; letter-spacing: 2px;">
中医康复学
</div>
</div>
<div style="position: absolute; z-index: 10; font-weight: 600; left: 0px; top: 273px; transform: rotate(180deg);">
<div
style="font-size: 12px; font-family: 宋体; line-height: normal; width: 144px; height: 15px; vertical-align: top; text-align: left; letter-spacing: 2px;">
沙万忠
</div>
</div>
<div style="position: absolute; z-index: 10; font-weight: 600; left: 0px; top: 247px; transform: rotate(180deg);">
<div
style="font-size: 12px; font-family: 宋体; line-height: normal; width: auto; height: auto; vertical-align: top; text-align: right; letter-spacing: 2px;">
510422200107242816
</div>
</div>
<div style="position: absolute; z-index: 10; font-weight: 600; left: 40px; top: 164px; transform: rotate(180deg);">
<div
style="font-size: 12px; font-family: 宋体; line-height: normal; width: auto; height: auto; vertical-align: top; text-align: left; letter-spacing: 2px; font-weight: 100;">
攀枝花
</div>
</div>
<div style="position: absolute; z-index: 10; font-weight: 600; left: 325px; top: 479px;">
<div
style="font-size: 12px; font-family: 宋体; line-height: 12px; margin-bottom: 0px; width: auto; text-align: left;">
四川省盐边
</div>
<div
style="font-size: 12px; font-family: 宋体; line-height: 12px; margin-bottom: 0px; width: auto; text-align: left;">
</div>
</div>
<div style="position: absolute; z-index: 10; font-weight: 600; left: 330px; top: 625px;">
<div
style="font-size: 12px; font-family: 宋体; line-height: normal; width: auto; height: auto; vertical-align: top; text-align: left; letter-spacing: 2px; font-weight: 100;">
中医康复学2020级
</div>
</div>
</div>
</body>
</html>
......@@ -298,7 +298,16 @@ export default class ViewPrint extends Component {
<ButtonDiy
name={'返回'}
handleClick={() => {
router.goBack();
const { state } = this.props.location;
if(state && state.returnUrl){
router.push({
pathname: state.returnUrl,
searchInfo: state.searchInfo,
});
}else{
router.goBack();
}
}}
/>
</span>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论