Fix observations CR in FE

This commit is contained in:
Henry Jordan
2021-09-06 20:07:48 +00:00
parent 11183e2231
commit aab8827b6e
12 changed files with 148 additions and 27 deletions

View File

@@ -87,13 +87,22 @@ export default {
classBtn(cls) {
return "btn v-btn-request " + cls;
},
/**
* Show modal
*/
show() {
this.getUsersReassign();
this.$refs["modal-reassign-case"].show();
},
/**
* Button cancel
*/
cancel() {
this.$refs["modal-reassign-case"].hide();
},
/**
* Service to get user reassign
*/
getUsersReassign() {
let that = this;
api.cases.getUserReassign(this.data).then((response) => {
@@ -114,6 +123,9 @@ export default {
}
});
},
/**
* Service reassign case
*/
reassignCase() {
let that = this;
this.data.userSelected = this.userSelected;
@@ -137,7 +149,4 @@ export default {
},
},
};
</script>
<style>
</style>
</script>