bugfix cartouchlayout props

This commit is contained in:
Bachir Soussi Chiadmi 2023-09-29 11:23:23 +02:00
parent 86cb049c94
commit c94679017e
3 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@ import vSelect from 'vue-select';
import 'vue-select/dist/vue-select.css'; import 'vue-select/dist/vue-select.css';
export default { export default {
props: ['id'], props: ['cid'],
data(){ data(){
return { return {
doleance: null, doleance: null,
@ -88,7 +88,7 @@ export default {
</script> </script>
<template> <template>
<CartoucheLayout> <CartoucheLayout :cid="cid">
<template v-slot:header> <template v-slot:header>
<div class="pre-header"> <div class="pre-header">
</div> </div>

View File

@ -17,7 +17,7 @@ import { mdiRhombusOutline } from '@mdi/js';
export default { export default {
props: ['id'], props: ['cid'],
data(){ data(){
return { return {
opened_besoin_id: null, opened_besoin_id: null,
@ -72,7 +72,7 @@ export default {
</script> </script>
<template> <template>
<CartoucheLayout> <CartoucheLayout :cid="cid">
<!-- <template v-slot:header> <!-- <template v-slot:header>
</template> --> </template> -->

View File

@ -171,8 +171,8 @@ export default {
<template> <template>
<section v-if="opened_concernement" class="concernement"> <section v-if="opened_concernement" class="concernement">
<TerrainDeVie v-if="map_mode === 'terraindevie' || map_mode === 'action'|| map_mode === 'superposition'" :cid="main_cid_eid.cid" :eid="main_cid_eid.eid"/> <TerrainDeVie v-if="map_mode === 'terraindevie' || map_mode === 'action'|| map_mode === 'superposition'" :cid="main_cid_eid.cid" :eid="main_cid_eid.eid"/>
<PuissanceAgir v-if="map_mode === 'puissancedagir'" :id="cid"/> <PuissanceAgir v-if="map_mode === 'puissancedagir'" :cid="cid"/>
<Doleancer v-if="map_mode === 'doleancer'" :id="cid"/> <Doleancer v-if="map_mode === 'doleancer'" :cid="cid"/>
</section> </section>
<section v-if="map_mode === 'superposition' && superposition && superposed_cid_eid" class="concernement clone"> <section v-if="map_mode === 'superposition' && superposition && superposed_cid_eid" class="concernement clone">
<TerrainDeVie :cid="superposed_cid_eid.cid" :eid="superposed_cid_eid.eid" /> <TerrainDeVie :cid="superposed_cid_eid.cid" :eid="superposed_cid_eid.eid" />