Extended-brief supporte maintenant images + PDF comme client-brief
All checks were successful
Deploy Preprod / Build and Deploy to Preprod (push) Successful in 28s
All checks were successful
Deploy Preprod / Build and Deploy to Preprod (push) Successful in 28s
- Blueprint : ajout champs moodboard et description - Kanban : utilise ClientBrief au lieu de SimpleDocument - Validation : support extended-brief depuis PDF et page images - Navigation : paths dynamiques basés sur step.slug Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
2b5175900c
commit
7ca72c6d82
4 changed files with 14 additions and 4 deletions
|
|
@ -42,4 +42,14 @@ tabs:
|
||||||
type: files
|
type: files
|
||||||
multiple: false
|
multiple: false
|
||||||
uploads: pdf
|
uploads: pdf
|
||||||
|
description:
|
||||||
|
type: textarea
|
||||||
|
size: tiny
|
||||||
|
buttons: false
|
||||||
|
moodboard:
|
||||||
|
label: Images
|
||||||
|
type: files
|
||||||
|
template: image
|
||||||
|
layout: cards
|
||||||
|
size: medium
|
||||||
files: tabs/files
|
files: tabs/files
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ const { step } = defineProps({
|
||||||
const cardsMap = {
|
const cardsMap = {
|
||||||
clientBrief: ClientBrief,
|
clientBrief: ClientBrief,
|
||||||
proposal: MultipleDocuments,
|
proposal: MultipleDocuments,
|
||||||
extendedBrief: SimpleDocument,
|
extendedBrief: ClientBrief,
|
||||||
industrialIdeation: SimpleDocument,
|
industrialIdeation: SimpleDocument,
|
||||||
virtualSample: VirtualSample,
|
virtualSample: VirtualSample,
|
||||||
physicalSample: PhysicalSample,
|
physicalSample: PhysicalSample,
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
<template #header>
|
<template #header>
|
||||||
<button
|
<button
|
||||||
v-if="
|
v-if="
|
||||||
dialog.content.id === 'clientBrief' &&
|
['clientBrief', 'extendedBrief'].includes(dialog.content.id) &&
|
||||||
dialog.content.isValidated !== true
|
dialog.content.isValidated !== true
|
||||||
"
|
"
|
||||||
class="btn"
|
class="btn"
|
||||||
|
|
@ -91,7 +91,7 @@ const correspondingDTLProposal = computed(() => {
|
||||||
// Functions
|
// Functions
|
||||||
async function validate() {
|
async function validate() {
|
||||||
const response = await api.validateBrief(
|
const response = await api.validateBrief(
|
||||||
route.path + '/client-brief',
|
route.path + '/' + dialog.content.slug,
|
||||||
route.fullPath
|
route.fullPath
|
||||||
);
|
);
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,6 @@ const pdf = computed(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
function goToImagesBrief() {
|
function goToImagesBrief() {
|
||||||
router.push(location.pathname + "/client-brief");
|
router.push(location.pathname + "/" + step.slug);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue