mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-31 18:23:58 +00:00
- put space
- remove console.log
This commit is contained in:
@@ -6,7 +6,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
Are you sure want to delete?
|
<p class="text-center">
|
||||||
|
Are you sure want to delete?
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<template v-slot:modal-footer>
|
<template v-slot:modal-footer>
|
||||||
@@ -72,13 +74,13 @@
|
|||||||
},
|
},
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
let vm = this;
|
let vm = this;
|
||||||
console.log(vm.selected_contract_template_obligation);
|
|
||||||
vm.form.selected_contract_template_obligation_id = vm.selected_contract_template_obligation.hash_id;
|
vm.form.selected_contract_template_obligation_id = vm.selected_contract_template_obligation.hash_id;
|
||||||
|
|
||||||
const l = vm.loader
|
const l = vm.loader
|
||||||
vm[l] = !vm[l];
|
vm[l] = !vm[l];
|
||||||
let method = 'delete';
|
let method = 'delete';
|
||||||
let url = 'contract-template-obligation/delete/'+vm.selected_contract_template_obligation.hash_id;
|
let url = 'contract-template-obligation/delete/' + vm.selected_contract_template_obligation.hash_id;
|
||||||
General.onComplete(url, vm.form, method, true)
|
General.onComplete(url, vm.form, method, true)
|
||||||
.then(data => {
|
.then(data => {
|
||||||
vm[l] = false
|
vm[l] = false
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
Are you sure want to delete?
|
<p class="text-center">
|
||||||
|
Are you sure want to delete?
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<template v-slot:modal-footer>
|
<template v-slot:modal-footer>
|
||||||
@@ -76,7 +78,7 @@
|
|||||||
const l = vm.loader
|
const l = vm.loader
|
||||||
vm[l] = !vm[l];
|
vm[l] = !vm[l];
|
||||||
let method = 'delete';
|
let method = 'delete';
|
||||||
let url = 'contract-template/delete/'+vm.this_contract_template.hash_id;
|
let url = 'contract-template/delete/' + vm.this_contract_template.hash_id;
|
||||||
General.onComplete(url, vm.form, method, true)
|
General.onComplete(url, vm.form, method, true)
|
||||||
.then(data => {
|
.then(data => {
|
||||||
vm[l] = false
|
vm[l] = false
|
||||||
|
|||||||
@@ -73,7 +73,6 @@
|
|||||||
onSubmit() {
|
onSubmit() {
|
||||||
let vm = this;
|
let vm = this;
|
||||||
vm.form.entity_id = vm.selected_entity.hash_id;
|
vm.form.entity_id = vm.selected_entity.hash_id;
|
||||||
console.log(vm.selected_entity);
|
|
||||||
|
|
||||||
const l = vm.loader
|
const l = vm.loader
|
||||||
vm[l] = !vm[l];
|
vm[l] = !vm[l];
|
||||||
|
|||||||
@@ -186,10 +186,8 @@
|
|||||||
vm.filterSubmit();
|
vm.filterSubmit();
|
||||||
},
|
},
|
||||||
entityDeleteModalToggle(selected_entity) {
|
entityDeleteModalToggle(selected_entity) {
|
||||||
console.log("entityDeleteModalToggle",selected_entity);
|
|
||||||
let vm = this;
|
let vm = this;
|
||||||
vm.selected_entity = selected_entity;
|
vm.selected_entity = selected_entity;
|
||||||
console.log("entityDeleteModalToggle - vm.this_entity",vm.selected_entity);
|
|
||||||
vm.$bvModal.show('entity-delete-modal');
|
vm.$bvModal.show('entity-delete-modal');
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user