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) }} - + - +