| 
					
				 | 
			
			
				@@ -4,7 +4,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-form-item  prop="carNumber">开班时间:{{opo.classStartDate}} 班结人:{{opo.classStructureMan}} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-button icon="el-icon-plus" v-if="isclose" size="mini" @click="handleAdd">添加班结</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-button icon="el-icon-plus" v-if="isclose" size="mini" v-hasPermi="['station:structure:add']" @click="handleAdd">添加班结</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -96,6 +96,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //这是班结报表查看详情时传过来的数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if(classesNo!=null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      this.resetQuery(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     this.queryParams.classStructureMan=this.$route.query.name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      this.queryParams.classStructureNo=this.$route.query.classesNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      this.queryParams.stationId=this.$route.query.stationId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      this.getClassInfo(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -108,13 +109,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           //查询第一比订单的创建时间 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           getPayOrderInfoMin().then(response1 => {{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            console.log("response1",response1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.opo.classStartDate = response1.data.createdDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log("$store",this.$store); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log("state",this.$store.state); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log("user",this.$store.state.user); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.opo.classStructureMan =this.$store.state.user.name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.initPersonnelStructure(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -129,6 +126,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.resetQuery(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.queryParams.classStructureNo=this.$route.query.classesNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.queryParams.stationId=this.$route.query.stationId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.queryParams.stationName=this.$route.query.name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.getClassInfo(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.isclose=false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -409,7 +407,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.title = "添加班结管理"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getClassInfo(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.queryParams.classStructureMan=this.$store.state.user.name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       listClass(this.queryParams).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.opo = response.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.queryParams.classStructureNo=response.data.classStructureNo; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -429,6 +426,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       addStructure(this.form).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.msgSuccess("班结成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.open = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.queryParams.stationName=this.$store.state.user.stationName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.queryParams.stationId=this.$store.state.user.stationId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.queryParams.classStructureMan=this.$store.state.user.name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.getClassInfo(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.isclose=false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 |