diff --git a/src/api/home-video.js b/src/api/home-video.js new file mode 100644 index 0000000..1076646 --- /dev/null +++ b/src/api/home-video.js @@ -0,0 +1,11 @@ +import request from '@/utils/request' + +// 视频监测 ---- 设备列表接口 左2 +export function getVideoDeviceListAPI(data) { + return request({ + url: '/smart-site/videoDetection/getVideoDeviceList', + method: 'post', + data, + }) +} + diff --git a/src/views/home-video/components/left-two-model.vue b/src/views/home-video/components/left-two-model.vue index 04fe883..33aa76b 100644 --- a/src/views/home-video/components/left-two-model.vue +++ b/src/views/home-video/components/left-two-model.vue @@ -2,17 +2,27 @@
+
+
+ {{ item.name }} +
+
------ - {{ item.name }} + {{ item.devName }}
- -
+
@@ -20,28 +30,79 @@