| | |
| | | } |
| | | |
| | | function delFile(id) { |
| | | return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'delete', service: 'sys', data: { id } }); |
| | | return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'get', service: 'sys', data: { id } }); |
| | | } |
| | | |
| | | function getNewTimeIdApi(id) { |
| | |
| | | } |
| | | |
| | | const getByIdRole = async () => { |
| | | const res = await getByIdRoleApi('2105180249501982') |
| | | const res = await getByIdRoleApi(caseId) |
| | | setPersonData(res.data) |
| | | |
| | | } |
| | |
| | | }) |
| | | if (res.type) { |
| | | $$.infoSuccess({ content: '修改成功' }); |
| | | listFeedback(caseId) |
| | | listFeedback(caseId); |
| | | formRef.current.resetFields(); |
| | | } |
| | | } else { |
| | | const res = await saveFeedbackApi({ |
| | |
| | | }) |
| | | if (res.type) { |
| | | $$.infoSuccess({ content: '保存成功' }); |
| | | listFeedback(caseId) |
| | | listFeedback(caseId); |
| | | formRef.current.resetFields(); |
| | | } |
| | | } |
| | | } |