| | |
| | | :label="`${item.fileTypeName}:`" |
| | | :prop="`parkCollectFileList.${index}.listFiles`" |
| | | :label-width="160" |
| | | :mode="mode" |
| | | :style="{ marginBottom: index === form.parkCollectFileList.length - 1 ? 0 : '22px' }" |
| | | v-for="(item, index) in form.parkCollectFileList" |
| | | :key="item.fileSearchTypeId" |
| | |
| | | }); |
| | | |
| | | type Props = { |
| | | isEdit?: boolean; |
| | | form: { |
| | | parkCollectFileList: CustomerApplyFileTypeListItem[]; |
| | | }; |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), {}); |
| | | const props = withDefaults(defineProps<Props>(), { |
| | | isEdit: false, |
| | | }); |
| | | |
| | | const mode = computed(() => (props.isEdit ? 'read' : 'edit')); |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |