forked from yvv/decision
Mandats : refonte wizard nomination-first + types statutory/functional
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
- Réordonnancement étapes : nomination → infos → résumé (au lieu de infos → nomination → toolbox → résumé) - Cas nomination renommé : 'election' → 'collective' ; auto-désignation scindée en mode période/réunion - Types mandat ajoutés : statutory, functional (labels + filtres index) - Légères corrections texte modalities (ortho, reformulation) - Fix TS : assertions non-null sur statusGroupMap et paramValues Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -66,7 +66,7 @@ const filteredMandates = computed(() => {
|
|||||||
|
|
||||||
// Filter by status group
|
// Filter by status group
|
||||||
if (activeStatus.value && statusGroupMap[activeStatus.value]) {
|
if (activeStatus.value && statusGroupMap[activeStatus.value]) {
|
||||||
const allowedStatuses = statusGroupMap[activeStatus.value]
|
const allowedStatuses = statusGroupMap[activeStatus.value]!
|
||||||
list = list.filter(m => allowedStatuses.includes(m.status))
|
list = list.filter(m => allowedStatuses.includes(m.status))
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -95,6 +95,8 @@ const filteredMandates = computed(() => {
|
|||||||
|
|
||||||
const typeLabel = (mandateType: string) => {
|
const typeLabel = (mandateType: string) => {
|
||||||
switch (mandateType) {
|
switch (mandateType) {
|
||||||
|
case 'statutory': return 'Statutaire'
|
||||||
|
case 'functional': return 'Fonctionnel'
|
||||||
case 'techcomm': return 'Comité technique'
|
case 'techcomm': return 'Comité technique'
|
||||||
case 'smith': return 'Forgeron'
|
case 'smith': return 'Forgeron'
|
||||||
case 'custom': return 'Personnalisé'
|
case 'custom': return 'Personnalisé'
|
||||||
|
|||||||
+539
-363
File diff suppressed because it is too large
Load Diff
@@ -34,7 +34,6 @@ export interface GroupMemberCreate {
|
|||||||
|
|
||||||
export const useGroupsStore = defineStore('groups', () => {
|
export const useGroupsStore = defineStore('groups', () => {
|
||||||
const { $api } = useApi()
|
const { $api } = useApi()
|
||||||
const orgs = useOrgsStore()
|
|
||||||
|
|
||||||
const list = ref<GroupSummary[]>([])
|
const list = ref<GroupSummary[]>([])
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
compatibilityDate: '2025-07-15',
|
compatibilityDate: '2025-07-15',
|
||||||
ssr: false,
|
ssr: false,
|
||||||
devtools: { enabled: true },
|
devtools: { enabled: false },
|
||||||
devServer: { port: 3002, host: '0.0.0.0' },
|
devServer: { port: 3002, host: '0.0.0.0' },
|
||||||
components: [{ path: '~/components', pathPrefix: false }],
|
components: [{ path: '~/components', pathPrefix: false }],
|
||||||
css: ['~/assets/css/moods.css'],
|
css: ['~/assets/css/moods.css'],
|
||||||
|
|||||||
Reference in New Issue
Block a user