修复报错异常
This commit is contained in:
@@ -152,6 +152,7 @@ import {
|
||||
} from "@/api/relPrivilegeManage/relPrivilegeManage.js";
|
||||
import TablePagination from "@/components/common/TablePagination";
|
||||
import { formatDate } from "@/utils/relDate";
|
||||
import { ElMessageBox } from "element-plus"; // 正确引入 ElM
|
||||
// 混入
|
||||
// import Mixin from '../../mixin/mixRegion.js';
|
||||
|
||||
@@ -228,7 +229,7 @@ export default {
|
||||
},
|
||||
// 通过
|
||||
handlePass(index, row) {
|
||||
this.$confirm("Are you sure you want to pass?", "Prompt", {
|
||||
ElMessageBox.confirm("Are you sure you want to pass?", "Prompt", {
|
||||
type: "warning",
|
||||
confirmButtonText: "Sure",
|
||||
cancelButtonText: "Cancel",
|
||||
@@ -245,7 +246,7 @@ export default {
|
||||
},
|
||||
// 拒绝
|
||||
handleReject(index, row) {
|
||||
this.$confirm("Are you sure you want to refuse?", "Prompt", {
|
||||
ElMessageBox.confirm("Are you sure you want to refuse?", "Prompt", {
|
||||
type: "warning",
|
||||
confirmButtonText: "Sure",
|
||||
cancelButtonText: "Cancel",
|
||||
@@ -263,7 +264,7 @@ export default {
|
||||
// 删除操作
|
||||
handleDelete(index, row) {
|
||||
// 二次确认删除
|
||||
this.$confirm("Are you sure you want to delete?", "Prompt", {
|
||||
ElMessageBox.confirm("Are you sure you want to delete?", "Prompt", {
|
||||
type: "warning",
|
||||
confirmButtonText: "Sure",
|
||||
cancelButtonText: "Cancel",
|
||||
|
Reference in New Issue
Block a user