master
xy 2 years ago
parent fb8ab01da2
commit 8255e09c44

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

@ -61,7 +61,7 @@
<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="48" height="48"><path d="M883.341 658.766l-217.724 226.12c-58.339 49.896-131.355 67.917-189.209 0l-339.37-339.462v0.128l-0.784-0.884-16.605-19.863-2.565-4.023a123.616 123.616 0 0 1-19.959-67.949l0.132-230.367C97.698 151.951 143.694 99.365 214.21 98.8l237.075-0.132a125.96 125.96 0 0 1 68.174 19.734l2.121 1.237 17.265 13.782c0.888 0.89 1.897 1.581 2.789 2.374l-0.223 0.22 341.934 341.934c63.935 60.157 38.701 142.077-0.004 180.817z m-46.466-136.002L496.622 184.137l-0.121 0.124a60.877 60.877 0 0 0-44.107-18.279l-230.254 0.062c-34.396 0.35-57.323 24.852-57.739 59.245v228.714a61.106 61.106 0 0 0 18.193 44.018v0.12l338.62 338.623a62.13 62.13 0 0 0 43.956 18.209 62.143 62.143 0 0 0 43.949-18.209l227.757-226.127a62.11 62.11 0 0 0-0.001-87.873z" fill="#2c2c2c"></path><path d="M319.002 383.995c-35.017-0.029-63.386-28.437-63.359-63.45 0.029-35.022 28.437-63.386 63.45-63.358 35.017 0.024 63.386 28.432 63.359 63.454-0.028 35.014-28.436 63.374-63.45 63.354z" fill="#2c2c2c"></path></svg>
<div>困难类型</div>
<p>{{ type.get(info.user.kunnanleixing) }}</p>
<p>{{ info.user.kunnanleixing }}</p>
</div>
</li>
<li>

@ -7,7 +7,7 @@
</div>
<div class="qrcode">
<div ref="qrcode"></div>
<div style="padding-top: 2px;">扫码核验</div>
<div style="padding-top: 2px;text-shadow: 1px 1px #ddd;">扫码核验</div>
</div>
<div class="title">
@ -15,7 +15,7 @@
</div>
<div class="text">
兹有<span>{{ info.name }}</span>身份证号<span>{{ info.idcard }}</span>经苏州市总工会审核评定为{{ new Date().getFullYear() }}年度苏州市总工会<span>{{ info.kunnanleixing }}家庭</span>
兹有<span>{{ info.name }}</span>身份证号<span>{{ info.idcard }}</span>经苏州市总工会审核评定为{{ new Date().getFullYear() }}年度苏州市总工会<span>{{ info.kunnanleixing }}</span>
<template v-if="showChild">
<span>{{ printChild.name }}</span>身份证号码<span>{{ printChild.idcard }}</span>系其家庭成员
</template>
@ -27,7 +27,7 @@
<p>{{ $moment(new Date()).format('YYYY年M月DD日') }}</p>
</div>
<img class="seal" :src="require('@/assets/seal.png')" alt="">
<img class="seal" :src="require('@/assets/seal.gif')" alt="">
</div>
</div>
</div>
@ -294,13 +294,16 @@ export default {
font-weight: 900;
font-size: 2em;
text-align: center;
text-shadow: 1px 1px #ddd;
}
@mixin h2 {
font-weight: 500;
font-size: 1.2em;
text-align: center;
text-shadow: 1px 1px #ddd;
}
@mixin text {
text-shadow: 1px 1px #ddd;
font-size: 1.1em;
}
& > div {
@ -319,17 +322,17 @@ export default {
@include h1;
transform: translate(-50%,0);
left: 50%;
top: 23%;
top: 22.5%;
}
.text {
@include text;
word-spacing: 4px;
letter-spacing: 1px;
top: 36%;
top: 35%;
padding: 0 5em;
text-indent: 2em;
line-height: 2.8;
word-break: keep-all;
line-height: 2.6;
word-break: break-all;
& > span {
text-decoration: underline;
@ -337,19 +340,23 @@ export default {
}
.stay {
@include text;
line-height: 2;
line-height: 1.8;
text-align: right;
padding-top: 2em;
padding-top: 1em;
padding-right: 1em;
position: relative;
z-index: 1;
}
.seal {
right: 14%;
width: 9vw;
min-width: 55px;
width: 7vw;
min-width: 50px;
object-fit: cover;
filter: saturate(5);
filter: saturate(1);
transform: translate(-1em,-4em);
z-index: 0;
position: absolute;
}
}

@ -225,7 +225,7 @@
}"
:show-file-list="false"
:action="action"
:on-sucess="importSuccess"
:on-success="importSuccess"
:file-list="fileList">
<Button type="primary">导入</Button>
</el-upload>
@ -297,7 +297,7 @@ import { show } from "@/api/system/customForm";
import * as XLSX from "xlsx";
import { saveAs } from "file-saver";
import { listdept } from "@/api/system/department"
import {getToken} from "@/utils/auth";
import { getToken } from "@/utils/auth";
import add from "./component/add.vue";
import LxHeader from "@/components/LxHeader/index.vue";
@ -337,8 +337,14 @@ export default {
};
},
methods: {
importSuccess (response, file, fileList) {
console.log(response)
this.$message({
type: 'success',
message: `成功导入${response.total}条,失败${response.fail}`
})
this.$refs['xyTable'].getTableData(true)
},
async toPrint (row,isChild = 0) {

Loading…
Cancel
Save