File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed
src/views/catalogue/toponimo Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 66 <div class =" col-12" v-else >
77 <app-search-filter-top
88 @filter =" handleFilter"
9- @validate =" handleValidate "
9+ @validate =" modalOpen "
1010 :stato =" this.$route.params.state"
1111 />
1212 <div class =" card fade-in" >
5252 </CCardBody >
5353 </div >
5454 </div >
55+ <CModal title =" Warning!" :show.sync =" warningModal" >
56+ <template #footer >
57+ <CButton shape =" square" size =" sm" color =" light" @click =" modalClose" >
58+ Chiudi
59+ </CButton >
60+ <CButton
61+ shape =" square"
62+ size =" sm"
63+ color =" primary"
64+ @click =" handleValidate"
65+ >
66+ Valida
67+ </CButton >
68+ </template >
69+ Sei sicuro di voler validare tutti gli elementi della lista?
70+ </CModal >
5571 </div >
5672</template >
5773
@@ -71,14 +87,21 @@ export default {
7187 return {
7288 sorterValue: { column: null , asc: false },
7389 items4page: 50 ,
74- globalCheck: false
90+ globalCheck: false ,
91+ warningModal: false
7592 };
7693 },
7794 computed: {
7895 ... mapGetters (" coreui" , [" isLoading" ]),
7996 ... mapGetters (" toponimo" , [" toponimi" , " filterTopProvincia" ])
8097 },
8198 methods: {
99+ modalOpen () {
100+ this .warningModal = true ;
101+ },
102+ modalClose () {
103+ this .warningModal = false ;
104+ },
82105 updateSelected (dug , duf , note ) {
83106 var payload;
84107 var toponimoList = [];
@@ -147,6 +170,7 @@ export default {
147170 });
148171 });
149172 });
173+ this .warningModal = false ;
150174 },
151175 load (state ) {
152176 let payload = {
You can’t perform that action at this time.
0 commit comments