add dutyinfo page

This commit is contained in:
Dawn1Ocean
2024-05-07 19:49:48 +08:00
parent 1ff36f366d
commit 8f062b0e8c
5 changed files with 194 additions and 101 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ data:
```json
{
"isNormalDuty": true, // 判断是否是正常值班时间
"currentDuty": "1", // 判断是否正在值班 / 值哪一班 "1" | "2" | "3" => 正在值班,"off" => 值班下班
"currentDuty": "1", // 判断是否正在值班 / 值哪一班 "1" | "2" | "3" => 正在值班,"off" => 暂停值班, "0" => 值班下班
"inDutyCnt": 3,
"otherDutyTime": [], // 正常值班时为空
"offDutyReason": "",
@@ -81,7 +81,7 @@ data:
```json
{
"isNormalDuty": false, // 判断是否是正常值班时间
"currentDuty": "others", // 判断是否正在值班 / 值哪一班 "others" => 正在值班,"off" => 值班下班
"currentDuty": "others", // 判断是否正在值班 / 值哪一班 "others" => 正在值班,"off" => 暂停值班, "0" => 值班下班
"inDutyCnt": 3,
"otherDutyTime": [
{