浏览代码

bugfix cartouchlayout props

bach 1 年之前
父节点
当前提交
c94679017e
共有 3 个文件被更改,包括 6 次插入6 次删除
  1. 2 2
      src/components/contents/Doleancer.vue
  2. 2 2
      src/components/contents/PuissanceAgir.vue
  3. 2 2
      src/views/Concernement.vue

+ 2 - 2
src/components/contents/Doleancer.vue

@@ -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>

+ 2 - 2
src/components/contents/PuissanceAgir.vue

@@ -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> -->
 
 

+ 2 - 2
src/views/Concernement.vue

@@ -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"/>
-    <Doleancer v-if="map_mode === 'doleancer'" :id="cid"/>
+    <PuissanceAgir v-if="map_mode === 'puissancedagir'" :cid="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" />