Merge branch 'material-ui' of http://192.168.0.56:3000/bonus/bonus-ui into material-ui

This commit is contained in:
zzyuan 2024-12-30 10:33:58 +08:00
commit 2354c0290e
1 changed files with 6 additions and 5 deletions

View File

@ -238,6 +238,7 @@ import {
import {
outerAudit,
} from "@/api/repair/repair";
import router from "@/router";
export default {
name: "Home",
dicts: ['repair_task_status'],
@ -330,10 +331,10 @@ export default {
//
selectable(row) {
if (row.status == "1") {
return false;
} else {
if (row.taskStatus == "10" || row.taskStatus == "6") {
return true;
} else {
return false;
}
},
getList() {
@ -372,11 +373,11 @@ export default {
type: "warning",
confirmButtonText: "确定",
});
return;
} else {
outerAudit(this.passTemp).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("通过成功");
router.go(0); //
}
this.getTaskInfo();
});
@ -389,11 +390,11 @@ export default {
type: "warning",
confirmButtonText: "确定",
});
return;
} else {
outerAudit(this.failTemp).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("驳回成功");
router.go(0); //
}
this.getTaskInfo();
});