diff --git a/src/assets/images/print/black/check.png b/src/assets/images/print/black/check.png new file mode 100644 index 0000000..b994132 Binary files /dev/null and b/src/assets/images/print/black/check.png differ diff --git a/src/assets/images/print/black/error.png b/src/assets/images/print/black/error.png new file mode 100644 index 0000000..9d8a4fc Binary files /dev/null and b/src/assets/images/print/black/error.png differ diff --git a/src/assets/images/print/black/line.png b/src/assets/images/print/black/line.png new file mode 100644 index 0000000..475d6ee Binary files /dev/null and b/src/assets/images/print/black/line.png differ diff --git a/src/assets/images/print/black/waring.png b/src/assets/images/print/black/waring.png new file mode 100644 index 0000000..fc900eb Binary files /dev/null and b/src/assets/images/print/black/waring.png differ diff --git a/src/assets/images/print/check.png b/src/assets/images/print/white/check.png similarity index 100% rename from src/assets/images/print/check.png rename to src/assets/images/print/white/check.png diff --git a/src/assets/images/print/error.png b/src/assets/images/print/white/error.png similarity index 100% rename from src/assets/images/print/error.png rename to src/assets/images/print/white/error.png diff --git a/src/assets/images/print/line.png b/src/assets/images/print/white/line.png similarity index 100% rename from src/assets/images/print/line.png rename to src/assets/images/print/white/line.png diff --git a/src/assets/images/print/waring.png b/src/assets/images/print/white/waring.png similarity index 100% rename from src/assets/images/print/waring.png rename to src/assets/images/print/white/waring.png diff --git a/src/assets/js/asyncRouter.js b/src/assets/js/asyncRouter.js index 76dec5b..dc71232 100644 --- a/src/assets/js/asyncRouter.js +++ b/src/assets/js/asyncRouter.js @@ -629,6 +629,14 @@ export default [ path: "", component: "statistical_analysis/inventory_statistics_month/index", }, + { + path: "/statistical_analysis/inventory_statistics_month/print", + meta: { + title: "打印", + activeMenu: "/statistical_analysis/inventory_statistics_month", + }, + component: "statistical_analysis/inventory_statistics_month/print", + }, ], }, ], diff --git a/src/request/statistical_analysis.js b/src/request/statistical_analysis.js index afa2660..989edb3 100644 --- a/src/request/statistical_analysis.js +++ b/src/request/statistical_analysis.js @@ -8,3 +8,5 @@ export const getDetectionSituationListTime = (params) => post("/liststatistics/getTimeAstrict", params); // 员工日常检测情况列表时间 export const getUsageSituationList = (params) => post("/liststatistics/checkSituation", params); // 员工使用情况分析列表 +export const getInventoryStatisticsMonthList = (params) => + post("/checkrecord/monthStatistics", params); // 员工清单检查统计(月)列表 diff --git a/src/views/statistical_analysis/detection_situation/print.vue b/src/views/statistical_analysis/detection_situation/print.vue index a43e9a1..79d902f 100644 --- a/src/views/statistical_analysis/detection_situation/print.vue +++ b/src/views/statistical_analysis/detection_situation/print.vue @@ -44,6 +44,7 @@
打印
+
@@ -51,6 +52,7 @@ import useListData from "@/assets/js/useListData.js"; import { getDetectionSituationList } from "@/request/statistical_analysis.js"; import { useRoute } from "vue-router"; +import { PRINT_STYLE } from "@/assets/js/constant.js"; const route = useRoute(); const { STARTTIME, ENDTIME, DEPTIDS } = route.query; diff --git a/src/views/statistical_analysis/inventory_statistics_month/index.vue b/src/views/statistical_analysis/inventory_statistics_month/index.vue new file mode 100644 index 0000000..4d28ee7 --- /dev/null +++ b/src/views/statistical_analysis/inventory_statistics_month/index.vue @@ -0,0 +1,265 @@ + + + + + diff --git a/src/views/statistical_analysis/inventory_statistics_month/print.vue b/src/views/statistical_analysis/inventory_statistics_month/print.vue new file mode 100644 index 0000000..4a7bcef --- /dev/null +++ b/src/views/statistical_analysis/inventory_statistics_month/print.vue @@ -0,0 +1,294 @@ + + + + +