feat(web-admin): use duty staff options in schedule dialog
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
a8b5b69a1f
commit
a9c1062fbe
2 files changed
+25
-19
No files matched your search
@@ -69,3 +69,9 @@ export function deleteDutyAssignment(id: string) {
|
||||
url: `/web/admin/duty/assignments/${id}`
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchDutyUserOptions() {
|
||||
return request.get<Array<{ label: string; value: string }>>({
|
||||
url: '/web/admin/duty/users/options'
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user