feat(web-admin): use duty staff options in schedule dialog

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-08-17 18:25:57 +08:00
1 parent a8b5b69a1f
commit a9c1062fbe
2 files changed
+25 -19

No files matched your search

+6
View File
@@ -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'
})
}