From bc637b6fce34579fe012643615cd595f1ece3d99 Mon Sep 17 00:00:00 2001 From: chenxinying <1039655633@qq.com> Date: Thu, 11 Jan 2024 17:15:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AB=E9=A1=B9=E4=BD=9C=E4=B8=9A=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=9B=91=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/asyncRouter.js | 64 ++++++++++++ src/request/eightwork_videomanager.js | 12 +++ .../blind_plate_plugging/job_data/index.vue | 19 +++- src/views/confined_space/job_data/index.vue | 16 ++- .../eightwork_videomanager/components/add.vue | 97 +++++++++++++++++++ src/views/eightwork_videomanager/index.vue | 82 ++++++++++++++++ src/views/groundbreaking/job_data/index.vue | 19 +++- src/views/high/job_data/index.vue | 19 +++- src/views/hoisting/job_data/index.vue | 19 +++- src/views/hot_work/job_data/index.vue | 21 +++- src/views/open_circuit/job_data/index.vue | 16 ++- .../job_data/index.vue | 23 ++++- 12 files changed, 399 insertions(+), 8 deletions(-) create mode 100644 src/request/eightwork_videomanager.js create mode 100644 src/views/eightwork_videomanager/components/add.vue create mode 100644 src/views/eightwork_videomanager/index.vue 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 @@ }} - + - +