Commit 40391a7f authored by cat's avatar cat

控制台

parent deb0e212
...@@ -221,7 +221,7 @@ import * as echarts from 'echarts' ...@@ -221,7 +221,7 @@ import * as echarts from 'echarts'
import judgeLeaveMessage from 'svg-sprite-loader/examples/custom-runtime-generator/build/main' import judgeLeaveMessage from 'svg-sprite-loader/examples/custom-runtime-generator/build/main'
// import { controlData } from './apis' // import { controlData } from './apis'
// import { judgeLeaveMessage } from '@/views/judgeMessageManage/apis' // import { judgeLeaveMessage } from '@/views/judgeMessageManage/apis'
import {findCountIdByUpdateDate, findCountIdByFqYy} from '@/api/controlPlatform' import { findCountIdByUpdateDate, findCountIdByFqYy } from '@/api/controlPlatform'
export default { export default {
name: 'Control', name: 'Control',
...@@ -323,7 +323,7 @@ export default { ...@@ -323,7 +323,7 @@ export default {
var height = element.offsetHeight var height = element.offsetHeight
self.tableHeight = height // 将监听到的宽高进行赋值 self.tableHeight = height // 将监听到的宽高进行赋值
self.tableWidth = width self.tableWidth = width
that.$nextTick(function () { that.$nextTick(function() {
console.log('Size: ' + width + 'x' + height) console.log('Size: ' + width + 'x' + height)
// 使echarts尺寸重置 // 使echarts尺寸重置
echarts.init(document.getElementById('dataCharts_data')).resize() echarts.init(document.getElementById('dataCharts_data')).resize()
...@@ -334,7 +334,7 @@ export default { ...@@ -334,7 +334,7 @@ export default {
var height = element.offsetHeight var height = element.offsetHeight
self.tableHeight = height // 将监听到的宽高进行赋值 self.tableHeight = height // 将监听到的宽高进行赋值
self.tableWidth = width self.tableWidth = width
that.$nextTick(function () { that.$nextTick(function() {
console.log('Size: ' + width + 'x' + height) console.log('Size: ' + width + 'x' + height)
// 使echarts尺寸重置 // 使echarts尺寸重置
echarts.init(document.getElementById('dataCharts_leaveMessage')).resize() echarts.init(document.getElementById('dataCharts_leaveMessage')).resize()
...@@ -345,7 +345,7 @@ export default { ...@@ -345,7 +345,7 @@ export default {
var height = element.offsetHeight var height = element.offsetHeight
self.tableHeight = height // 将监听到的宽高进行赋值 self.tableHeight = height // 将监听到的宽高进行赋值
self.tableWidth = width self.tableWidth = width
that.$nextTick(function () { that.$nextTick(function() {
console.log('Size: ' + width + 'x' + height) console.log('Size: ' + width + 'x' + height)
// 使echarts尺寸重置 // 使echarts尺寸重置
echarts.init(document.getElementById('dataCharts_visitor')).resize() echarts.init(document.getElementById('dataCharts_visitor')).resize()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment