From 424520490dc0e35539c307f97e98a6937186a19c Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 13 Nov 2022 01:30:37 +0800 Subject: [PATCH] =?UTF-8?q?vue3=EF=BC=9A=E3=80=90post=E3=80=91=201.=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20TODO=20=E4=BF=AE=E6=94=B9=E5=BB=BA?= =?UTF-8?q?=E8=AE=AE=202.=20=E5=A2=9E=E5=8A=A0=E6=B3=A8=E9=87=8A=203.=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=80=E4=BA=9B=20import=E3=80=81const=20?= =?UTF-8?q?=E7=9A=84=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/system/post/index.ts | 1 + .../src/api/system/post/types.ts | 1 + .../src/views/system/post/index.vue | 42 +++++++++++++------ 3 files changed, 31 insertions(+), 13 deletions(-) diff --git a/yudao-ui-admin-vue3/src/api/system/post/index.ts b/yudao-ui-admin-vue3/src/api/system/post/index.ts index 19f38657a..3401359da 100644 --- a/yudao-ui-admin-vue3/src/api/system/post/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/post/index.ts @@ -31,6 +31,7 @@ export const deletePostApi = async (id: number) => { } // 导出岗位 +// TODO @星语:导出这块,咱怎么弄哈 export const exportPostApi = async (params: PostExportReqVO) => { return await request.download({ url: '/system/post/export', params }) } diff --git a/yudao-ui-admin-vue3/src/api/system/post/types.ts b/yudao-ui-admin-vue3/src/api/system/post/types.ts index 9986c3d6b..fc239e30e 100644 --- a/yudao-ui-admin-vue3/src/api/system/post/types.ts +++ b/yudao-ui-admin-vue3/src/api/system/post/types.ts @@ -8,6 +8,7 @@ export type PostVO = { createTime?: string } +// TODO @星语:要不要搞个 Page 基类呀?和后端对应 export type PostPageReqVO = { code: string name: string diff --git a/yudao-ui-admin-vue3/src/views/system/post/index.vue b/yudao-ui-admin-vue3/src/views/system/post/index.vue index 27f57d730..160113009 100644 --- a/yudao-ui-admin-vue3/src/views/system/post/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/post/index.vue @@ -1,6 +1,8 @@