|
@@ -106,7 +106,7 @@
|
|
|
|
|
|
<div style="width: 50%;margin-bottom: 10px">
|
|
|
<div class="c1_title_half">
|
|
|
- <div style="position: absolute;left: 20px;top: -5px;">2025年度公务车车辆数</div>
|
|
|
+ <div style="position: absolute;left: 20px;top: -5px;">{{year}}年度公务车车辆数</div>
|
|
|
</div>
|
|
|
<div style="display: flex;align-items: center;margin-bottom: 20px">
|
|
|
<div style="position: relative;cursor: pointer" @click="chooseX">
|
|
@@ -159,6 +159,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ year: null,
|
|
|
//在线数
|
|
|
pieData: [],
|
|
|
catePieData: [
|
|
@@ -442,6 +443,7 @@ export default {
|
|
|
created() {
|
|
|
this.handlePie();
|
|
|
this.handleBar();
|
|
|
+ this.year = new Date().getFullYear();
|
|
|
},
|
|
|
destroyed() {},
|
|
|
beforeDestroy() {},
|