diff --git a/src/api/largeScreen.js b/src/api/largeScreen.js index 4747a04..b83c3f7 100644 --- a/src/api/largeScreen.js +++ b/src/api/largeScreen.js @@ -35,3 +35,10 @@ export const getBadGasEchartsInfo = (tunnelId) => { method: 'get' }) } +//电流监控数据 +export const getFanEchartsInfo = (equipmentId) => { + return request({ + url: `/tunnel/large/screen/echarts/current/${equipmentId}`, + method: 'get' + }) +} diff --git a/src/api/tunnelManage.js b/src/api/tunnelManage.js index 19a6c05..35160d3 100644 --- a/src/api/tunnelManage.js +++ b/src/api/tunnelManage.js @@ -10,10 +10,7 @@ export const getTunnelList = (params) => { export const getTunnelDetail = (tunnelId) => { return request({ url: `/tunnel/tunnel/${tunnelId}`, - method: 'get', - params:{ - tunnelId:tunnelId - } + method: 'get' }) } export const addTunnel = (data) => { diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index a1f808e..f98121e 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -298,6 +298,11 @@ body, height: 1160px; //width: 1300px; } + #containerFan { + flex: 1; + height: 1160px; + //width: 1300px; + } #containerBad { flex: 1; diff --git a/src/components/content/fanInfo/FanInfo.vue b/src/components/content/fanInfo/FanInfo.vue index 5341993..dd2f660 100644 --- a/src/components/content/fanInfo/FanInfo.vue +++ b/src/components/content/fanInfo/FanInfo.vue @@ -64,17 +64,38 @@ -