PMCORE-3322 Unpause and Pause button seems not ben functional using HTTP/2.0 PMCORE_3.7.0 build
This commit is contained in:
@@ -55,7 +55,7 @@ export default {
|
||||
deleteCustomCaseList() {
|
||||
let that = this;
|
||||
api.deleteCaseList(this.data).then((response) => {
|
||||
if (response.statusText === "OK") {
|
||||
if (response.statusText === "OK" || response.status === 200) {
|
||||
that.$refs["modal-delete-list"].hide();
|
||||
that.$parent.$refs["table"].getData();
|
||||
that.$parent.$refs['ellipsis-' + that.data.id].hideActionButtons();
|
||||
|
||||
@@ -594,7 +594,7 @@ export default {
|
||||
let that = this;
|
||||
Api.cases.unpause(data.row)
|
||||
.then((response) => {
|
||||
if (response.statusText === "OK") {
|
||||
if (response.statusText === "OK" || response.status === 200) {
|
||||
that.$refs["vueTable"].getData();
|
||||
}
|
||||
})
|
||||
|
||||
@@ -164,7 +164,8 @@ export default {
|
||||
this.data.reasonPause = this.pauseData.reasonPause;
|
||||
api.cases.pauseCase(this.data)
|
||||
.then((response) => {
|
||||
if (response.statusText == "OK") {
|
||||
console.log(response);
|
||||
if (response.statusText == "OK" || response.status === 200) {
|
||||
that.$refs["modal-pause-case"].hide();
|
||||
that.$parent.$refs['ellipsis-' + that.data.TAS_UID].hideActionButtons()
|
||||
if (that.$parent.$refs["vueTable"] !== undefined) {
|
||||
|
||||
@@ -123,7 +123,7 @@ export default {
|
||||
api.cases.getUserReassign(this.data).then((response) => {
|
||||
var users = response.data.data,
|
||||
i;
|
||||
if (response.statusText == "OK") {
|
||||
if (response.statusText == "OK" || response.status === 200) {
|
||||
for (i = 0; i < users.length; i += 1) {
|
||||
that.users.push({
|
||||
value: users[i].USR_UID,
|
||||
@@ -147,7 +147,7 @@ export default {
|
||||
this.data.reasonReassign = this.reasonReassign;
|
||||
this.notifyUser = this.notifyUser;
|
||||
api.cases.reassingCase(this.data).then((response) => {
|
||||
if (response.statusText == "OK") {
|
||||
if (response.statusText == "OK" || response.status === 200) {
|
||||
that.$refs["modal-reassign-case"].hide();
|
||||
that.$parent.$refs['ellipsis-' + that.data.TAS_UID].hideActionButtons()
|
||||
if (that.$parent.$refs["vueTable"] !== undefined) {
|
||||
|
||||
@@ -53,7 +53,7 @@ export default {
|
||||
unpauseCase() {
|
||||
let that = this;
|
||||
api.cases.unpause(this.data).then((response) => {
|
||||
if (response.statusText == "OK") {
|
||||
if (response.statusText == "OK" || response.status === 200) {
|
||||
that.$refs["modal-unpause-case"].hide();
|
||||
that.$parent.$refs['ellipsis-' + that.data.TAS_UID].hideActionButtons()
|
||||
if (that.$parent.$refs["vueTable"] !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user