|  |  | @ -2,8 +2,19 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |   <div> |  |  |  |   <div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-tabs type="border-card" style="margin: 15px" @tab-click="handleTabClick"> |  |  |  |     <el-tabs v-model="activeName" type="border-card" style="margin: 15px" @tab-click="handleTabClick"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       <el-tab-pane label="未上传单" > |  |  |  |       <el-tab-pane label="上传失败" name="second3" > | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <prescribePanel | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           ref="prescribePanel3" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           style="margin: -15px" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :tagStatus="3" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :RowType="type" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :workPlaceCode="workPlaceCode" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :buttonType="3" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :status="3" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         ></prescribePanel> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       </el-tab-pane> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <el-tab-pane label="未上传单" name="second1" > | 
			
		
	
		
		
			
				
					
					|  |  |  |         <prescribePanel |  |  |  |         <prescribePanel | 
			
		
	
		
		
			
				
					
					|  |  |  |           ref="prescribePanel1" |  |  |  |           ref="prescribePanel1" | 
			
		
	
		
		
			
				
					
					|  |  |  |           style="margin: -15px" |  |  |  |           style="margin: -15px" | 
			
		
	
	
		
		
			
				
					|  |  | @ -14,7 +25,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           :status="1" |  |  |  |           :status="1" | 
			
		
	
		
		
			
				
					
					|  |  |  |         ></prescribePanel> |  |  |  |         ></prescribePanel> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-tab-pane> |  |  |  |       </el-tab-pane> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-tab-pane label="已上传单" name="second"> |  |  |  |       <el-tab-pane label="已上传单" name="second2"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         <prescribePanel |  |  |  |         <prescribePanel | 
			
		
	
		
		
			
				
					
					|  |  |  |           ref="prescribePanel2" |  |  |  |           ref="prescribePanel2" | 
			
		
	
		
		
			
				
					
					|  |  |  |           style="margin: -15px" |  |  |  |           style="margin: -15px" | 
			
		
	
	
		
		
			
				
					|  |  | @ -47,16 +58,26 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     return { |  |  |  |     return { | 
			
		
	
		
		
			
				
					
					|  |  |  |       type: 1, |  |  |  |       type: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |       workPlaceCode: null, |  |  |  |       workPlaceCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       activeName: 'second3' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     handleTabClick(tab){ |  |  |  |     handleTabClick(tab) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       if (tab.name === 'second') { |  |  |  |       if (tab.name === 'second1') { | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if (this.$refs.prescribePanel1) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.$refs.prescribePanel1.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } else if (tab.name === 'second2') { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (this.$refs.prescribePanel2) { |  |  |  |         if (this.$refs.prescribePanel2) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$refs.prescribePanel2.getList(); |  |  |  |           this.$refs.prescribePanel2.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |       }else { |  |  |  | 
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.$refs.prescribePanel1.getList(); |  |  |  |       } else if (tab.name === 'second3') { | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if (this.$refs.prescribePanel3) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.$refs.prescribePanel3.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
	
		
		
			
				
					|  |  | 
 |