diff --git a/src/utils/api/index.js b/src/utils/api/index.js index 7163fa2..d3b3206 100644 --- a/src/utils/api/index.js +++ b/src/utils/api/index.js @@ -36,6 +36,24 @@ export function getChannelByTermidJoggle(data) { }); } +//获取装置信息 +export function getDeviceList(data) { + return request({ + url: "/api/getTerminalStatus", + method: "post", + data, + headers:{ 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8' } + }); +} +//获取最新装置信息 +export function getNewDeviceList(data) { + return request({ + url: "/api/getLastedTerminalStatus", + method: "post", + data, + }); +} + //图片轮巡 //获取图片轮巡接口 export function getPictureList(data) { diff --git a/src/views/realTimeMonitor/components/infoDialog.vue b/src/views/realTimeMonitor/components/infoDialog.vue index 989766e..ae75de3 100644 --- a/src/views/realTimeMonitor/components/infoDialog.vue +++ b/src/views/realTimeMonitor/components/infoDialog.vue @@ -5,37 +5,36 @@ :visible.sync="isShow" :close-on-click-modal="false" width="50%" + @close="handleclose" >