PMCORE-3017-E

This commit is contained in:
Henry Jordan
2021-06-01 19:58:39 +00:00
parent 88bd085c5b
commit b80b0f25b1
6 changed files with 15 additions and 39 deletions

View File

@@ -80,7 +80,7 @@ export default {
SEND: this.$refs["send"].checked ? 1 : 0,
}))
.then((response) => {
if (response.data && response.data.status) {
if (response.status === 200) {
that.$refs["modal-cancel-case"].hide();
that.$parent.$parent.page = "todo";
}

View File

@@ -33,7 +33,9 @@ import api from "./../../api/index";
export default {
name: "ModalClaimCase",
components: {},
props: {},
props: {
dataCase: Object,
},
mounted() {},
data() {
return {
@@ -53,7 +55,7 @@ export default {
claimCase() {
let that = this;
api.cases.claim(this.data).then((response) => {
if (response.statusText == "OK") {
if (response.status === 200) {
that.$refs["modal-claim-case"].hide();
that.$parent.$emit("onUpdateDataCase", {
APP_UID: this.data.APP_UID,