|
@@ -209,6 +209,7 @@ export default {
|
|
|
return {
|
|
|
getPeriodStatus: () => this.periodStatus,
|
|
|
getUserInfo: this.getUserInfo,
|
|
|
+ getAllIds: () => this.allIds,
|
|
|
};
|
|
|
},
|
|
|
data() {
|
|
@@ -336,6 +337,7 @@ export default {
|
|
|
if (int === 1) {
|
|
|
this.$message.success("状态全部通过修改成功");
|
|
|
this.through = false;
|
|
|
+ this.checkAll && this.goReview();
|
|
|
}
|
|
|
if (int === 2) {
|
|
|
this.$message.success("状态全部作弊修改成功");
|
|
@@ -385,6 +387,7 @@ export default {
|
|
|
this.getUserInfo(true);
|
|
|
this.$message.success("已打回待审核状态");
|
|
|
this.popback = false;
|
|
|
+ this.goReview();
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.disabledBtn = false;
|
|
@@ -404,6 +407,7 @@ export default {
|
|
|
this.getUserInfo(true);
|
|
|
this.$message.success("审核通过");
|
|
|
this.approvedOK = false;
|
|
|
+ this.goReview();
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.disabledBtn = false;
|
|
@@ -430,6 +434,11 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
+ goReview() {
|
|
|
+ this.$router.push({
|
|
|
+ name: "ListOfhoursToBeReviewed",
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
|
|
|
created() {
|
|
@@ -444,6 +453,7 @@ export default {
|
|
|
watch: {
|
|
|
tablesData: {
|
|
|
handler() {
|
|
|
+ this.allIds = [];
|
|
|
for (const key in this.tablesData) {
|
|
|
this.getAllId(this.tablesData[key]);
|
|
|
}
|