|
@ -179,7 +179,11 @@ const openForm = (type: string, row?: any) => { |
|
|
} |
|
|
} |
|
|
if(uploadFile){ |
|
|
if(uploadFile){ |
|
|
uploadFile['componentProps']['upData']['tableId'] = currentTime |
|
|
uploadFile['componentProps']['upData']['tableId'] = currentTime |
|
|
|
|
|
uploadFile['componentProps']['modelValue']= [] |
|
|
} |
|
|
} |
|
|
|
|
|
}else if(type=='update'){ |
|
|
|
|
|
const uploadFile = InspectionMethod.allSchemas.formSchema.find(item=>item.field=='videoAddress') |
|
|
|
|
|
uploadFile['componentProps']['modelValue']= row.filePathListView |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
basicFormRef.value.open(type, row) |
|
|
basicFormRef.value.open(type, row) |
|
|