diff --git a/src/api/largeScreen.js b/src/api/largeScreen.js index 3da056b..9b89675 100644 --- a/src/api/largeScreen.js +++ b/src/api/largeScreen.js @@ -57,6 +57,18 @@ export const getFanEchartsInfo = (id,time,type) => { } }) } +//用电量echarts +export const getEleEchartsInfo = (id,time,type) => { + return request({ + url: '/tunnel/large/screen/echarts/electricity/consumption', + method: 'get', + params: { + id: id, + time: time, + type: type + } + }) +} //风机频率修改 export const editFrequency = (data) => { return request({ diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 96c0ac8..d6ad6dd 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -336,7 +336,7 @@ body, #containerEle { flex: 1; - height: 1060px; + height: 1010px; //width: 2180px; } @@ -462,8 +462,11 @@ body, //用电量 .top-tag { + position: absolute; + top: 46px; + left: 516px; display: flex; - justify-content: center; + //justify-content: center; .allUsedEle { width: 300px; diff --git a/src/components/chooseMonth/index.vue b/src/components/chooseMonth/index.vue index eb78122..011bf61 100644 --- a/src/components/chooseMonth/index.vue +++ b/src/components/chooseMonth/index.vue @@ -14,13 +14,7 @@