罗斌杰 2 years ago
parent
commit
89510ef3d6
  1. 8
      src/views/fee-settings/Asbitem.vue
  2. 8
      src/views/fee-settings/Item.vue
  3. 8
      src/views/workload/peisworkload.vue

8
src/views/fee-settings/Asbitem.vue

@ -1963,9 +1963,15 @@ export default {
}, },
// //
cancellation() { cancellation() {
postapi("/api/app/asbitem/getasbitemlist", { itemTypeId: this.initItemTypeId }).then(
(res) => {
if (res.code != -1) {
this.tableData = res.data;
this.$message.info("操作取消"); this.$message.info("操作取消");
this.isshow = true; this.isshow = true;
this.tableData = this.initTableData;
}
}
);
}, },
// //
assertion() { assertion() {

8
src/views/fee-settings/Item.vue

@ -1909,7 +1909,7 @@ export default {
getapi(`/api/app/item/in-item-type/${data.id}`).then((res) => { getapi(`/api/app/item/in-item-type/${data.id}`).then((res) => {
if (res.code != -1) { if (res.code != -1) {
this.tableData = res.data; this.tableData = res.data;
this.initTableData = [...res.data];
// this.initTableData = [...res.data];
} }
// this.getlist(); // this.getlist();
}); });
@ -2556,9 +2556,13 @@ export default {
}, },
// //
cancellation() { cancellation() {
getapi(`/api/app/item/in-item-type/${this.initItemTypeId}`).then((res) => {
if (res.code != -1) {
this.$message.info("取消操作"); this.$message.info("取消操作");
this.isshow = true; this.isshow = true;
this.tableData = this.initTableData;
this.tableData = res.data;
}
});
}, },
// //
assertion() { assertion() {

8
src/views/workload/peisworkload.vue

@ -76,13 +76,14 @@
" "
id="domTable" id="domTable"
> >
<div style="width: 47.7%;background-color: #fff; padding: 15px; border-radius: 8px;" ref="imageDom">
<div style="width: 47.7%;background-color: #fff; padding: 15px; border-radius: 8px;">
<!-- <h3 align="center">登记员工作量统计</h3> <!-- <h3 align="center">登记员工作量统计</h3>
- 53-18 - 53-18
<h5 align="right" style="margin-bottom: 5px;"> <h5 align="right" style="margin-bottom: 5px;">
时间<span>{{ startDate }}</span 时间<span>{{ startDate }}</span
><span>{{ endDate }}</span> ><span>{{ endDate }}</span>
</h5> --> </h5> -->
<div ref="imageDom">
<el-table <el-table
border border
show-summary show-summary
@ -130,6 +131,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
</div>
<div <div
:style=" :style="
'width: 47.7%;overflow: hidden;height:' + 'width: 47.7%;overflow: hidden;height:' +
@ -236,7 +238,9 @@ export default {
printable: url, printable: url,
type: "image", type: "image",
documentTitle: "", // documentTitle: "", //
style: "@page{size:auto;margin: 0cm 1cm 0cm 1cm;}", //
style: `@media print { @page {size: auto; margin: 0 0 0 0; } body{margin:0 5px}canvas{page-break-after: always;page-break-inside: avoid;
page-break-after: avoid;
page-break-before: avoid;}}`, // 去除页眉页脚
}); });
}); });
cloneDom.style.display = "none"; cloneDom.style.display = "none";

Loading…
Cancel
Save