|
|
@@ -2,7 +2,7 @@
|
|
|
<view class="">
|
|
|
<HeadData :money-data="moneyData"></HeadData>
|
|
|
<stat_finance_chart :money-data="moneyData"></stat_finance_chart>
|
|
|
- <stat-finance :date-type-obj="dateTypeObj"></stat-finance>
|
|
|
+ <stat-finance ref="financeObj" :date-type-obj="dateTypeObj"></stat-finance>
|
|
|
<view class="sys-background-fff r-30">
|
|
|
<StatCapital :leftColor="0" :rightColor="1" :leftText="'任务资金汇总'" :tabulate-data="sysPassageData">
|
|
|
</StatCapital>
|
|
|
@@ -12,7 +12,7 @@
|
|
|
</StatCapital>
|
|
|
</view>
|
|
|
<stat-industry></stat-industry>
|
|
|
- <stat-age-chart></stat-age-chart>
|
|
|
+ <stat-age-chart ref="ageRef"></stat-age-chart>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -134,6 +134,7 @@
|
|
|
this.getCapitalMoney()
|
|
|
this.getSysIndustry()
|
|
|
this.getSysAge()
|
|
|
+ this.$refs.financeObj.startList()
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -203,6 +204,7 @@
|
|
|
getSysAge(this.dateTypeObj).then((res) => {
|
|
|
if (res.code === 1) {
|
|
|
this.ageList = res.data
|
|
|
+ this.$refs.ageRef.setData( res.data)
|
|
|
// this.$refs.chartsAdminThree.show = true
|
|
|
// this.$refs.chartsAdminThree.chartData4 = JSON.parse(JSON.stringify(ret));
|
|
|
} else {
|