move conclusion to admin; add protable in conclusion

This commit is contained in:
Dawn1Ocean
2024-04-16 11:51:17 +08:00
parent 2731f5560f
commit d6a42f6087
6 changed files with 261 additions and 0 deletions
+38
View File
@@ -315,3 +315,41 @@ data:
```
前端显示的信息:"{op} 于 {time} {operation} 了 {target}:{prev.info} -> {curr.info}"
## 值班总结管理页面
### 获取值班总结列表 `GET /admin/conclusionlist`
request:
```json
{
"current": 1,
"pageSize": 10,
"op?": "晓洋", // 如果不筛选则不出现在 request-body 内
"week": "all" | "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun", // all 之外的选项用于筛选
"shift": "all" | "first" | "second" | "third" // all 之外的选项用于筛选
}
```
data:
```json
{
"page": 1,
"total": 24,
"success": true,
"data": [
{
"op": "宇航员",
"avatar": "https://...",
"time": "2024-03-07T19:52:48.523303",
"week": "2",
"shift": "3",
}
// ...
]
}
```
前端显示的信息:"{op} 于 {time} 上传了{week}{shift}值班总结"