diff --git a/code/web/IT工具综合平台/src/router/index.js b/code/web/IT工具综合平台/src/router/index.js
index 1148190..900ce8a 100644
--- a/code/web/IT工具综合平台/src/router/index.js
+++ b/code/web/IT工具综合平台/src/router/index.js
@@ -2,8 +2,8 @@
* @Author: Kane
* @Date: 2022-12-14 15:12:46
* @LastEditors: Kane
- * @LastEditTime: 2023-01-28 21:38:31
- * @FilePath: \admin_system\src\router\index.js
+ * @LastEditTime: 2023-01-30 22:43:16
+ * @FilePath: \IT工具综合平台\src\router\index.js
* @Description: 定义应用路由配置
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
@@ -50,7 +50,7 @@ const routes = [
title: "工作台",
icon: "house",
},
- component: () => import("../views/overview/OverView.vue"),
+ component: () => import("../views/overview/Desktop.vue"),
},
],
},
diff --git a/code/web/IT工具综合平台/src/utils/global.js b/code/web/IT工具综合平台/src/utils/global.js
index b4b4cdb..2f31119 100644
--- a/code/web/IT工具综合平台/src/utils/global.js
+++ b/code/web/IT工具综合平台/src/utils/global.js
@@ -2,17 +2,27 @@
* @Author: Kane
* @Date: 2023-01-30 17:06:10
* @LastEditors: Kane
- * @LastEditTime: 2023-01-30 21:42:50
+ * @LastEditTime: 2023-01-30 22:57:51
* @FilePath: \IT工具综合平台\src\utils\global.js
* @Description: 全局方法
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
+import { ElMessageBox } from "element-plus";
const globalFunction = {
- deleteConfirm: (param) =>
+ deleteConfirm: () =>
{
- console.log("删除确认", param);
+ ElMessageBox.confirm("确认删除当前数据吗,删除后无法恢复!", "提示",
+ {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ showClose: false,
+ closeOnClickModal: false,
+ closeOnPressEscape: false,
+ type: "warning",
+ }
+ ).then(()=>{});
},
message: (param) =>
{
diff --git a/code/web/IT工具综合平台/src/views/overview/OverView.vue b/code/web/IT工具综合平台/src/views/overview/Desktop.vue
similarity index 87%
rename from code/web/IT工具综合平台/src/views/overview/OverView.vue
rename to code/web/IT工具综合平台/src/views/overview/Desktop.vue
index 5e2752e..62a0049 100644
--- a/code/web/IT工具综合平台/src/views/overview/OverView.vue
+++ b/code/web/IT工具综合平台/src/views/overview/Desktop.vue
@@ -2,8 +2,8 @@
* @Author: Kane
* @Date: 2023-01-06 15:30:12
* @LastEditors: Kane
- * @LastEditTime: 2023-01-28 09:44:31
- * @FilePath: \admin_system\src\views\overview\OverView.vue
+ * @LastEditTime: 2023-01-30 22:54:11
+ * @FilePath: \IT工具综合平台\src\views\overview\desktop.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
@@ -52,11 +52,18 @@
+ 测试