add dutyinfo page
This commit is contained in:
@@ -36,26 +36,31 @@ module.exports = {
|
||||
'GET /admin/duty/current': {
|
||||
success: true,
|
||||
data: {
|
||||
isNormalDuty: false,
|
||||
isNormalDuty: true,
|
||||
currentDuty: 'off',
|
||||
inDutyCnt: 3,
|
||||
otherDutyTime: [
|
||||
{
|
||||
name: '第一班',
|
||||
id: 1,
|
||||
title: '第一班',
|
||||
place: 'fsaf',
|
||||
range: ['2024-03-07T19:52:48.523303', '2024-03-07T19:52:48.523303'],
|
||||
},
|
||||
{
|
||||
name: '第二班',
|
||||
id: 2,
|
||||
title: '第二班',
|
||||
place: 'fsdhhv',
|
||||
range: ['2024-03-07T19:52:48.523303', '2024-03-07T19:52:48.523303'],
|
||||
},
|
||||
{
|
||||
name: '第三班',
|
||||
id: 3,
|
||||
title: '第三班',
|
||||
place: 'fdshq',
|
||||
range: ['2024-03-07T19:52:48.523303', '2024-03-07T19:52:48.523303'],
|
||||
},
|
||||
],
|
||||
offDutyReason: '期中考试周',
|
||||
place: '',
|
||||
dutyRecoverTime: '下周一',
|
||||
dutyRecoverTime: '2024-03-07T19:52:48.523303',
|
||||
},
|
||||
},
|
||||
'POST /admin/duty/update': {
|
||||
|
||||
Reference in New Issue
Block a user