| | |
| | | } |
| | | |
| | | const getByIdRole = async () => { |
| | | console.log(feedbackInfoData?.handleUserId, 'feedbackInfoData?.handleUserId') |
| | | const res = await getByIdRoleApi(feedbackInfoData?.handleUserId) |
| | | if(res.type){ |
| | | setPersonView(!personView) |
| | | setPersonData(res.data) |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | const getFeedbackInfo = async () => { |
| | | const res = await getFeedbackInfoApi(caseId) |
| | | if (res.type) { |
| | | setFeedbackInfoData(res.data) |
| | | setFeedbackInfoData(() => res.data) |
| | | console.log(res.data, 'res.data') |
| | | getByIdRole(); |
| | | // getByIdRole(); |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | const handlePersonView = () => { |
| | | setPersonView(!personView) |
| | | getByIdRole(); |
| | | |
| | | } |
| | | |
| | |
| | | caseId && managerName ? |
| | | <WantUserTag name={managerName} onClose={() => setWantUser({ wantUserId: null, wantUserName: null })} /> |
| | | : |
| | | <Button onClick={() => setIsModalVisible(true)} style={{ color: '#1A6FB8', border: '1px solid #1A6FB8' }} type='outline'>选择</Button> |
| | | <Button onClick={() => { setIsModalVisible(true); }} style={{ color: '#1A6FB8', border: '1px solid #1A6FB8' }} type='outline'>选择</Button> |
| | | } |
| | | </FormItem> |
| | | </Col> |
| | |
| | | wrapperStyle={{ width: '100%' }} |
| | | /> |
| | | </FormItem> |
| | | |
| | | </Col> |
| | | <Col span={24}> |
| | | <FormItem |
| | |
| | | > |
| | | <ArcoUpload |
| | | params={{ |
| | | action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${caseId}&ownerId=${caseId}&ownerType=${'22_00018-501'}`, |
| | | action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${caseId}&ownerId=${id}&ownerType=${'22_00018-501'}`, |
| | | }} |
| | | field='file1' |
| | | // handleChangeFile={handleChangeFile} |
| | |
| | | </tr> |
| | | <tr> |
| | | <th bgcolor="#F7F8FA" className="table-title">所属部门</th> |
| | | <td>{personData?.deptName}</td> |
| | | <td>{personData?.unitName}</td> |
| | | <th bgcolor="#F7F8FA" className="table-title">职务</th> |
| | | <td>{personData?.userRoles}</td> |
| | | </tr> |