|
|
@ -148,6 +148,8 @@ const openForm = (type: string, row?: any) => { |
|
|
|
if(uploadFile){ |
|
|
|
uploadFile['componentProps']['upData']['tableId'] = currentTime |
|
|
|
uploadFile['componentProps']['modelValue']= [] |
|
|
|
uploadFile['value'] = '' |
|
|
|
|
|
|
|
} |
|
|
|
}else if(type=='update'){ |
|
|
|
const uploadFile = SystemInstallPackage.allSchemas.formSchema.find(item=>item.field=='uploadFile') |
|
|
@ -163,7 +165,7 @@ const openForm = (type: string, row?: any) => { |
|
|
|
// form表单提交 |
|
|
|
const formsSuccess = async (formType,data) => { |
|
|
|
if (formType === 'create') { |
|
|
|
delete data['uploadFile'] |
|
|
|
// delete data['uploadFile'] |
|
|
|
await SystemInstallPackageApi.createSystemInstallPackage(data) |
|
|
|
message.success(t('common.createSuccess')) |
|
|
|
} else { |
|
|
|