|
@@ -207,6 +207,7 @@
|
|
|
import AddCompanyDialog from "../AddCompanyDialog.vue";
|
|
|
import { ref } from "vue";
|
|
|
import {ElMessageBox} from "element-plus";
|
|
|
+ import router from "@/router/index"
|
|
|
// import workorderForm from "./form"
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
/** 字典数组区 */
|
|
@@ -438,6 +439,9 @@
|
|
|
ElMessageBox.alert(res.msg, '消息', {
|
|
|
confirmButtonText: '确认',
|
|
|
callback: (action) => {
|
|
|
+ router.replace("/").then((res) => {
|
|
|
+ router.go(0);
|
|
|
+ });
|
|
|
},
|
|
|
})
|
|
|
})
|