feat(miniprogram): migrate mine and all application lists from bx-mobile.
Unify advance/reimburse browsing under workbench view menus with existing detail routes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
006e94ad33
commit
4c24f58b63
4 files changed
+945
-4
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import { bxRequest, bxUploadFile } from '@/utils/bxRequest'
|
||||
|
||||
export const advanceApi = {
|
||||
list: (params) => bxRequest({ url: '/advances/', method: 'GET', params }),
|
||||
my: (params) => bxRequest({ url: '/advances/my', method: 'GET', params }),
|
||||
getById: (id) => bxRequest({ url: `/advances/${id}`, method: 'GET' }),
|
||||
getApprovals: (id) => bxRequest({ url: `/advances/${id}/approvals`, method: 'GET' }),
|
||||
@@ -14,6 +15,7 @@ export const advanceApi = {
|
||||
export const reimburseApi = {
|
||||
generateTitle: (params) =>
|
||||
bxRequest({ url: '/reimburses/generate-title', method: 'GET', params }),
|
||||
list: (params) => bxRequest({ url: '/reimburses/', method: 'GET', params }),
|
||||
my: (params) => bxRequest({ url: '/reimburses/my', method: 'GET', params }),
|
||||
getById: (id) => bxRequest({ url: `/reimburses/${id}`, method: 'GET' }),
|
||||
getApprovals: (id) => bxRequest({ url: `/reimburses/${id}/approvals`, method: 'GET' }),
|
||||
|
||||
Reference in new issue
Block a user