- 新增fund-admin前端项目(Vue3 + TypeScript + Element Plus)
- 登录认证、用户信息获取
- 系统管理:用户、角色、部门、菜单
- 客户管理、项目管理、需求工单
- 支出管理、应收款管理
- Dashboard首页
- 浅色系侧边栏菜单、面包屑导航
- fund-sys: 添加获取用户信息接口
- fund-exp: 添加支出类型分页接口、修复路由顺序
- fund-proj: 修复路由顺序(/page放于/{id}之前)
- fund-receipt: 新增应收款管理功能
46 lines
735 B
Vue
46 lines
735 B
Vue
<template>
|
||
<div class="error-page">
|
||
<div class="error-content">
|
||
<h1>404</h1>
|
||
<p>抱歉,您访问的页面不存在</p>
|
||
<el-button type="primary" @click="goHome">返回首页</el-button>
|
||
</div>
|
||
</div>
|
||
</template>
|
||
|
||
<script setup lang="ts">
|
||
import { useRouter } from 'vue-router'
|
||
|
||
const router = useRouter()
|
||
|
||
const goHome = () => {
|
||
router.push('/')
|
||
}
|
||
</script>
|
||
|
||
<style scoped>
|
||
.error-page {
|
||
height: 100vh;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background: #f0f2f5;
|
||
}
|
||
|
||
.error-content {
|
||
text-align: center;
|
||
}
|
||
|
||
.error-content h1 {
|
||
font-size: 120px;
|
||
color: #409eff;
|
||
margin: 0;
|
||
}
|
||
|
||
.error-content p {
|
||
font-size: 20px;
|
||
color: #666;
|
||
margin: 20px 0 30px;
|
||
}
|
||
</style>
|