diff --git a/.env.development b/.env.development index 38acc90..efacd23 100644 --- a/.env.development +++ b/.env.development @@ -5,5 +5,5 @@ ENV = 'development' VUE_APP_BASE_API = '/api' ## 配置测试和本地开发时的 接口地址 -VUE_APP_URL = "http://huirong.ybkjyl.com/api" -# VUE_APP_URL = "http://127.0.0.1:7103" +# VUE_APP_URL = "http://huirong.ybkjyl.com/api" +VUE_APP_URL = "http://127.0.0.1:7103" diff --git a/src/api/device/device.js b/src/api/device/device.js index dae2c82..a527ca9 100644 --- a/src/api/device/device.js +++ b/src/api/device/device.js @@ -38,8 +38,8 @@ export function getInfoById(data) { } // 获取摄像头列表 -export function getSxtList() { - return request({ url: '/device/getSxtList', method: 'GET' }) +export function getOtherList(data) { + return request({ url: '/device/getOtherList', method: 'GET',params:data }) } /******************************************************************************************************************************************** */ diff --git a/src/api/deviceImage/deviceImage.js b/src/api/deviceImage/deviceImage.js index 42cd9f4..46d6c7a 100644 --- a/src/api/deviceImage/deviceImage.js +++ b/src/api/deviceImage/deviceImage.js @@ -14,9 +14,27 @@ export function getDeviceImageById(data) { } -// 获取视频 -export function getShiPinByChannelNo(data) { - return request({ url: '/deviceImage/getShiPinByChannelNo', method: 'GET', params: data }) +// 获取正常视频链接 +export function getVedioPcLiveById(data) { + return request({ url: '/deviceImage/getVedioPcLiveById', method: 'GET', params: data }) } +// 获取回放视频链接 +export function getVedioPcRecById(data) { + return request({ url: '/deviceImage/getVedioPcRecById', method: 'GET', params: data }) +} + +// 质物检测获取正常视频链接 +export function getShiPinNormalByChannelNo(data) { + return request({ url: '/deviceImage/getShiPinNormalByChannelNo', method: 'GET', params: data }) +} + +// 手动调整定时 +export function updateCron(data) { + return request({ url: '/updateCron', method: 'GET', params: data }) +} + + + + diff --git a/src/views/monitor/videos/index.vue b/src/views/monitor/videos/index.vue index 55a46d4..d777c43 100644 --- a/src/views/monitor/videos/index.vue +++ b/src/views/monitor/videos/index.vue @@ -69,8 +69,8 @@
实时视频
-回放视频
+实时视频
+回放视频
设备名称:{{ item.name }}
@@ -223,6 +223,13 @@ + +