From 76af1d175e98900d45384c8e82fb99d05620af56 Mon Sep 17 00:00:00 2001 From: zhangyanli Date: Sun, 4 Feb 2024 14:02:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E6=82=A3=E6=8E=92=E6=9F=A5=E6=B8=85?= =?UTF-8?q?=E5=8D=95=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/asyncRouter.js | 9 + src/request/hazard_investigation.js | 14 +- ...{check_standard_add.vue => add_custom.vue} | 53 +-- .../components/checkstandard_add.vue | 40 +- .../components/import_custom.vue | 290 +++++++++++++ .../insurance_coverage_select_custom.vue | 59 +++ .../inventory_management/components/list.vue | 83 +++- .../components/list_qr_code.vue | 9 +- ...ct_checkstandard.vue => select_custom.vue} | 116 ++++-- .../components/standard_list.vue | 385 ------------------ .../insurance_coverage_custom.vue | 127 ++++++ .../inventory_management/print_custom.vue | 136 +++++++ 12 files changed, 835 insertions(+), 486 deletions(-) rename src/views/hazard_investigation/inventory_management/{check_standard_add.vue => add_custom.vue} (93%) create mode 100644 src/views/hazard_investigation/inventory_management/components/import_custom.vue create mode 100644 src/views/hazard_investigation/inventory_management/components/insurance_coverage_select_custom.vue rename src/views/hazard_investigation/inventory_management/components/{select_checkstandard.vue => select_custom.vue} (60%) delete mode 100644 src/views/hazard_investigation/inventory_management/components/standard_list.vue create mode 100644 src/views/hazard_investigation/inventory_management/insurance_coverage_custom.vue create mode 100644 src/views/hazard_investigation/inventory_management/print_custom.vue diff --git a/src/assets/js/asyncRouter.js b/src/assets/js/asyncRouter.js index 070ed2d..eab67c3 100644 --- a/src/assets/js/asyncRouter.js +++ b/src/assets/js/asyncRouter.js @@ -330,6 +330,15 @@ export default [ component: "hazard_investigation/inventory_management/insurance_coverage", }, + { + path: "/hazard_investigation/inventory_management/insurance_coverage_custom", + meta: { + title: "设置包保责任类型", + activeMenu: "/hazard_investigation/inventory_management", + }, + component: + "hazard_investigation/inventory_management/insurance_coverage_custom", + }, { path: "/hazard_investigation/inventory_management/add", meta: { diff --git a/src/request/hazard_investigation.js b/src/request/hazard_investigation.js index cbb36bf..17da5d1 100644 --- a/src/request/hazard_investigation.js +++ b/src/request/hazard_investigation.js @@ -1,4 +1,4 @@ -import { post } from "@/request/axios.js"; +import { post, upload } from "@/request/axios.js"; export const getInventoryManagementList = (params) => post("/listmanager/list", params); // 清单管理列表 @@ -21,7 +21,7 @@ export const setInventoryManagementInsuranceCoverageList = (params) => export const setInventoryManagementInsuranceCoverageSave = (params) => post("/listmanager/saveBaoBaoType", params); // 清单管理设置包保责任类型提交 export const getInventoryManagementInspectionItems = (params) => - post("/richeckitem/itemlistAllsk", params); // 清单管理检查项列表 + post("/richeckitem/itemlistAll", params); // 清单管理检查项列表 export const getInventoryManagementOtherRiskList = (params) => post("/riskcheckitem/list", params); // 清单管理选择其他存在风险列表 export const setInventoryManagementAdd = (params) => @@ -86,7 +86,7 @@ export const getCheckstandardCommonList = (params) => export const setCheckStandardManagementAdd = (params) => post("/hiddenstandardCustom/add", params); // 隐患排查清单管理新增 export const setCheckStandardManagementEdit = (params) => - post("/listmanager/hiddencheckedit", params); // 隐患排查清单管理修改 + post("/hiddenstandardCustom/edit", params); // 隐患排查清单管理修改 export const getCheckStandardManagementView = (params) => post("/hiddenstandardCustom/goEdit", params); // 隐患排查清单管理查看 export const getCheckStandardOtherHiddenList = (params) => @@ -95,6 +95,10 @@ export const setCheckStandardSupplementaryRecordingSubmit = (params) => post("/customCheckrecord/recording", params); // 隐患排查清单检查情况检查记录补录提交 export const setCheckStandardSubmit = (params) => post("/customCheckrecord/add", params); // 清单排查提交 +export const setCommonItemEdit = (params) => + post("/hiddenstandardCommon/edit", params); // 隐患排查检查标准修改 +export const setCustomImport = (params) => + upload("/hiddenstandardCustom/readExcel", params); // 导入隐患排查清单 export const getDeleteCustomList = (params) => post("/customStop/list", params); // 删除清单管理列表 export const setDeleteCustomRecovery = (params) => post("/customStop/restore", params); // 删除清单管理恢复 @@ -107,3 +111,7 @@ export const getCustomCheckRecordView = (params) => post("/customCheckrecord/goEdit", params); // 隐患清单排查查询单个 export const setDeleteCustommCheckrecord = (params) => post("/customCheckrecord/delete", params); // 删除隐患清单排查记录 +export const setCustomInsuranceCoverageList = (params) => + post("/customLabelFactory/termList", params); // 隐患排查清单管理设置包保责任类型选择列表 +export const setCustomInsuranceCoverageSave = (params) => + post("/hiddenstandardCustom/saveBaoBaoType", params); // 清单管理设置包保责任类型提交 diff --git a/src/views/hazard_investigation/inventory_management/check_standard_add.vue b/src/views/hazard_investigation/inventory_management/add_custom.vue similarity index 93% rename from src/views/hazard_investigation/inventory_management/check_standard_add.vue rename to src/views/hazard_investigation/inventory_management/add_custom.vue index 5f6c1a8..de774fa 100644 --- a/src/views/hazard_investigation/inventory_management/check_standard_add.vue +++ b/src/views/hazard_investigation/inventory_management/add_custom.vue @@ -66,7 +66,7 @@ - + - + - - - - - + + + + + + diff --git a/src/views/hazard_investigation/inventory_management/components/list_qr_code.vue b/src/views/hazard_investigation/inventory_management/components/list_qr_code.vue index 38f1489..b25dddb 100644 --- a/src/views/hazard_investigation/inventory_management/components/list_qr_code.vue +++ b/src/views/hazard_investigation/inventory_management/components/list_qr_code.vue @@ -22,7 +22,9 @@ {{ info.TYPENAME }} - + APP-待排查-清单扫描 diff --git a/src/views/hazard_investigation/inventory_management/components/standard_list.vue b/src/views/hazard_investigation/inventory_management/components/standard_list.vue deleted file mode 100644 index 82deb9d..0000000 --- a/src/views/hazard_investigation/inventory_management/components/standard_list.vue +++ /dev/null @@ -1,385 +0,0 @@ - - - - - diff --git a/src/views/hazard_investigation/inventory_management/insurance_coverage_custom.vue b/src/views/hazard_investigation/inventory_management/insurance_coverage_custom.vue new file mode 100644 index 0000000..ca0c50e --- /dev/null +++ b/src/views/hazard_investigation/inventory_management/insurance_coverage_custom.vue @@ -0,0 +1,127 @@ + + + + + diff --git a/src/views/hazard_investigation/inventory_management/print_custom.vue b/src/views/hazard_investigation/inventory_management/print_custom.vue new file mode 100644 index 0000000..db0fa59 --- /dev/null +++ b/src/views/hazard_investigation/inventory_management/print_custom.vue @@ -0,0 +1,136 @@ + + + + +