Mandats : refonte wizard nomination-first + types statutory/functional
- 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
|
||||
if (activeStatus.value && statusGroupMap[activeStatus.value]) {
|
||||
const allowedStatuses = statusGroupMap[activeStatus.value]
|
||||
const allowedStatuses = statusGroupMap[activeStatus.value]!
|
||||
list = list.filter(m => allowedStatuses.includes(m.status))
|
||||
}
|
||||
|
||||
@@ -95,6 +95,8 @@ const filteredMandates = computed(() => {
|
||||
|
||||
const typeLabel = (mandateType: string) => {
|
||||
switch (mandateType) {
|
||||
case 'statutory': return 'Statutaire'
|
||||
case 'functional': return 'Fonctionnel'
|
||||
case 'techcomm': return 'Comité technique'
|
||||
case 'smith': return 'Forgeron'
|
||||
case 'custom': return 'Personnalisé'
|
||||
|
||||
+538
-362
File diff suppressed because it is too large
Load Diff
@@ -34,7 +34,6 @@ export interface GroupMemberCreate {
|
||||
|
||||
export const useGroupsStore = defineStore('groups', () => {
|
||||
const { $api } = useApi()
|
||||
const orgs = useOrgsStore()
|
||||
|
||||
const list = ref<GroupSummary[]>([])
|
||||
const loading = ref(false)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-07-15',
|
||||
ssr: false,
|
||||
devtools: { enabled: true },
|
||||
devtools: { enabled: false },
|
||||
devServer: { port: 3002, host: '0.0.0.0' },
|
||||
components: [{ path: '~/components', pathPrefix: false }],
|
||||
css: ['~/assets/css/moods.css'],
|
||||
|
||||
Reference in New Issue
Block a user