dengyinhuan 1 year ago
parent
commit
ee54d726ac
  1. 25
      weapp/src/packages/patrol/index.jsx

25
weapp/src/packages/patrol/index.jsx

@ -1443,8 +1443,7 @@ const Index = () => {
{ {
isSuperAdmin && (wait === 'wait' || kind === 'handle') && <View className='appoint'> isSuperAdmin && (wait === 'wait' || kind === 'handle') && <View className='appoint'>
{ {
handleState === '待处理' ? // handleState === '待处理' && <>
<>
<RadioGroup onChange={(e) => { <RadioGroup onChange={(e) => {
setIsAppoint(e.detail.value === '指派' ? true : false) setIsAppoint(e.detail.value === '指派' ? true : false)
}}> }}>
@ -1474,22 +1473,6 @@ const Index = () => {
</> </>
} }
</> </>
: //
<>
{/* {
handleState === '不处理' && <Text>
处理结果暂不进行处理
</Text>
} */}
{/* {
(handleState === '已指派' || handleState === '已处理') && <>
<View>处理意见</View>
<View>{handleAdvice}</View>
<View style={{ marginTop: 10 }}>责任人</View>
<View>{appointUser !== null ? allDepUsers.find(d => d.depId === userList[appointUser]?.departmentId)?.depName : ''}-{appointUser !== null ? userList[appointUser]?.name : ''}</View>
</>
} */}
</>
} }
</View> </View>
} }
@ -1510,7 +1493,11 @@ const Index = () => {
{ {
(isSuperAdmin && (handleState === '已指派' || handleState === '已处理')) && <> (isSuperAdmin && (handleState === '已指派' || handleState === '已处理')) && <>
<View style={{ marginTop: 10 }}>责任人</View> <View style={{ marginTop: 10 }}>责任人</View>
<View>{appointUser !== null ? allDepUsers.find(d => d.depId === userList[appointUser]?.departmentId)?.depName : ''}-{appointUser !== null ? userList[appointUser]?.name : ''}</View> <View>
{appointUser !== null ? allDepUsers.find(d => d.depId === userList.find(u => u.id === appointUser)?.departmentId)?.depName : ''}
-
{appointUser !== null ? userList.find(u => u.id === appointUser)?.name : ''}
</View>
</> </>
} }
</View> </View>

Loading…
Cancel
Save