| 
					
					
						
							
						
					
					
				 | 
				@ -151,7 +151,7 @@ class WorkorderController extends AdminController | 
			
		
		
	
		
			
				 | 
				 | 
							return $this->error('上传图片格式错误'); | 
				 | 
				 | 
							return $this->error('上传图片格式错误'); | 
			
		
		
	
		
			
				 | 
				 | 
						} | 
				 | 
				 | 
						} | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
						$path = $request->image->store('images/workorder'); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						$path = $request->image->store('public/images/workorder'); | 
			
		
		
	
		
			
				 | 
				 | 
						return $this->jsonSuccess(['path' => config('filesystems.disks.public.url') . '/' . $path]); | 
				 | 
				 | 
						return $this->jsonSuccess(['path' => config('filesystems.disks.public.url') . '/' . $path]); | 
			
		
		
	
		
			
				 | 
				 | 
					} | 
				 | 
				 | 
					} | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -190,6 +190,7 @@ class WorkorderController extends AdminController | 
			
		
		
	
		
			
				 | 
				 | 
							return $this->jsonFailValidated('数据不全:'.$validator->errors()->first()); | 
				 | 
				 | 
							return $this->jsonFailValidated('数据不全:'.$validator->errors()->first()); | 
			
		
		
	
		
			
				 | 
				 | 
						} | 
				 | 
				 | 
						} | 
			
		
		
	
		
			
				 | 
				 | 
						$data = WorkorderItem::query() | 
				 | 
				 | 
						$data = WorkorderItem::query() | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
							->with('publisher') | 
			
		
		
	
		
			
				 | 
				 | 
							->where('workorder_id',request('workorder_id',0)) | 
				 | 
				 | 
							->where('workorder_id',request('workorder_id',0)) | 
			
		
		
	
		
			
				 | 
				 | 
							->orderBy('created_at') | 
				 | 
				 | 
							->orderBy('created_at') | 
			
		
		
	
		
			
				 | 
				 | 
							->get(); | 
				 | 
				 | 
							->get(); | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |