湖里大屏(劳务管理):人员类型添加监听
This commit is contained in:
parent
a64b64b06a
commit
0b0b511106
@ -56,6 +56,7 @@ export default {
|
|||||||
educationPersonNum: 0,
|
educationPersonNum: 0,
|
||||||
workercount: {
|
workercount: {
|
||||||
lwPersonYesterdayAdd: 0,
|
lwPersonYesterdayAdd: 0,
|
||||||
|
lwAndGlPersonTotal:0,
|
||||||
eduPersonTotal: 0,
|
eduPersonTotal: 0,
|
||||||
jfGlPersonTotal: 0,
|
jfGlPersonTotal: 0,
|
||||||
age18: 0,
|
age18: 0,
|
||||||
|
|||||||
@ -24,6 +24,16 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.initMyChart();
|
this.initMyChart();
|
||||||
},
|
},
|
||||||
|
watch:{
|
||||||
|
statisticsCount:{
|
||||||
|
handler(newVal,oldVal){
|
||||||
|
if(newVal!=oldVal){
|
||||||
|
this.initMyChart();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
deep:true,
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initMyChart() {
|
initMyChart() {
|
||||||
const myChart = echarts.init(this.$refs.myChart);
|
const myChart = echarts.init(this.$refs.myChart);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user