|
@@ -83,8 +83,8 @@ export default {
|
|
this.$emit("updateParent", "loading", true);
|
|
this.$emit("updateParent", "loading", true);
|
|
this.params = {
|
|
this.params = {
|
|
districtCode: this.region,
|
|
districtCode: this.region,
|
|
- startTime: store.state.cockpit_date[0],
|
|
+ // startTime: store.state.cockpit_date[0],
|
|
- endTime: store.state.cockpit_date[1],
|
|
+ // endTime: store.state.cockpit_date[1],
|
|
};
|
|
};
|
|
this.GetOverview();
|
|
this.GetOverview();
|
|
if (this.region == "4602") this.GetDistrict();
|
|
if (this.region == "4602") this.GetDistrict();
|
|
@@ -106,8 +106,8 @@ export default {
|
|
district(this.params).then((res) => {
|
|
district(this.params).then((res) => {
|
|
res.data.forEach((jdData) => {
|
|
res.data.forEach((jdData) => {
|
|
this.jdData.x_data.push(jdData.districtName);
|
|
this.jdData.x_data.push(jdData.districtName);
|
|
- this.jdData.result[0].push(jdData.confirmAre);
|
|
+ this.jdData.result[0].push(jdData.confirmAre.toFixed(2));
|
|
- this.jdData.result[1].push(jdData.disposalArea);
|
|
+ this.jdData.result[1].push(jdData.disposalArea.toFixed(2));
|
|
this.jdData.result[2].push((jdData.idleRate * 100).toFixed(2));
|
|
this.jdData.result[2].push((jdData.idleRate * 100).toFixed(2));
|
|
this.jdData.result[3].push((jdData.disposalRate * 100).toFixed(2));
|
|
this.jdData.result[3].push((jdData.disposalRate * 100).toFixed(2));
|
|
});
|
|
});
|