From 47b5ce2f353d84331011a49c635625d8e3b6e958 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 9 Apr 2023 18:32:26 +0800 Subject: [PATCH] =?UTF-8?q?REVIEW=20OA=20=E8=AF=B7=E5=81=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bpm/leave/index.ts | 2 +- src/types/auto-imports.d.ts | 1 + src/views/bpm/oa/leave/create.vue | 26 +++++------ src/views/bpm/oa/leave/index.vue | 77 +++++++++++++++---------------- src/views/mp/autoReply/index.vue | 2 +- 5 files changed, 54 insertions(+), 54 deletions(-) diff --git a/src/api/bpm/leave/index.ts b/src/api/bpm/leave/index.ts index d4e1be73..d4fe8d58 100644 --- a/src/api/bpm/leave/index.ts +++ b/src/api/bpm/leave/index.ts @@ -22,6 +22,6 @@ export const getLeave = async (id: number) => { } // 获得请假申请分页 -export const getLeavePage = async (params) => { +export const getLeavePage = async (params: PageParam) => { return await request.get({ url: '/bpm/oa/leave/page', params }) } diff --git a/src/types/auto-imports.d.ts b/src/types/auto-imports.d.ts index 75cf16d9..6558357f 100644 --- a/src/types/auto-imports.d.ts +++ b/src/types/auto-imports.d.ts @@ -6,6 +6,7 @@ export {} declare global { const DICT_TYPE: typeof import('@/utils/dict')['DICT_TYPE'] const EffectScope: typeof import('vue')['EffectScope'] + const ElMessageBox: typeof import('element-plus/es')['ElMessageBox'] const computed: typeof import('vue')['computed'] const createApp: typeof import('vue')['createApp'] const customRef: typeof import('vue')['customRef'] diff --git a/src/views/bpm/oa/leave/create.vue b/src/views/bpm/oa/leave/create.vue index dd932627..dd22571a 100644 --- a/src/views/bpm/oa/leave/create.vue +++ b/src/views/bpm/oa/leave/create.vue @@ -1,5 +1,5 @@