feat(oa): add department filter on history list and export
Allow filtering OA history by initiator department including descendants, while keeping the existing all-history permission scope. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
6cd22b218d
commit
a148961b55
15 files changed
+17339
-14997
No files matched your search
@@ -432,6 +432,7 @@ export function fetchOaInstanceHistory(params: {
|
||||
applyTimeTo?: string
|
||||
finishTimeFrom?: string
|
||||
finishTimeTo?: string
|
||||
initiatorDeptId?: string
|
||||
page?: number
|
||||
pageSize?: number
|
||||
}) {
|
||||
@@ -455,6 +456,7 @@ export function fetchOaInstanceHistoryExport(params: {
|
||||
applyTimeTo?: string
|
||||
finishTimeFrom?: string
|
||||
finishTimeTo?: string
|
||||
initiatorDeptId?: string
|
||||
}) {
|
||||
return request.get<{
|
||||
appName?: string
|
||||
|
||||
Reference in new issue
Block a user