Commit 631bcea6 authored by liudong1993's avatar liudong1993
parents 33b94f59 668fef7f
...@@ -109,7 +109,8 @@ ...@@ -109,7 +109,8 @@
</li> </li>
</ul> </ul>
</div> </div>
<div v-loading="loading" style="height: 78%;overflow: auto;display: flex;flex-direction: row;flex-wrap: wrap;"> <!-- height: 78%;overflow: auto; -->
<div v-loading="loading" style="display: flex;flex-direction: row;flex-wrap: wrap;">
<IncomeChange :msgData="msg" :StatisticalData="StatisticalData"></IncomeChange> <IncomeChange :msgData="msg" :StatisticalData="StatisticalData"></IncomeChange>
<IncomeShare :msgData="msg" :StatisticalData="StatisticalData"></IncomeShare> <IncomeShare :msgData="msg" :StatisticalData="StatisticalData"></IncomeShare>
<WoolRateChange :msgData="msg" :StatisticalData="StatisticalData"></WoolRateChange> <WoolRateChange :msgData="msg" :StatisticalData="StatisticalData"></WoolRateChange>
......
...@@ -27,6 +27,12 @@ export default { ...@@ -27,6 +27,12 @@ export default {
'rgba(228,57,57,.7)','rgba(247,154,44,.7)','rgba(255,246,11,.7)','rgba(61,217,72,.7)','rgba(57,202,228,.7)','rgba(44,49,241,.7)','rgba(122,57,228,.7)'], 'rgba(228,57,57,.7)','rgba(247,154,44,.7)','rgba(255,246,11,.7)','rgba(61,217,72,.7)','rgba(57,202,228,.7)','rgba(44,49,241,.7)','rgba(122,57,228,.7)'],
} }
}, },
created() {
window.addEventListener('resize', this.handleResize);
},
destroyed() {
window.removeEventListener('resize', this.handleResize);
},
watch: { watch: {
StatisticalData:{ StatisticalData:{
handler(n,o){ handler(n,o){
...@@ -44,6 +50,10 @@ export default { ...@@ -44,6 +50,10 @@ export default {
}, },
methods: { methods: {
handleResize() {
location.reload()
},
getEchart(){ getEchart(){
let datas = [] let datas = []
let titles = [] let titles = []
...@@ -149,7 +159,7 @@ export default { ...@@ -149,7 +159,7 @@ export default {
series:datas series:datas
} }
myChart.setOption(option,true) // echarts设置初始化选项 myChart.setOption(option,true)
}, },
} }
......
...@@ -49,6 +49,12 @@ export default { ...@@ -49,6 +49,12 @@ export default {
], ],
} }
}, },
created() {
window.addEventListener('resize', this.handleResize);
},
destroyed() {
window.removeEventListener('resize', this.handleResize);
},
watch: { watch: {
StatisticalData:{ StatisticalData:{
handler(n,o){ handler(n,o){
...@@ -70,6 +76,10 @@ export default { ...@@ -70,6 +76,10 @@ export default {
}, },
methods: { methods: {
handleResize() {
location.reload()
},
getEchart(){ getEchart(){
this.inCostDatas() this.inCostDatas()
let that = this let that = this
......
...@@ -27,6 +27,12 @@ export default { ...@@ -27,6 +27,12 @@ export default {
'rgba(228,57,57,.7)','rgba(247,154,44,.7)','rgba(255,246,11,.7)','rgba(61,217,72,.7)','rgba(57,202,228,.7)','rgba(44,49,241,.7)','rgba(122,57,228,.7)'], 'rgba(228,57,57,.7)','rgba(247,154,44,.7)','rgba(255,246,11,.7)','rgba(61,217,72,.7)','rgba(57,202,228,.7)','rgba(44,49,241,.7)','rgba(122,57,228,.7)'],
} }
}, },
created() {
window.addEventListener('resize', this.handleResize);
},
destroyed() {
window.removeEventListener('resize', this.handleResize);
},
watch: { watch: {
StatisticalData:{ StatisticalData:{
handler(n,o){ handler(n,o){
...@@ -44,6 +50,10 @@ export default { ...@@ -44,6 +50,10 @@ export default {
}, },
methods: { methods: {
handleResize() {
location.reload()
},
getEchart(){ getEchart(){
let datas = [] let datas = []
let titles = [] let titles = []
...@@ -149,7 +159,7 @@ export default { ...@@ -149,7 +159,7 @@ export default {
series:datas series:datas
} }
myChart.setOption(option,true) // echarts设置初始化选项 myChart.setOption(option,true)
}, },
} }
......
...@@ -36,6 +36,12 @@ export default { ...@@ -36,6 +36,12 @@ export default {
CurrentMonth: null CurrentMonth: null
} }
}, },
created() {
window.addEventListener('resize', this.handleResize);
},
destroyed() {
window.removeEventListener('resize', this.handleResize);
},
watch: { watch: {
StatisticalData:{ StatisticalData:{
handler(n,o){ handler(n,o){
...@@ -53,6 +59,10 @@ export default { ...@@ -53,6 +59,10 @@ export default {
}, },
methods: { methods: {
handleResize() {
location.reload()
},
getEchart(){ getEchart(){
let datas = [{ let datas = [{
name: this.CurrentMonth, name: this.CurrentMonth,
...@@ -120,7 +130,7 @@ export default { ...@@ -120,7 +130,7 @@ export default {
series: datas series: datas
} }
myChart.setOption(option,true) // echarts设置初始化选项 myChart.setOption(option,true)
}, },
} }
......
...@@ -27,6 +27,12 @@ export default { ...@@ -27,6 +27,12 @@ export default {
'rgba(228,57,57,.7)','rgba(247,154,44,.7)','rgba(255,246,11,.7)','rgba(61,217,72,.7)','rgba(57,202,228,.7)','rgba(44,49,241,.7)','rgba(122,57,228,.7)'], 'rgba(228,57,57,.7)','rgba(247,154,44,.7)','rgba(255,246,11,.7)','rgba(61,217,72,.7)','rgba(57,202,228,.7)','rgba(44,49,241,.7)','rgba(122,57,228,.7)'],
} }
}, },
created() {
window.addEventListener('resize', this.handleResize);
},
destroyed() {
window.removeEventListener('resize', this.handleResize);
},
watch: { watch: {
StatisticalData:{ StatisticalData:{
handler(n,o){ handler(n,o){
...@@ -44,6 +50,10 @@ export default { ...@@ -44,6 +50,10 @@ export default {
}, },
methods: { methods: {
handleResize() {
location.reload()
},
getEchart(){ getEchart(){
let datas = [] let datas = []
let titles = [] let titles = []
...@@ -149,7 +159,7 @@ export default { ...@@ -149,7 +159,7 @@ export default {
series:datas series:datas
} }
myChart.setOption(option,true) // echarts设置初始化选项 myChart.setOption(option,true)
}, },
} }
......
...@@ -241,7 +241,7 @@ export default { ...@@ -241,7 +241,7 @@ export default {
series:datas series:datas
} }
myChart.setOption(option,true) // echarts设置初始化选项 myChart.setOption(option,true)
}, },
getJapanPacketOutChart(){ getJapanPacketOutChart(){
let datas = [] let datas = []
...@@ -343,7 +343,7 @@ export default { ...@@ -343,7 +343,7 @@ export default {
series:datas series:datas
} }
myChart.setOption(option,true) // echarts设置初始化选项 myChart.setOption(option,true)
}, },
getJapanRoutineOutChart(){ getJapanRoutineOutChart(){
...@@ -446,7 +446,7 @@ export default { ...@@ -446,7 +446,7 @@ export default {
series:datas series:datas
} }
myChart.setOption(option,true) // echarts设置初始化选项 myChart.setOption(option,true)
}, },
getJapanpRofitOutChart(){ getJapanpRofitOutChart(){
let that = this let that = this
......
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