Explorar el Código

公务用车 界面修改

zhanghao hace 4 meses
padre
commit
104161d951

+ 1 - 1
src/views/pad/official/carCost.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="the_dialog">
     <div class="the_title">
-      <div class="the_title_text">2025年度增加车辆数</div>
+      <div class="the_title_text">年度增加车辆数</div>
     </div>
     <div class="close-btn" @click="close"></div>
     <div class="content-area">

+ 1 - 1
src/views/pad/official/carHealth.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="the_dialog">
     <div class="the_title">
-      <div class="the_title_text">2025年度减少车辆数</div>
+      <div class="the_title_text">年度减少车辆数</div>
     </div>
     <div class="close-btn" @click="close"></div>
     <div class="content-area">

+ 3 - 1
src/views/pad/official/terminalDataDialog.vue

@@ -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() {},

+ 1 - 1
src/views/screen/official/carCost.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="the_dialog">
     <div class="the_title">
-      <div class="the_title_text">2025年度增加车辆数</div>
+      <div class="the_title_text">年度增加车辆数</div>
     </div>
     <div class="close-btn" @click="close"></div>
     <div class="content-area">

+ 1 - 1
src/views/screen/official/carHealth.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="the_dialog">
     <div class="the_title">
-      <div class="the_title_text">2025年度减少车辆数</div>
+      <div class="the_title_text">年度减少车辆数</div>
     </div>
     <div class="close-btn" @click="close"></div>
     <div class="content-area">

+ 3 - 1
src/views/screen/official/terminalDataDialog.vue

@@ -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">
@@ -160,6 +160,7 @@ export default {
   },
   data() {
     return {
+      year: null,
       //在线数
       pieData: [],
       catePieData: [
@@ -443,6 +444,7 @@ export default {
   created() {
     this.handlePie();
     this.handleBar();
+    this.year = new Date().getFullYear();
   },
   destroyed() {},
   beforeDestroy() {},