finish extended brief step
This commit is contained in:
parent
16ae67dfc4
commit
2b2c1002e3
2 changed files with 10 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ import { useProjectStore } from "../../stores/project";
|
||||||
import { useRouter } from "vue-router";
|
import { useRouter } from "vue-router";
|
||||||
import ClientBrief from "./cards/ClientBrief.vue";
|
import ClientBrief from "./cards/ClientBrief.vue";
|
||||||
import Proposal from "./cards/Proposal.vue";
|
import Proposal from "./cards/Proposal.vue";
|
||||||
|
import ExtendedBrief from "./cards/ExtendedBrief.vue";
|
||||||
|
|
||||||
const { step } = defineProps({
|
const { step } = defineProps({
|
||||||
step: Object,
|
step: Object,
|
||||||
|
|
@ -30,6 +31,7 @@ const { step } = defineProps({
|
||||||
const cardsMap = {
|
const cardsMap = {
|
||||||
clientBrief: ClientBrief,
|
clientBrief: ClientBrief,
|
||||||
proposal: Proposal,
|
proposal: Proposal,
|
||||||
|
extendedBrief: ExtendedBrief,
|
||||||
};
|
};
|
||||||
|
|
||||||
const emit = defineEmits(["update:file"]);
|
const emit = defineEmits(["update:file"]);
|
||||||
|
|
|
||||||
8
src/components/project/cards/ExtendedBrief.vue
Normal file
8
src/components/project/cards/ExtendedBrief.vue
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<template>
|
||||||
|
<Document v-if="step.files.length > 0" :step="step" :pdf="step.files[0]" />
|
||||||
|
</template>
|
||||||
|
<script setup>
|
||||||
|
import Document from "./Document.vue";
|
||||||
|
|
||||||
|
const { step } = defineProps({ step: Object });
|
||||||
|
</script>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue