You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
# 资产系统前端项目
|
|
|
|
|
|
|
|
|
|
> 这是前端项目所采用的框架:Vue 3 + Vite + Bootstrap,这是DepSystem资产系统的界面代码。
|
|
|
|
|
> 框架地址:
|
|
|
|
|
地址1:https://vxetable.cn/#/table/base/basic vxeTable的说明文档。
|
|
|
|
|
地址2:https://github.com/axios/axios#axios-api Axios 的说明文档。
|
|
|
|
|
地址3:https://router.vuejs.org/installation.html VueRouter 的说明文档。
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 前端界面
|
|
|
|
|
|
|
|
|
|
效果:
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
登录提示效果:
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
项目目录结构:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
app5
|
|
|
|
|
|__ .vsconde
|
|
|
|
|
|__ node_modules
|
|
|
|
|
|__ public
|
|
|
|
|
|__ src
|
|
|
|
|
|__ assets
|
|
|
|
|
|__ components
|
|
|
|
|
|__ image
|
|
|
|
|
|__ router
|
|
|
|
|
|__ scss
|
|
|
|
|
|__ utils
|
|
|
|
|
|__ views
|
|
|
|
|
|__ main.js
|
|
|
|
|
|__ style.css
|
|
|
|
|
|__ .gitignore
|
|
|
|
|
|__ index.html
|
|
|
|
|
|__ package-lock.json
|
|
|
|
|
|__ package.json
|
|
|
|
|
|__ README.md
|
|
|
|
|
|__ vite.config.js
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 安装
|
|
|
|
|
|
|
|
|
|
运行环境:
|
|
|
|
|
|
|
|
|
|
node 16+ 版本
|
|
|
|
|
|
|
|
|
|
安装好后,下载本仓库代码。
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
git clone http://120.24.203.75:3000/DepSystem/WebVue.git
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
[代码地址](http://120.24.203.75:3000/DepSystem/WebVue.git)
|
|
|
|
|
|
|
|
|
|
接着运行
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
npm build
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
开发运行下面命令
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
npm run dev
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
打包好后,将其打包好的文件放到Spring boot的static文件夹中。
|
|
|
|
|
|
|
|
|
|
运行Spring boot项目即可。
|