保存进度!
This commit is contained in:
		@@ -2,8 +2,8 @@
 | 
				
			|||||||
 * @Author: Kane
 | 
					 * @Author: Kane
 | 
				
			||||||
 * @Date: 2022-12-14 15:12:46
 | 
					 * @Date: 2022-12-14 15:12:46
 | 
				
			||||||
 * @LastEditors: Kane
 | 
					 * @LastEditors: Kane
 | 
				
			||||||
 * @LastEditTime: 2023-01-28 21:38:31
 | 
					 * @LastEditTime: 2023-01-30 22:43:16
 | 
				
			||||||
 * @FilePath: \admin_system\src\router\index.js
 | 
					 * @FilePath: \IT工具综合平台\src\router\index.js
 | 
				
			||||||
 * @Description: 定义应用路由配置
 | 
					 * @Description: 定义应用路由配置
 | 
				
			||||||
 * 
 | 
					 * 
 | 
				
			||||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
					 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
				
			||||||
@@ -50,7 +50,7 @@ const routes = [
 | 
				
			|||||||
          title: "工作台",
 | 
					          title: "工作台",
 | 
				
			||||||
          icon: "house",
 | 
					          icon: "house",
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        component: () => import("../views/overview/OverView.vue"),
 | 
					        component: () => import("../views/overview/Desktop.vue"),
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,17 +2,27 @@
 | 
				
			|||||||
 * @Author: Kane
 | 
					 * @Author: Kane
 | 
				
			||||||
 * @Date: 2023-01-30 17:06:10
 | 
					 * @Date: 2023-01-30 17:06:10
 | 
				
			||||||
 * @LastEditors: Kane
 | 
					 * @LastEditors: Kane
 | 
				
			||||||
 * @LastEditTime: 2023-01-30 21:42:50
 | 
					 * @LastEditTime: 2023-01-30 22:57:51
 | 
				
			||||||
 * @FilePath: \IT工具综合平台\src\utils\global.js
 | 
					 * @FilePath: \IT工具综合平台\src\utils\global.js
 | 
				
			||||||
 * @Description: 全局方法
 | 
					 * @Description: 全局方法
 | 
				
			||||||
 * 
 | 
					 * 
 | 
				
			||||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
					 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					import { ElMessageBox } from "element-plus";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const globalFunction = {
 | 
					const globalFunction = {
 | 
				
			||||||
    deleteConfirm: (param) =>
 | 
					    deleteConfirm: () =>
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        console.log("删除确认", param);
 | 
					        ElMessageBox.confirm("确认删除当前数据吗,删除后无法恢复!", "提示",
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                confirmButtonText: "确定",
 | 
				
			||||||
 | 
					                cancelButtonText: "取消",
 | 
				
			||||||
 | 
					                showClose: false,
 | 
				
			||||||
 | 
					                closeOnClickModal: false,
 | 
				
			||||||
 | 
					                closeOnPressEscape: false,
 | 
				
			||||||
 | 
					                type: "warning",
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        ).then(()=>{});
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    message: (param) =>
 | 
					    message: (param) =>
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,8 +2,8 @@
 | 
				
			|||||||
 * @Author: Kane
 | 
					 * @Author: Kane
 | 
				
			||||||
 * @Date: 2023-01-06 15:30:12
 | 
					 * @Date: 2023-01-06 15:30:12
 | 
				
			||||||
 * @LastEditors: Kane
 | 
					 * @LastEditors: Kane
 | 
				
			||||||
 * @LastEditTime: 2023-01-28 09:44:31
 | 
					 * @LastEditTime: 2023-01-30 22:54:11
 | 
				
			||||||
 * @FilePath: \admin_system\src\views\overview\OverView.vue
 | 
					 * @FilePath: \IT工具综合平台\src\views\overview\desktop.vue
 | 
				
			||||||
 * @Description: 
 | 
					 * @Description: 
 | 
				
			||||||
 * 
 | 
					 * 
 | 
				
			||||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
					 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
				
			||||||
@@ -52,11 +52,18 @@
 | 
				
			|||||||
            <el-col :span="3"></el-col>
 | 
					            <el-col :span="3"></el-col>
 | 
				
			||||||
        </el-row>
 | 
					        </el-row>
 | 
				
			||||||
    </el-form>
 | 
					    </el-form>
 | 
				
			||||||
 | 
					    <el-button type="danger" @click="test_1">测试</el-button>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
    name: "OverVue"
 | 
					    name: "DeskTop",
 | 
				
			||||||
 | 
					    methods: {
 | 
				
			||||||
 | 
					        test_1()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            this.deleteConfirm();
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Reference in New Issue
	
	Block a user