| 
					
				 | 
			
			
				@@ -1,8 +1,17 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div class="dashboard_container"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <div class="refresh" @click="refreshData"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <span style="color: #1d82ff">刷新数据</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <i class="el-icon-refresh-left" style="color: #1d82ff"></i> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <div class="refresh"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-date-picker 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        style="width: 130px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        v-model="value1" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        format="yyyy" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        size="mini" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        type="year" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        placeholder="选择日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </el-date-picker> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <span style="color: #1d82ff; margin-left: 20px" @click="refreshData">刷新数据</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <i class="el-icon-refresh-left" style="color: #1d82ff" @click="refreshData"></i> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="container_top"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="tab" v-for="(item, index) in tabs" :key="index" @click="openOrder(item.type, item.title)"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -55,7 +64,13 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       qtsm: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       qtddqs: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      wglxfb: {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      wglxfb: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      value1: new Date() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  watch: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    value1(newVal) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.getCount() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   computed: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -135,7 +150,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getCount() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      getCount().then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      getCount({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        startTime: `${new Date(this.value1).getFullYear()}-01-01 00:00:00`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        endTime: `${new Date(this.value1).getFullYear()}-12-31 23:59:59` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.tabs[0].num = res.data.dpg || 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.tabs[1].num = res.data.dyy || 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.tabs[2].num = res.data.dqd || 0 
			 |