diff --git a/src/assets/js/asyncRouter.js b/src/assets/js/asyncRouter.js index 0f149b1..a9e5ac6 100644 --- a/src/assets/js/asyncRouter.js +++ b/src/assets/js/asyncRouter.js @@ -818,13 +818,13 @@ export default [ path: "/keyprojects/inspection/record_list", meta: { title: "查看列表", - activeMenu: "/keyprojects/inspection" + activeMenu: "/keyprojects/inspection", }, component: "children", children: [ { path: "", - component: "keyprojects/inspection/record_list" + component: "keyprojects/inspection/record_list", }, { path: "/keyprojects/inspection/record_view", @@ -834,9 +834,9 @@ export default [ }, component: "keyprojects/inspection/record_view", }, - ] + ], }, - ] + ], }, { path: "/keyprojects/hidden", @@ -851,13 +851,13 @@ export default [ path: "/keyprojects/hidden/record_list", meta: { title: "查看列表", - activeMenu: "/keyprojects/hidden" + activeMenu: "/keyprojects/hidden", }, component: "children", children: [ { path: "", - component: "keyprojects/hidden/record_list" + component: "keyprojects/hidden/record_list", }, { path: "/keyprojects/hidden/record_view", @@ -867,9 +867,9 @@ export default [ }, component: "keyprojects/hidden/record_view", }, - ] + ], }, - ] + ], }, { path: "/keyprojects/punish", @@ -884,13 +884,13 @@ export default [ path: "/keyprojects/punish/record_list", meta: { title: "查看列表", - activeMenu: "/keyprojects/punish" + activeMenu: "/keyprojects/punish", }, component: "children", children: [ { path: "", - component: "keyprojects/punish/record_list" + component: "keyprojects/punish/record_list", }, { path: "/keyprojects/punish/record_view", @@ -900,9 +900,9 @@ export default [ }, component: "keyprojects/punish/record_view", }, - ] + ], }, - ] + ], }, { path: "/keyprojects/aiwarning", @@ -1969,6 +1969,11 @@ export default [ meta: { title: "视频设备列表", isSubMenu: false }, component: "video_manager/video_manager/index", }, + { + path: "/video_manager/ai_warning", + meta: { title: "Ai报警", isSubMenu: false }, + component: "video_manager/ai_warning/index", + }, ], }, { diff --git a/src/request/aiwarning_manager.js b/src/request/aiwarning_manager.js new file mode 100644 index 0000000..d3f0042 --- /dev/null +++ b/src/request/aiwarning_manager.js @@ -0,0 +1,8 @@ +import { post } from "@/request/axios.js"; + +export const getAiWarningList = (params) => post("/aiwarning/list", params); // ai报警列表 + +export const getAiWarningView = (params) => post("/aiwarning/goEdit", params); // 台账添加 +export const setAiWarningDelete = (params) => + post("/aiwarning/removeByIds", params); // 删除 +export const setAiWarningEdit = (params) => post("/aiwarning/edit", params); // 修改 diff --git a/src/views/enterprise_management/user/add.vue b/src/views/enterprise_management/user/add.vue index 669f0cb..c3d4a16 100644 --- a/src/views/enterprise_management/user/add.vue +++ b/src/views/enterprise_management/user/add.vue @@ -58,8 +58,8 @@ diff --git a/src/views/risk_control/identifying_parts/components/add.vue b/src/views/risk_control/identifying_parts/components/add.vue index 4c3f51f..d36104b 100644 --- a/src/views/risk_control/identifying_parts/components/add.vue +++ b/src/views/risk_control/identifying_parts/components/add.vue @@ -33,7 +33,10 @@ style="width: 240px" disabled /> - 添加 取消 确定 + - - - - - - - - - - - - 搜索 - - 重置 - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/video_manager/ai_warning/components/add.vue b/src/views/video_manager/ai_warning/components/add.vue new file mode 100644 index 0000000..43d9a91 --- /dev/null +++ b/src/views/video_manager/ai_warning/components/add.vue @@ -0,0 +1,155 @@ + + + + + diff --git a/src/views/video_manager/ai_warning/index.vue b/src/views/video_manager/ai_warning/index.vue new file mode 100644 index 0000000..2592f3a --- /dev/null +++ b/src/views/video_manager/ai_warning/index.vue @@ -0,0 +1,174 @@ + + + + +