change README.md

mgy
Dawn1Ocean 2024-03-31 22:15:12 +08:00
parent 6a305705d6
commit da62939b0d
1 changed files with 40 additions and 37 deletions

View File

@ -1,57 +1,60 @@
# Ant Design Pro # Notify Admin
This project is initialized with [Ant Design Pro](https://pro.ant.design). Follow is the quick guide for how to use. ## 目标
## Environment Prepare 1. 微信小程序的信息管理页面
2. 人资部后台(长期)
Install `node_modules`: ## 功能
```bash ### 主席团管理页面
npm install
```
or 1. 值班表导入、更新
1. 值班表渲染
2. 值班表在线更改、上传后端
3. 值班表导出
2. 成员权限管理
1. 从 Auth 获取成员职位、部门
2. 主席团成员:可更改所有信息
3. 当班所有成员:可更改值班人数,可加入 Oreo可更改状态
4. 所有成员:可认领
3. 特殊维修时间(如学园维修)、值班信息更新
4. 日志
1. 记录每一次操作、操作者
5. 自动排班功能Enhancement
```bash ### 值班组长管理页面
yarn
```
## Provided Scripts ps. 是微信小程序中小组管理页面的pc端替代
Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test. 1. 值班组长上传本班相关信息
2. 值班组长上传值班总结Enhancement
Scripts provided in `package.json`. It's safe to modify or add additional script: ## UI
### Start project ### 仪表盘
```bash 1. 个人信息、职位
npm start 2. 新系统中未加入Oreo/预填写工单总数)统计
```
### Build project ### 主席团管理页面
```bash #### 值班表管理
npm run build
```
### Check code style 1. 值班表渲染
2. 值班表在线更改、上传后端
1. 特殊时间值班表不上传
3. 值班表导出
```bash #### 特殊值班时间
npm run lint
```
You can also use script to auto fix some lint error: 1. (switch) 是否启用平常值班时间
2. 若不在平常值班时间,选择录入不值班原因/特殊值班时间
```bash ### 值班组长管理页面(暂空)
npm run lint:fix
```
### Test code 1. (Enhancement) 值班总结上传
```bash ### 日志(所有人可见)
npm test
```
## More 1. 查询功能
You can view full document on our [official website](https://pro.ant.design). And welcome any feedback in our [github](https://github.com/ant-design/ant-design-pro).