update:新增代办

This commit is contained in:
2026-04-13 15:07:45 +08:00
parent 0babccd952
commit 5e4508c9e8
2 changed files with 10 additions and 0 deletions

View File

@@ -177,3 +177,7 @@ export const permanentDeleteFromRecycleApi = (params: any) => {
export const checkDuplicateFileNameApi = (params: any) => {
return post(`${PREFIX}data/checkDuplicateFileName`, params);
};
// 上传附件
export const uploadAttachmentApi = (params: any) => {
return upload(`${PREFIX}data/uploadAttachment`, params);
};

View File

@@ -44,6 +44,7 @@ import {
setMachineListByPhaseId,
setWorkspaceListByMachineId,
getSimTypeList,
setPMemberName,
} from './lib';
interface Props {
@@ -127,6 +128,11 @@ const changeFun = async (cbData: any) => {
cbData,
});
}
if (key === 'simType') {
setPMemberName({
formData: editFormInfo.value,
});
}
};
const submitFun = async () => {