diff --git a/src/api/pages/absence/index.ts b/src/api/humanResource/absence/index.ts similarity index 65% rename from src/api/pages/absence/index.ts rename to src/api/humanResource/absence/index.ts index cb24ea9..bff63a4 100644 --- a/src/api/pages/absence/index.ts +++ b/src/api/humanResource/absence/index.ts @@ -29,4 +29,22 @@ export function queryHisDateApi(username : string) { username } }) +} + +/*获取请假列表*/ +export function listApi(params : object) { + return http({ + url: '/CxcQxj/cxcQxj/list', + method: 'GET', + data: params + }) +} + +/*获取请假数据分析*/ +export function countByOrgApi(params : object) { + return http({ + url: '/CxcQxj/cxcQxj/countByOrg', + method: 'GET', + data: params + }) } \ No newline at end of file diff --git a/src/components/PageLayout/PageLayout.vue b/src/components/PageLayout/PageLayout.vue index 720f028..359a2e5 100644 --- a/src/components/PageLayout/PageLayout.vue +++ b/src/components/PageLayout/PageLayout.vue @@ -1,5 +1,7 @@