From fcb5dd3908cf693883489aa0c4b4bb6741df7791 Mon Sep 17 00:00:00 2001 From: chenxinying <1039655633@qq.com> Date: Tue, 16 Jan 2024 15:15:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E7=9B=91=E6=8E=A7=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/asyncRouter.js | 13 ++ src/request/video_manager.js | 13 ++ .../eightwork_videomanager/components/add.vue | 2 +- src/views/eightwork_videomanager/index.vue | 2 +- .../video_manager/components/add.vue | 87 +++++++++++ .../video_manager/components/video.vue | 29 ++++ .../video_manager/video_manager/index.vue | 147 ++++++++++++++++++ 7 files changed, 291 insertions(+), 2 deletions(-) create mode 100644 src/request/video_manager.js create mode 100644 src/views/video_manager/video_manager/components/add.vue create mode 100644 src/views/video_manager/video_manager/components/video.vue create mode 100644 src/views/video_manager/video_manager/index.vue diff --git a/src/assets/js/asyncRouter.js b/src/assets/js/asyncRouter.js index 4ff5e10..2c3ddb0 100644 --- a/src/assets/js/asyncRouter.js +++ b/src/assets/js/asyncRouter.js @@ -1166,4 +1166,17 @@ export default [ }, ], }, + { + path: "/video_manager", + redirect: "/video_manager/video_manager", + meta: { title: "企业视频监控管理", model: MODEL["4"] }, + component: "children", + children: [ + { + path: "/video_manager/video_manager", + meta: { title: "视频设备列表", isSubMenu: false }, + component: "video_manager/video_manager/index", + }, + ], + }, ]; diff --git a/src/request/video_manager.js b/src/request/video_manager.js new file mode 100644 index 0000000..50e3cf5 --- /dev/null +++ b/src/request/video_manager.js @@ -0,0 +1,13 @@ +import { post } from "@/request/axios.js"; + +export const getVideoManagerList = (params) => + post("/videomanager/list", params); // 视频列表 + +export const setVideoManagerAdd = (params) => post("/videomanager/add", params); // 台账列表 + +export const getVideoManagerView = (params) => + post("/videomanager/goEdit", params); // 台账添加 +export const setVideoManagerDelete = (params) => + post("/videomanager/delete", params); // 删除 +export const setVideoManagerEdit = (params) => + post("/videomanager/edit", params); diff --git a/src/views/eightwork_videomanager/components/add.vue b/src/views/eightwork_videomanager/components/add.vue index 7ec7db5..e3241d4 100644 --- a/src/views/eightwork_videomanager/components/add.vue +++ b/src/views/eightwork_videomanager/components/add.vue @@ -34,7 +34,7 @@ {{ serialNumber(pagination, $index) }} - + - +