diff --git a/monitorMobile/api/monitor/index.js b/monitorMobile/api/monitor/index.js new file mode 100644 index 0000000..d261895 --- /dev/null +++ b/monitorMobile/api/monitor/index.js @@ -0,0 +1,25 @@ +import http from '@/http/api.js' +// 获取监控分组 +export const groupList = (params) => { + return http.request({ + url: '/api/business/cameraGroup/getNoPageList', + method: 'get', + params + }) +} +// 获取监控列表 +export const list = (params) => { + return http.request({ + url: '/api/business/cameraInfo/getPageList', + method: 'get', + params + }) +} +// 停止视频流获取 +export const stopUrl = (params) => { + return http.request({ + url: '/api/business/deviceApi/getStopVideoLive', + method: 'get', + params + }) +} diff --git a/monitorMobile/api/warn/index.js b/monitorMobile/api/warn/index.js new file mode 100644 index 0000000..777cf6b --- /dev/null +++ b/monitorMobile/api/warn/index.js @@ -0,0 +1,25 @@ +import http from '@/http/api.js' +// 获取预警列表 +export const page = (params) => { + return http.request({ + url: '/api/business/warn/getList', + method: 'get', + params + }) +} +// 获取预警详情 +export const detail = (params) => { + return http.request({ + url: '/api/business/warn/getInfo', + method: 'get', + params + }) +} +// 获取预警类型 +export const warnType = (params) => { + return http.request({ + url: '/api/business/warn/getAlarmType', + method: 'get', + params + }) +} \ No newline at end of file diff --git a/monitorMobile/pages/earlyWarning/components/warningInfo.vue b/monitorMobile/pages/earlyWarning/components/warningInfo.vue index 8ff035c..e60f5df 100644 --- a/monitorMobile/pages/earlyWarning/components/warningInfo.vue +++ b/monitorMobile/pages/earlyWarning/components/warningInfo.vue @@ -174,10 +174,10 @@ - - +