| 
					
				 | 
			
			
				@@ -1,12 +1,23 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <!-- value-format="yyyy-MM-dd" --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <el-date-picker v-model="dateValue" class="timePicker" type="daterange" :picker-options="pickerOptions" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    value-format="yyyyMMdd" range-separator="~" start-placeholder="开始日期" end-placeholder="结束日期" :clearable="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    align="left" @change="dateChange"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <el-date-picker 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    v-model="dateValue" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    class="timePicker" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    type="daterange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    :picker-options="pickerOptions" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    value-format="yyyy-MM-dd" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    range-separator="~" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    start-placeholder="开始日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    end-placeholder="结束日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    :clearable="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    align="left" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @change="dateChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </el-date-picker> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import moment from "moment"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const nowYear = new Date().getFullYear(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const nowMonth = new Date().getMonth() + 1 + ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const nowDay = new Date().getDate() + ""; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -52,11 +63,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // dateValue: [`${nowYear}-01-01`, `${nowYear}-${nowMonth}-${nowDay}`] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      dateValue: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        `${nowYear}0101`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        `${nowYear}${setdata(nowMonth)}${setdata(nowDay)}`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      dateValue: [`${nowYear}-01-01`, moment(new Date()).format("YYYY-MM-DD")], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // dateValue: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   `${nowYear}0101`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   `${nowYear}${setdata(nowMonth)}${setdata(nowDay)}`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   mounted() { 
			 |