| 
					
				 | 
			
			
				@@ -49,14 +49,20 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       dashboardsFacilitiesUsageStats() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let self = this 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let text = window.location.href 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let urlList = text.split('?')[1].split('&') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let codeData = {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        urlList.forEach((item) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          codeData[item.split('=')[0]] = item.split('=')[1] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$set(this.config,'data',[]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        dashboardsFacilitiesUsageStats().then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        dashboardsFacilitiesUsageStats({floorid:codeData.floorId}).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           let list = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           for (let i = 0; i < res.data.monthlyUsage.length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let obj = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               name: res.data.monthlyUsage[i].equTypeName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              num: res.data.monthlyUsage[i].equRentingCount, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              value: res.data.monthlyUsage[i].equRentingCount == 0 ? res.data.monthlyUsage[i].equRentingCount + '%' : self.calculatePercentage(res.data.monthlyUsage[i].equRentingCount, res.data.monthlyUsage[i].equCount, { decimal: 0 }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              num: res.data.monthlyUsage[i].rentedCount, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              value: this.accMul(res.data.monthlyUsage[i].rentingMonthFromYearRate,100).toFixed(0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             list.push(obj) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 |