| 
					
				 | 
			
			
				@@ -3,7 +3,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @Author: wangcc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @Date: 2023-01-09 11:20:54 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @LastEditors: wangcc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- * @LastEditTime: 2023-01-29 13:52:53 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * @LastEditTime: 2023-02-17 16:08:45 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @FilePath: \parking_LargeScreen\src\components\Receivables\Receivables.vue 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @Copyright: Copyright (c) 2016~2023 by wangcc, All Rights Reserved.  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 --> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -16,7 +16,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div class="total-num-box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <span class="total-title">{{countName}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <span class="total-num"><Count-to :startVal='startVal' :endVal='totalData.roadTotal' :duration='4000'></Count-to></span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <span class="total-num"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <Count-to :startVal="startVal" :endVal="totalData.roadTotal" :duration="4000"></Count-to> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="item-list"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -25,7 +27,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div class="total-num-box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <span class="total-title">车位数(个)</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <span class="total-num"><Count-to :startVal='startVal' :endVal='totalData.spaceTotal' :duration='4000'></Count-to></span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <span class="total-num"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <Count-to :startVal="startVal" :endVal="totalData.spaceTotal" :duration="4000"></Count-to> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="item-list"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -34,7 +38,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div class="total-num-box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <span class="total-title">累计实收(元)</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <span class="total-num"><Count-to :startVal='startVal' :endVal='totalData.realAmount' :duration='4000'></Count-to></span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <span class="total-num"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <Count-to :startVal="startVal" :endVal="totalData.realAmount" :duration="4000"></Count-to> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="item-list"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -43,7 +49,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div class="total-num-box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <span class="total-title">累计停车次数(次)</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <span class="total-num"><Count-to :startVal='startVal' :endVal='totalData.countVehicle' :duration='4000'></Count-to></span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <span class="total-num"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <Count-to :startVal="startVal" :endVal="totalData.countVehicle" :duration="4000"></Count-to> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -74,19 +82,24 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       amountData: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         countVehicle: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        realAmount:'' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        realAmount: '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       startVal: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       totalData: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       countName: '路段数量(个)', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       searchFrom: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        isRoad: '1' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        isRoad: this.$store.state.addr.isRoad 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   created() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.getTotalData(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    this.getAmtVehicle() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.getAmtVehicle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (this.$store.state.addr.isRoad == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.countName = '停车场数量(个)'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.countName = '路段数量(个)'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   watch: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     '$store.state.addr.isRoad': { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -98,13 +111,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.searchFrom.isRoad = val; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.getTotalData(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.getAmtVehicle() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.getAmtVehicle(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-   mounted() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  mounted() {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     async getTotalData() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let { code, data } = await totalData(this.searchFrom); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -115,8 +126,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     async getAmtVehicle() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let { code, data } = await amtVehicle(this.searchFrom); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        data.countVehicle = data.countVehicle.toString() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        data.realAmount = data.realAmount.toString() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        data.countVehicle = data.countVehicle.toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        data.realAmount = data.realAmount.toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.amountData = data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -173,7 +184,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       margin-bottom: 28px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   .toDay-total { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     background: RGBA(24, 33, 52, 0.3); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     backdrop-filter: blur(10px); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -201,5 +212,4 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </style> 
			 |