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