change /admin/reportlist api

mgy
Dawn1Ocean 2024-04-03 16:38:07 +08:00
parent 01234a6042
commit 58719b709b
2 changed files with 23 additions and 3 deletions

View File

@ -220,6 +220,17 @@ request:
### 获取反馈列表 `GET /admin/reportlist` ### 获取反馈列表 `GET /admin/reportlist`
request:
```json
{
"current": 1,
"pageSize": 10,
"name?": "西西弗", // 如果不筛选则不出现在 request-body 内
"phone?": "18888888888", // 如果不筛选则不出现在 request-body 内
}
```
data: data:
```json ```json
@ -243,6 +254,18 @@ data:
### 获取日志列表 `GET /admin/loglist` ### 获取日志列表 `GET /admin/loglist`
request:
```json
{
"current": 1,
"pageSize": 10,
"op?": "晓洋", // 如果不筛选则不出现在 request-body 内
"operation": "all" | "add" | "delete" | "change", // all 之外的选项用于筛选
"target": "all" | "dutyTable" | "dutyInfo" | "conclusion" // all 之外的选项用于筛选
}
```
data: data:
```json ```json

View File

@ -89,15 +89,12 @@ const Logs: React.FC = () => {
all: { text: '全部', status: 'Default' }, all: { text: '全部', status: 'Default' },
dutyTable: { dutyTable: {
text: '值班表', text: '值班表',
status: '0',
}, },
dutyInfo: { dutyInfo: {
text: '值班信息', text: '值班信息',
status: '1',
}, },
conclusion: { conclusion: {
text: '值班总结', text: '值班总结',
status: '2',
}, },
}, },
}, },