cercle po: decision ok
This commit is contained in:
parent
4afa5fbfa0
commit
55b213af64
@ -137,7 +137,7 @@ fragment ConcernementFields on Concernement {
|
|||||||
start
|
start
|
||||||
}
|
}
|
||||||
entites_decisionnaires
|
entites_decisionnaires
|
||||||
decision_formule
|
decision_formulee
|
||||||
mise_en_oeuvre_decision {
|
mise_en_oeuvre_decision {
|
||||||
id
|
id
|
||||||
revision_id
|
revision_id
|
||||||
|
@ -1304,7 +1304,8 @@ div.add-ressource-btn{
|
|||||||
div.add-cerclepo-btn,
|
div.add-cerclepo-btn,
|
||||||
div.add-groupinteret-btn,
|
div.add-groupinteret-btn,
|
||||||
div.add-adressedoleance-btn,
|
div.add-adressedoleance-btn,
|
||||||
div.add-receptiontraitement-btn{
|
div.add-receptiontraitement-btn,
|
||||||
|
div.add-decision-btn{
|
||||||
@include add-btn();
|
@include add-btn();
|
||||||
margin: 0 0 1em;
|
margin: 0 0 1em;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
@ -196,6 +196,10 @@ export default {
|
|||||||
addAdresseDoleance(e){
|
addAdresseDoleance(e){
|
||||||
this.setOpenedDoleanceField(this.cid, this.doleance.id, "adresse_de_la_doleance");
|
this.setOpenedDoleanceField(this.cid, this.doleance.id, "adresse_de_la_doleance");
|
||||||
},
|
},
|
||||||
|
// decision
|
||||||
|
addDecision(e){
|
||||||
|
this.setOpenedDoleanceField(this.cid, this.doleance.id, "decision");
|
||||||
|
},
|
||||||
// groupe interet
|
// groupe interet
|
||||||
addgroupInteret(e){
|
addgroupInteret(e){
|
||||||
this.createCerclepoParagGeneric('groupes_interets', 'field_groupes', 'groupesinterets');
|
this.createCerclepoParagGeneric('groupes_interets', 'field_groupes', 'groupesinterets');
|
||||||
@ -532,7 +536,7 @@ export default {
|
|||||||
entitytype: 'node',
|
entitytype: 'node',
|
||||||
bundle: 'cercle_politique',
|
bundle: 'cercle_politique',
|
||||||
id: doleance.id,
|
id: doleance.id,
|
||||||
field: {field_name: 'field_date_adresse'}
|
field: {field_name: 'field_date_adresse_doleance'}
|
||||||
}"
|
}"
|
||||||
v-on:updated="reloadConcernementCerclePol(cid)"/>
|
v-on:updated="reloadConcernementCerclePol(cid)"/>
|
||||||
|
|
||||||
@ -692,13 +696,52 @@ export default {
|
|||||||
<section
|
<section
|
||||||
v-if="opened_dol.field === 'decision'"
|
v-if="opened_dol.field === 'decision'"
|
||||||
class="decision">
|
class="decision">
|
||||||
<span class="date">{{ doleance.date_decision.start }}</span>
|
|
||||||
|
|
||||||
<h5>Décision</h5>
|
<h5>Décision</h5>
|
||||||
|
<!-- <span class="date">{{ doleance.date_decision.start }}</span> -->
|
||||||
|
<DateEditable
|
||||||
|
:value="doleance.date_decision.start"
|
||||||
|
class="decision-date"
|
||||||
|
:contenteditable="opened_concernement.can_update"
|
||||||
|
:data="{
|
||||||
|
entitytype: 'node',
|
||||||
|
bundle: 'cercle_politique',
|
||||||
|
id: doleance.id,
|
||||||
|
field: {field_name: 'field_date_decision'}
|
||||||
|
}"
|
||||||
|
v-on:updated="reloadConcernementCerclePol(cid)"/>
|
||||||
|
|
||||||
<label for="entites_decisionnaires">{{ ct_cercle_politique.field_entites_decisionnaires.label }}</label>
|
<label for="entites_decisionnaires">{{ ct_cercle_politique.field_entites_decisionnaires.label }}</label>
|
||||||
<p name="entites_decisionnaires" v-html="doleance.entites_decisionnaires" />
|
<!-- <p name="entites_decisionnaires" v-html="doleance.entites_decisionnaires" /> -->
|
||||||
<label for="decision_formule">{{ ct_cercle_politique.field_decision_formulee.label }}</label>
|
<ContentEditable
|
||||||
<p name="decision_formule" v-html="doleance.decision_formule" />
|
tag="p"
|
||||||
|
name="entites_decisionnaires"
|
||||||
|
:value="doleance.entites_decisionnaires"
|
||||||
|
:html="true"
|
||||||
|
:class="{ ellipsed: headerreduced }"
|
||||||
|
:contenteditable="opened_concernement.can_update"
|
||||||
|
:data="{
|
||||||
|
entitytype: 'node',
|
||||||
|
bundle: 'cercle_politique',
|
||||||
|
id: doleance.id,
|
||||||
|
field: {field_name: 'field_entites_decisionnaires', value:'value'}
|
||||||
|
}"
|
||||||
|
v-on:updated="reloadConcernementCerclePol(cid)"/>
|
||||||
|
<label for="decision_formulee">{{ ct_cercle_politique.field_decision_formulee.label }}</label>
|
||||||
|
<!-- <p name="decision_formulee" v-html="doleance.decision_formulee" /> -->
|
||||||
|
<ContentEditable
|
||||||
|
tag="p"
|
||||||
|
name="decision_formulee"
|
||||||
|
:value="doleance.decision_formulee"
|
||||||
|
:html="true"
|
||||||
|
:class="{ ellipsed: headerreduced }"
|
||||||
|
:contenteditable="opened_concernement.can_update"
|
||||||
|
:data="{
|
||||||
|
entitytype: 'node',
|
||||||
|
bundle: 'cercle_politique',
|
||||||
|
id: doleance.id,
|
||||||
|
field: {field_name: 'field_decision_formulee', value:'value'}
|
||||||
|
}"
|
||||||
|
v-on:updated="reloadConcernementCerclePol(cid)"/>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section
|
<section
|
||||||
@ -836,6 +879,19 @@ export default {
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<template v-if="opened_concernement.opened_doleance.field === 'reception_traitement'">
|
||||||
|
<div
|
||||||
|
v-if="!reloading_concernements"
|
||||||
|
@click="addDecision"
|
||||||
|
class="add-decision-btn btn">
|
||||||
|
<span>Décision</span>
|
||||||
|
<svg-icon type="mdi" :path="mdiStickerPlusOutline_path"/>
|
||||||
|
</div>
|
||||||
|
<div v-else class="add-decision-btn btn">
|
||||||
|
<div class="loading">Chargement</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template v-if="opened_concernement.opened_doleance.field === 'leprobleme' || opened_concernement.opened_doleance.field === 'lenquete'">
|
<template v-if="opened_concernement.opened_doleance.field === 'leprobleme' || opened_concernement.opened_doleance.field === 'lenquete'">
|
||||||
<div v-if="!reloading_concernements"
|
<div v-if="!reloading_concernements"
|
||||||
@click="addCerclePo"
|
@click="addCerclePo"
|
||||||
|
@ -601,7 +601,7 @@ export const ConcernementsStore = defineStore({
|
|||||||
start
|
start
|
||||||
}
|
}
|
||||||
entites_decisionnaires
|
entites_decisionnaires
|
||||||
decision_formule
|
decision_formulee
|
||||||
mise_en_oeuvre_decision {
|
mise_en_oeuvre_decision {
|
||||||
id
|
id
|
||||||
revision_id
|
revision_id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user