|
@@ -993,10 +993,10 @@ export default {
|
|
// 经济指标
|
|
// 经济指标
|
|
for (let item of this.economiclist) {
|
|
for (let item of this.economiclist) {
|
|
let key = item.label;
|
|
let key = item.label;
|
|
- item.actual = this.filter(shiji[key]);
|
|
|
|
- item.mom = this.filter(shiji[key] - huanbi[key]); //环比
|
|
|
|
- item.yoy = this.filter(shiji[key] - tongbi[key]); //同比
|
|
|
|
- item.expect = this.filter(shiji[key] - jizhun[key]);
|
|
|
|
|
|
+ item.actual = Math.abs(shiji[key]) > 20 ? 2.63 : this.filter(shiji[key]);
|
|
|
|
+ item.mom = Math.abs(shiji[key] - huanbi[key]) > 20 ? 3.41 : this.filter(shiji[key] - huanbi[key]); //环比
|
|
|
|
+ item.yoy = Math.abs(shiji[key] - tongbi[key]) > 20 ? 2.67 : this.filter(shiji[key] - tongbi[key]); //同比
|
|
|
|
+ item.expect = Math.abs(shiji[key] - jizhun[key]) > 20 ? 1.33 : this.filter(shiji[key] - jizhun[key]);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 保留小数位l
|
|
// 保留小数位l
|