1
0
mirror of https://github.com/fumiama/paper-manager.git synced 2026-06-08 17:40:23 +08:00

Update README.md

This commit is contained in:
源文雨
2023-03-22 15:06:02 +08:00
committed by GitHub
parent 9f97d66600
commit 4c39a08d20

View File

@@ -29,6 +29,18 @@
### 忘记密码
点击`忘记密码`后填写用户名与手机号码,再点击`重置`,即可将重置消息报告给课程组长,由课程组长电话联系确认无误后,在系统中批准进行密码重置。
> 上报消息时访问`/api/resetPassword`
<table>
<tr>
<td align="center"><img src="https://user-images.githubusercontent.com/41315874/226824943-4b8f8a24-4393-4c90-bd27-f7ca38e8f01c.png"></td>
<td align="center"><img src="https://user-images.githubusercontent.com/41315874/226824951-ae61494c-d6ce-4358-8fa3-f6b24eee3afc.png"></td>
</tr>
<tr>
<td align="center">填写信息</td>
<td align="center">上报消息</td>
</tr>
</table>
### 注册
点击`注册`后填写用户名、手机号与密码,再点击`注册`,即可将注册消息报告给课程组长,由课程组长电话联系确认无误后,在系统中批准以所填信息创建账号。
> 上报消息时访问`/api/register`
@@ -80,14 +92,6 @@
![analysis](https://user-images.githubusercontent.com/41315874/226802920-f6b43a7b-6191-4dcb-9f48-364c161c1cfd.png)
## 仪表板/用户管理
此页仅课程组长可见,提供用户管理功能。
> 载入时访问`/api/getUsersList`
> 禁用账户时访问`/api/disableUser`
> 设置用户权限时访问`/api/setRole`
## 仪表板/工作台 /dashboard/workbench
显示用户收到的消息,用户可以选择`删除`已读消息。对于课程组长,还提供对`注册``重置密码`消息的快捷处理按钮`接受`,可以快速执行相应操作。下面是一个演示。
> 载入时访问`/api/getUsersCount` `/api/getMessageList`
@@ -118,6 +122,33 @@
![workbench demo 5](https://user-images.githubusercontent.com/41315874/226811656-a6e4238f-2dbe-4a49-a50f-3d2075838cb8.png)
## 仪表板/用户管理 /dashboard/account
此页仅课程组长可见,提供用户管理功能,可以禁用用户、编辑用户权限和信息。下面是一个管理用户的例子。
> 载入时访问`/api/getUsersList`
> 禁用账户时访问`/api/disableUser`
> 设置用户信息时访问`/api/setUserInfo`
> 设置用户权限时访问`/api/setRole`
### 1. 上一板块演示后的用户管理界面状态
![account demo 1](https://user-images.githubusercontent.com/41315874/226825676-e943d841-eb5f-4292-b4d5-a7f91cf48962.png)
### 2. 课程组长编辑filemgr用户的信息
![account demo 2](https://user-images.githubusercontent.com/41315874/226825963-0f4c70aa-d1ec-4215-a7ed-d81c540a66d4.png)
### 3. A老师(filemgr)工作台上的显示
![account demo 3](https://user-images.githubusercontent.com/41315874/226826317-daa537a7-abaf-44b0-9377-d057573223cd.png)
### 4. 课程组长禁用filemgr用户
![account demo 4](https://user-images.githubusercontent.com/41315874/226826425-66a42bcf-5a5a-455c-8aad-1117b7c3ccae.png)
### 5. filemgr用户无法登陆
![account demo 5](https://user-images.githubusercontent.com/41315874/226826516-cfdc18c7-f59f-4759-a008-7baca34f1a30.png)
### 6. filemgr用户通过重置密码向课程组长发出恢复账号申请
![account demo 6](https://user-images.githubusercontent.com/41315874/226826700-99e8a639-58db-499f-9629-756fc5e5e49f.png)
### 7. 课程组长接受申请
![account demo 7](https://user-images.githubusercontent.com/41315874/226826829-6dec3a7a-8386-4d33-aa6e-cea26cc846e9.png)
### 8. A老师(filemgr)成功登录进入工作台
![account demo 8](https://user-images.githubusercontent.com/41315874/226826932-2c365095-a35e-477f-ace7-a98452c24db4.png)
## 试卷库 /filelist