|
|
@ -1329,26 +1329,25 @@ const Index = () => { |
|
|
|
/> |
|
|
|
} |
|
|
|
|
|
|
|
{ |
|
|
|
isView && isBeforeReport ? <> |
|
|
|
<View className='horizontal-line hl-two'> |
|
|
|
<View className='circle c-two'></View> |
|
|
|
<View className='text t-two'>养护中</View> |
|
|
|
</View> |
|
|
|
{ |
|
|
|
isView ? |
|
|
|
<View className='img-box'> |
|
|
|
{conserveUnderwayPic.map(item => ( |
|
|
|
<Image className='img' src={item.url} onClick={() => handleImgClick(undefined, item)} /> |
|
|
|
))} |
|
|
|
</View> |
|
|
|
</> : null |
|
|
|
// <AtImagePicker |
|
|
|
// className='img-picker' |
|
|
|
// count={3 - conserveUnderwayPic.length} |
|
|
|
// showAddBtn={conserveUnderwayPic.length >= 3 ? false : true} |
|
|
|
// files={conserveUnderwayPic} |
|
|
|
// onChange={(files, operationType, index) => handleImgChange(files, operationType, index, 'conserveUnderwayPic')} |
|
|
|
// onImageClick={handleImgClick} |
|
|
|
// /> |
|
|
|
</View> : |
|
|
|
<AtImagePicker |
|
|
|
className='img-picker' |
|
|
|
count={3 - conserveUnderwayPic.length} |
|
|
|
showAddBtn={conserveUnderwayPic.length >= 3 ? false : true} |
|
|
|
files={conserveUnderwayPic} |
|
|
|
onChange={(files, operationType, index) => handleImgChange(files, operationType, index, 'conserveUnderwayPic')} |
|
|
|
onImageClick={handleImgClick} |
|
|
|
/> |
|
|
|
} |
|
|
|
|
|
|
|
<View className='horizontal-line hl-three'> |
|
|
|