|
@@ -17,7 +17,7 @@
|
|
|
</div>
|
|
|
<div class="text">
|
|
|
<p>报建数量</p>
|
|
|
- <span>{{sdata.sj_number}}</span>个
|
|
|
+ <span>{{left_value=='csbj'?sdata.sj_number:0}}</span>个
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="item">
|
|
@@ -57,6 +57,9 @@ export default {
|
|
|
watch: {},
|
|
|
//方法集合
|
|
|
methods: {
|
|
|
+ changeChartsLeft(){
|
|
|
+ this.init_bjxm_echart_info();
|
|
|
+ },
|
|
|
async init_info(params) {
|
|
|
const that = this;
|
|
|
let obj = {
|
|
@@ -155,7 +158,7 @@ export default {
|
|
|
// 数据
|
|
|
const xAxis = store.state.cockpit_bjxm.csbj.csbj_echart.xAxis
|
|
|
const bat_data = store.state.cockpit_bjxm.csbj.csbj_echart.bat_data
|
|
|
- const line_data = store.state.cockpit_bjxm.csbj.csbj_echart.line_data
|
|
|
+ const line_data =this.left_value =='csbj'? store.state.cockpit_bjxm.csbj.csbj_echart.line_data:[0,0,0,0,0,0]
|
|
|
|
|
|
let option = {
|
|
|
//你的代码
|