|
@ -149,13 +149,13 @@ const openForm = (type: string, row?: any) => { |
|
|
uploadFile['componentProps']['upData']['tableId'] = currentTime |
|
|
uploadFile['componentProps']['upData']['tableId'] = currentTime |
|
|
uploadFile['componentProps']['modelValue']= [] |
|
|
uploadFile['componentProps']['modelValue']= [] |
|
|
} |
|
|
} |
|
|
} |
|
|
}else if(type=='update'){ |
|
|
else if(type=='update'){ |
|
|
|
|
|
const uploadFile = SystemInstallPackage.allSchemas.formSchema.find(item=>item.field=='uploadFile') |
|
|
const uploadFile = SystemInstallPackage.allSchemas.formSchema.find(item=>item.field=='uploadFile') |
|
|
uploadFile['componentProps']['modelValue']= [{ |
|
|
uploadFile['componentProps']['modelValue']= [{ |
|
|
name: row.installPackageUrl, |
|
|
name: row.installPackageUrl, |
|
|
url: row.installPackageUrl, |
|
|
url: row.installPackageUrl, |
|
|
}] |
|
|
}] |
|
|
|
|
|
uploadFile['value'] = row.installPackageUrl |
|
|
} |
|
|
} |
|
|
basicFormRef.value.open(type, row) |
|
|
basicFormRef.value.open(type, row) |
|
|
} |
|
|
} |
|
|