| 
						
						
							
								
							
						
						
					 | 
					@ -198,6 +198,7 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      unit: '块', | 
					 | 
					 | 
					      unit: '块', | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    }, | 
					 | 
					 | 
					    }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  }) | 
					 | 
					 | 
					  }) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					  const [otherDescription, setOtherDescription] = useState('') // 其他养护内容 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  const [isBeforeReport, setIsBeforeReport] = useState(false) // V1.1.0上报内容修改,查看时根据时间判断展示逻辑) | 
					 | 
					 | 
					  const [isBeforeReport, setIsBeforeReport] = useState(false) // V1.1.0上报内容修改,查看时根据时间判断展示逻辑) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  const prjType = | 
					 | 
					 | 
					  const prjType = | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -312,6 +313,7 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					              if (data[key]) nextContent[key].value = data[key] | 
					 | 
					 | 
					              if (data[key]) nextContent[key].value = data[key] | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            }) | 
					 | 
					 | 
					            }) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            setConserveContent(nextContent) | 
					 | 
					 | 
					            setConserveContent(nextContent) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            setOtherDescription(data.otherDescription) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          } | 
					 | 
					 | 
					          } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          if (data.handleContent) { | 
					 | 
					 | 
					          if (data.handleContent) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            setHandleCenter(data.handleContent) | 
					 | 
					 | 
					            setHandleCenter(data.handleContent) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -425,7 +427,7 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      || (kind === 'patrol' && Object.values(patrolContent).every(c => c.value.trim() === '') && !patrolContent.巡查结果无异常.selected) | 
					 | 
					 | 
					      || (kind === 'patrol' && Object.values(patrolContent).every(c => c.value.trim() === '') && !patrolContent.巡查结果无异常.selected) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      || (kind === 'conserve' | 
					 | 
					 | 
					      || (kind === 'conserve' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        && (Object.values(conserveInfo).every(c => c.value.trim() === '') | 
					 | 
					 | 
					        && (Object.values(conserveInfo).every(c => c.value.trim() === '') | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					          || Object.values(conserveContent).every(c => c.value.trim() === ''))) | 
					 | 
					 | 
					          || (Object.values(conserveContent).every(c => c.value.trim() === '') && !otherDescription))) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    ) { | 
					 | 
					 | 
					    ) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      Taro.showToast({ title: '请完善必填信息', icon: 'none' }) | 
					 | 
					 | 
					      Taro.showToast({ title: '请完善必填信息', icon: 'none' }) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      return | 
					 | 
					 | 
					      return | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -482,6 +484,7 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Object.keys(conserveContent).forEach(key => { | 
					 | 
					 | 
					        Object.keys(conserveContent).forEach(key => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          data[key] = Number(conserveContent[key].value) | 
					 | 
					 | 
					          data[key] = Number(conserveContent[key].value) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        }) | 
					 | 
					 | 
					        }) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        data.otherDescription = otherDescription | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      } | 
					 | 
					 | 
					      } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -627,6 +630,9 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        nextContent[key].value = value | 
					 | 
					 | 
					        nextContent[key].value = value | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        setConserveContent(nextContent) | 
					 | 
					 | 
					        setConserveContent(nextContent) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        break; | 
					 | 
					 | 
					        break; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					      case "otherDescription": | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        setOtherDescription(value) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        break; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      case "contentCheck": | 
					 | 
					 | 
					      case "contentCheck": | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        let nextCheck = { ...patrolContent } | 
					 | 
					 | 
					        let nextCheck = { ...patrolContent } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Object.keys(patrolContent).forEach(key => { | 
					 | 
					 | 
					        Object.keys(patrolContent).forEach(key => { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -1164,6 +1170,17 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                  <Text>{conserveContent[key].unit}</Text> | 
					 | 
					 | 
					                  <Text>{conserveContent[key].unit}</Text> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                </View>) | 
					 | 
					 | 
					                </View>) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					              } | 
					 | 
					 | 
					              } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					              <View className='item'> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                <Text>其他:</Text> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                <Input | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                  style={{ width: '80%' }} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                  type='text' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                  placeholder={'其他养护内容'} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                  value={otherDescription} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                  onInput={e => handleInput(e, 'otherDescription')} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                  disabled={isView} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                /> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					              </View> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            </View> | 
					 | 
					 | 
					            </View> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          </View> | 
					 | 
					 | 
					          </View> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        </View> | 
					 | 
					 | 
					        </View> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |