|
@@ -1152,13 +1152,13 @@
|
|
|
// let ids = row.id;
|
|
// let ids = row.id;
|
|
|
deleteScheduleWorkOrder(row.id)
|
|
deleteScheduleWorkOrder(row.id)
|
|
|
.then((res) => {
|
|
.then((res) => {
|
|
|
- this.pageLoading = false;
|
|
|
|
|
this.$message.success(res.data.msg);
|
|
this.$message.success(res.data.msg);
|
|
|
- this.getScheduleWorkOrder({});
|
|
|
|
|
})
|
|
})
|
|
|
- .catch(() => {
|
|
|
|
|
|
|
+ .finally(() => {
|
|
|
this.pageLoading = false;
|
|
this.pageLoading = false;
|
|
|
- });
|
|
|
|
|
|
|
+ this.getScheduleWorkOrder({});
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(() => {});
|
|
|
})
|
|
})
|
|
|
.catch(() => {});
|
|
.catch(() => {});
|
|
|
}
|
|
}
|