diff --git a/src/assets/js/asyncRouter.js b/src/assets/js/asyncRouter.js index a83bfbf..1d5578f 100644 --- a/src/assets/js/asyncRouter.js +++ b/src/assets/js/asyncRouter.js @@ -410,8 +410,21 @@ export default [ }, ], }, + { + path: "/hazard_investigation/inspection_record/batch_printing", + meta: { + title: "批量打印", + activeMenu: "/hazard_investigation/inspection_record", + }, + component: "hazard_investigation/inspection_record/batch_printing", + }, ], }, + { + path: "/hazard_investigation/troubleshooting_plan", + meta: { title: "排查计划", isSubMenu: false }, + component: "hazard_investigation/troubleshooting_plan/index", + }, ], }, { diff --git a/src/request/hazard_investigation.js b/src/request/hazard_investigation.js index 668322b..233159d 100644 --- a/src/request/hazard_investigation.js +++ b/src/request/hazard_investigation.js @@ -38,15 +38,11 @@ export const getInventoryTroubleshootingOtherHiddenList = (params) => post("/hidden/getOtherHidden", params); // 清单排查其它隐患列表 export const getHiddenDangerDatabaseList = (params) => post("/hiddenLibrary/list", params); // 隐患数据库列表 -export const setInventoryTroubleshootingOtherHiddenDangerAdd = (params) => - post("/hidden/add", params); // 清单排查其它隐患添加 -export const getInventoryTroubleshootingOtherHiddenDangerView = (params) => - post("/hidden/goEdit", params); // 清单排查其它隐患查看 -export const setInventoryTroubleshootingOtherHiddenDangerDelete = (params) => - post("/hidden/delete", params); // 清单排查其它隐患删除 -export const setInventoryTroubleshootingOtherHiddenDangerEdit = (params) => - post("/hidden/edit", params); // 清单排查其它隐患修改 -export const setInventoryTroubleshootingOtherHiddenDangerListAdd = (params) => +export const setHiddenDangerAdd = (params) => post("/hidden/add", params); // 清单排查其它隐患添加 +export const getHiddenDangerView = (params) => post("/hidden/goEdit", params); // 清单排查其它隐患查看 +export const setHiddenDangerDelete = (params) => post("/hidden/delete", params); // 清单排查其它隐患删除 +export const setHiddenDangerEdit = (params) => post("/hidden/edit", params); // 清单排查其它隐患修改 +export const setHiddenDangerListAdd = (params) => post("/hidden/listAdd", params); // 清单排查其它隐患添加 export const setInventoryTroubleshootingSubmit = (params) => post("/checkrecord/add", params); // 清单排查提交 @@ -66,6 +62,7 @@ export const getChecklistInspectionStatusRecordViewOtherHiddenDangerList = ( ) => post("/hidden/getCheckHidden", params); // 清单检查情况检查记录查看其它隐患列表 export const getChecklistInspectionStatusRecordMap = (params) => post("/checkrecord/goMap", params); // 清单检查情况检查记录查看地图 -export const getHiddenDangerView = (params) => post("/hidden/goEdit", params); // 清单排查隐患查看 export const getInspectionRecordList = (params) => post("/checkrecord/allList", params); // 检查记录管理列表 +export const getTroubleshootingPlanList = (params) => + post("/listmanager/checkPlan", params); // 排查计划列表 diff --git a/src/views/hazard_investigation/checklist_inspection_status/components/inspection_record_view.vue b/src/views/hazard_investigation/checklist_inspection_status/components/inspection_record_view.vue new file mode 100644 index 0000000..949b787 --- /dev/null +++ b/src/views/hazard_investigation/checklist_inspection_status/components/inspection_record_view.vue @@ -0,0 +1,276 @@ + + + + + diff --git a/src/views/hazard_investigation/checklist_inspection_status/inspection_record_view.vue b/src/views/hazard_investigation/checklist_inspection_status/inspection_record_view.vue index 93c2855..25f2943 100644 --- a/src/views/hazard_investigation/checklist_inspection_status/inspection_record_view.vue +++ b/src/views/hazard_investigation/checklist_inspection_status/inspection_record_view.vue @@ -1,217 +1,20 @@ diff --git a/src/views/hazard_investigation/inspection_record/batch_printing.vue b/src/views/hazard_investigation/inspection_record/batch_printing.vue new file mode 100644 index 0000000..3c8e1ed --- /dev/null +++ b/src/views/hazard_investigation/inspection_record/batch_printing.vue @@ -0,0 +1,24 @@ + + + + + diff --git a/src/views/hazard_investigation/inspection_record/index.vue b/src/views/hazard_investigation/inspection_record/index.vue index b9e4f96..e72b659 100644 --- a/src/views/hazard_investigation/inspection_record/index.vue +++ b/src/views/hazard_investigation/inspection_record/index.vue @@ -43,6 +43,11 @@ + + + 批量打印 + + @@ -51,7 +56,10 @@ :data="list" @get-data="fnGetDataTransfer" v-model:pagination="pagination" + ref="tableRef" + row-key="CHECKRECORD_ID" > +