diff --git a/src/assets/js/asyncRouter.js b/src/assets/js/asyncRouter.js index 79d5e99..0e1509c 100644 --- a/src/assets/js/asyncRouter.js +++ b/src/assets/js/asyncRouter.js @@ -418,6 +418,14 @@ export default [ }, component: "confined_space/job_data/view", }, + { + path: "/confined_space/job_data/add_video", + meta: { + title: "添加监控", + activeMenu: "/confined_space/job_data", + }, + component: "eightwork_videomanager/index", + }, ], }, { @@ -463,6 +471,14 @@ export default [ }, component: "blind_plate_plugging/job_data/view", }, + { + path: "/blind_plate_plugging/job_data/add_video", + meta: { + title: "添加监控", + activeMenu: "/blind_plate_plugging/job_data", + }, + component: "eightwork_videomanager/index", + }, ], }, { @@ -503,6 +519,14 @@ export default [ }, component: "groundbreaking/job_data/view", }, + { + path: "/groundbreaking/job_data/add_video", + meta: { + title: "添加监控", + activeMenu: "/groundbreaking/job_data", + }, + component: "eightwork_videomanager/index", + }, ], }, { @@ -543,6 +567,14 @@ export default [ }, component: "high/job_data/view", }, + { + path: "/high/job_data/add_video", + meta: { + title: "添加监控", + activeMenu: "/high/job_data", + }, + component: "eightwork_videomanager/index", + }, ], }, { @@ -583,6 +615,14 @@ export default [ }, component: "hoisting/job_data/view", }, + { + path: "/hoisting/job_data/add_video", + meta: { + title: "添加监控", + activeMenu: "/hoisting/job_data", + }, + component: "eightwork_videomanager/index", + }, ], }, { @@ -623,6 +663,14 @@ export default [ }, component: "open_circuit/job_data/view", }, + { + path: "/open_circuit/job_data/add_video", + meta: { + title: "添加监控", + activeMenu: "/open_circuit/job_data", + }, + component: "eightwork_videomanager/index", + }, ], }, { @@ -663,6 +711,14 @@ export default [ }, component: "temporary_electricity_usage/job_data/view", }, + { + path: "/temporary_electricity_usage/job_data/add_video", + meta: { + title: "添加监控", + activeMenu: "/temporary_electricity_usage/job_data", + }, + component: "eightwork_videomanager/index", + }, ], }, { @@ -703,6 +759,14 @@ export default [ }, component: "hot_work/job_data/view", }, + { + path: "/hot_work/job_data/add_video", + meta: { + title: "添加监控", + activeMenu: "/hot_work/job_data", + }, + component: "eightwork_videomanager/index", + }, ], }, { diff --git a/src/request/eightwork_videomanager.js b/src/request/eightwork_videomanager.js new file mode 100644 index 0000000..2375158 --- /dev/null +++ b/src/request/eightwork_videomanager.js @@ -0,0 +1,12 @@ +import { post } from "@/request/axios.js"; + +export const getVideoManagerList = (params) => + post("/videomanager/list", params); // 八项作业视频列表 +export const getEightWorkVideoManagerList = (params) => + post("/eightworkvideomanager/list", params); // 八项作业视频列表 +export const setEightWorkVideoManagerList = (params) => post("/eightworkvideomanager/add", params); // 台账列表 + +export const setVideoManagerList = (params) => post("/eightworkvideomanager/goEdit", params); // 台账添加 +export const setEightWorkVideoManagerDelete = (params) => post("/eightworkvideomanager/delete", params); // 删除 +export const setEightWorkVideoManagerDeleteAll = (params) => post("/eightworkvideomanager/deleteAll", params); // 删除 + diff --git a/src/views/blind_plate_plugging/job_data/index.vue b/src/views/blind_plate_plugging/job_data/index.vue index 4543be9..b780802 100644 --- a/src/views/blind_plate_plugging/job_data/index.vue +++ b/src/views/blind_plate_plugging/job_data/index.vue @@ -85,8 +85,25 @@ }} - + - +