| 
						
						
							
								
							
						
						
					 | 
					@ -241,7 +241,7 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    ]) | 
					 | 
					 | 
					    ]) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  }, [reportType]) | 
					 | 
					 | 
					  }, [reportType]) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  function report() { | 
					 | 
					 | 
					  function report () { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    if (!canReport) { return } | 
					 | 
					 | 
					    if (!canReport) { return } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    if ( | 
					 | 
					 | 
					    if ( | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      (isPatrol && (!projectType || !road)) | 
					 | 
					 | 
					      (isPatrol && (!projectType || !road)) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -317,7 +317,7 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    }) | 
					 | 
					 | 
					    }) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  } | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  function deleteReport() { | 
					 | 
					 | 
					  function deleteReport () { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    Taro.showModal({ | 
					 | 
					 | 
					    Taro.showModal({ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      title: '提示', | 
					 | 
					 | 
					      title: '提示', | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      content: '确定删除吗?', | 
					 | 
					 | 
					      content: '确定删除吗?', | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -344,7 +344,7 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    }) | 
					 | 
					 | 
					    }) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  } | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  function handleInput({ detail: { value } }, type) { | 
					 | 
					 | 
					  function handleInput ({ detail: { value } }, type) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    switch (type) { | 
					 | 
					 | 
					    switch (type) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      case 'roadSectionStart': | 
					 | 
					 | 
					      case 'roadSectionStart': | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        setRoadSectionStart(value) | 
					 | 
					 | 
					        setRoadSectionStart(value) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -379,15 +379,15 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  } | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  function handleTypeChange(e) { | 
					 | 
					 | 
					  function handleTypeChange (e) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    setReportType(e.detail.value) | 
					 | 
					 | 
					    setReportType(e.detail.value) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  } | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  function handleImgChange(files, operationType, index, type) { | 
					 | 
					 | 
					  function handleImgChange (files, operationType, index, type) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    if (operationType === 'remove') { | 
					 | 
					 | 
					    if (operationType === 'remove') { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      setImg(false) | 
					 | 
					 | 
					      setImg(false) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    function setImg(isAdd, url) { | 
					 | 
					 | 
					    function setImg (isAdd, url) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					      switch (type) { | 
					 | 
					 | 
					      switch (type) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        case 'scenePic': | 
					 | 
					 | 
					        case 'scenePic': | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          let nextImg = sceneImg | 
					 | 
					 | 
					          let nextImg = sceneImg | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -484,19 +484,19 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  } | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  function handleImgClick(index, file) { | 
					 | 
					 | 
					  function handleImgClick (index, file) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    Taro.previewImage({ | 
					 | 
					 | 
					    Taro.previewImage({ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      urls: [file.url] // 需要预览的图片http链接列表 | 
					 | 
					 | 
					      urls: [file.url] // 需要预览的图片http链接列表 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    }) | 
					 | 
					 | 
					    }) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  } | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  function handleImgClicks(index, file) { | 
					 | 
					 | 
					  function handleImgClicks (index, file) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    Taro.previewImage({ | 
					 | 
					 | 
					    Taro.previewImage({ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      urls: [file] // 需要预览的图片http链接列表 | 
					 | 
					 | 
					      urls: [file] // 需要预览的图片http链接列表 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    }) | 
					 | 
					 | 
					    }) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  } | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  useEffect(() => { | 
					 | 
					 | 
					  useEffect(() => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    if (!isView) { | 
					 | 
					 | 
					    if (!isView) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					      let newRoadList = roadList.filter(e => e.routeName.match(road)) | 
					 | 
					 | 
					      let newRoadList = roadList.filter(e => e?.routeName?.match(road)) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					      let codeRoadSel = [] | 
					 | 
					 | 
					      let codeRoadSel = [] | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      if (newRoadList.length && road != '') { | 
					 | 
					 | 
					      if (newRoadList.length && road != '') { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        newRoadList.forEach((e, index) => { | 
					 | 
					 | 
					        newRoadList.forEach((e, index) => { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -511,7 +511,7 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      } | 
					 | 
					 | 
					      } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  }, [road]) | 
					 | 
					 | 
					  }, [road]) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  function handleOk() { | 
					 | 
					 | 
					  function handleOk () { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    if (!canReport) { return } | 
					 | 
					 | 
					    if (!canReport) { return } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    let str = handleCenter.trim() | 
					 | 
					 | 
					    let str = handleCenter.trim() | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    if (!str) { | 
					 | 
					 | 
					    if (!str) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -600,6 +600,7 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            onInput={setProjectType} | 
					 | 
					 | 
					            onInput={setProjectType} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            selector={prjTypeSelector} | 
					 | 
					 | 
					            selector={prjTypeSelector} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            isView={isView} | 
					 | 
					 | 
					            isView={isView} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            onlySelect={true} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          /> : '' | 
					 | 
					 | 
					          /> : '' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      } | 
					 | 
					 | 
					      } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -609,7 +610,9 @@ const Index = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            title='反馈类型:' | 
					 | 
					 | 
					            title='反馈类型:' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            placeholder='请选择反馈类型' | 
					 | 
					 | 
					            placeholder='请选择反馈类型' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            value={projectType} | 
					 | 
					 | 
					            value={projectType} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            onInput={setProjectType} | 
					 | 
					 | 
					            onInput={(v) => { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					              setProjectType(v) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            }} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            selector={prjTypeSelector} | 
					 | 
					 | 
					            selector={prjTypeSelector} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            isView={isView} | 
					 | 
					 | 
					            isView={isView} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            onlySelect={true} | 
					 | 
					 | 
					            onlySelect={true} | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |