| | |
| | | } |
| | | |
| | | const getByIdRole = async () => { |
| | | const res = await getByIdRoleApi(caseId) |
| | | const res = await getByIdRoleApi(feedbackInfoData?.handleUserId) |
| | | setPersonData(res.data) |
| | | |
| | | } |
| | |
| | | |
| | | const getFeedbackInfo = async () => { |
| | | const res = await getFeedbackInfoApi(caseId) |
| | | if (res.type) { |
| | | setFeedbackInfoData(res.data) |
| | | console.log(res.data, 'res.data') |
| | | getByIdRole(); |
| | | } |
| | | } |
| | | |
| | | //获取办理记录接口 |
| | |
| | | listFeedback(caseId); |
| | | getData(caseId) |
| | | getFeedbackInfo(); |
| | | getByIdRole(); |
| | | }, []) |
| | | |
| | | // useEffect(() => { |
| | |
| | | <Col span={8} style={{ display: 'flex' }}> |
| | | <div><div className="title-text">经办人:</div></div> |
| | | <div style={{ display: 'flex' }}> |
| | | { |
| | | feedbackInfoData?.handleUserName ? |
| | | <> |
| | | <div>{feedbackInfoData?.handleUserName}</div> |
| | | <img onClick={() => handlePersonView()} src={register} alt='' style={{ width: '14px', height: '14px', marginLeft: '8px', marginTop: '4px' }} /> |
| | | </> : '-' |
| | | } |
| | | </div> |
| | | </Col> |
| | | <Col span={8} style={{ display: 'flex' }}> |
| | |
| | | setIsModalVisible(false); |
| | | setWantUser({ wantUserId: value.keys[0], wantUserName: value.items[0].name }); |
| | | handleCheckedKeys(value.keys?.[0]) |
| | | |
| | | }} |
| | | onClose={() => setIsModalVisible(false)} |
| | | type='person' |