codevdesign 0.0.94 → 0.0.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
:btn-annuler-texte="texteBoutonAnnuler"
|
|
59
59
|
@annuler="annuler"
|
|
60
60
|
@ok="ok"
|
|
61
|
-
><template #
|
|
61
|
+
><template #content>
|
|
62
62
|
<div class="pt-2"></div>
|
|
63
63
|
<hr class="pt-0 mt-0 pl-0" />
|
|
64
64
|
<div class="pt-4">
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
import { useDisplay } from 'vuetify'
|
|
119
119
|
import ChaisePreferenceItem from './chaiseItem.vue'
|
|
120
120
|
import csqcDialogue from '../csqcDialogue.vue'
|
|
121
|
-
import axios from '@/outils/appAxios'
|
|
121
|
+
import axios from '@/outils/appAxios'
|
|
122
122
|
import type { Unite } from '@/codev/modeles/unite'
|
|
123
123
|
import { useI18n } from 'vue-i18n'
|
|
124
124
|
|
|
@@ -250,12 +250,6 @@
|
|
|
250
250
|
chargementEnCours.value = false
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
/** Actions UI */
|
|
254
|
-
/*async function soumettre() {
|
|
255
|
-
modeModifier.value = false
|
|
256
|
-
await ouvrir()
|
|
257
|
-
}*/
|
|
258
|
-
|
|
259
253
|
async function ouvrir() {
|
|
260
254
|
if (!activerDivPreferences.value) {
|
|
261
255
|
await chargementPreferences()
|
|
@@ -317,7 +311,10 @@
|
|
|
317
311
|
}
|
|
318
312
|
}
|
|
319
313
|
}
|
|
320
|
-
|
|
314
|
+
async function soumettre() {
|
|
315
|
+
modeModifier.value = false
|
|
316
|
+
await ouvrir()
|
|
317
|
+
}
|
|
321
318
|
/** Validation finale */
|
|
322
319
|
async function ok() {
|
|
323
320
|
await sauvegarder()
|
|
@@ -359,4 +356,6 @@
|
|
|
359
356
|
chargementEnCours.value = false
|
|
360
357
|
}
|
|
361
358
|
}
|
|
359
|
+
|
|
360
|
+
defineExpose({ soumettre })
|
|
362
361
|
</script>
|