From af73a5331f8234baecb0893d4ecbb8e8c7a9aaba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=8B=BC?= <2468023037@qq.com> Date: Mon, 17 Mar 2025 19:44:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=88=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/jobuser.ts | 11 ++++++-- src/views/jobuser/index.vue | 56 ++++++++++++++++++++++++++++++++++--- 2 files changed, 60 insertions(+), 7 deletions(-) diff --git a/src/api/jobuser.ts b/src/api/jobuser.ts index 76a0e53..2d71bd3 100644 --- a/src/api/jobuser.ts +++ b/src/api/jobuser.ts @@ -42,16 +42,21 @@ export interface Refresh { export interface ListParams { black?: string; username?: string; + key:string } /** * * @param data 获取列表 * @returns */ -export function lists(key:string,status:Number) { - key=key?key:""; - return axios.post('/admin/api/v1/jobuser/lists',{key,status}); +export function lists(params: ListParams) { + params.key=params.key?params.key:""; + return axios.post('/admin/api/v1/jobuser/lists',params); } +// export function lists(key:string,status:Number) { +// key=key?key:""; +// return axios.post('/admin/api/v1/jobuser/lists',{key,status}); +// } /** * diff --git a/src/views/jobuser/index.vue b/src/views/jobuser/index.vue index 4a46d04..4bcba79 100644 --- a/src/views/jobuser/index.vue +++ b/src/views/jobuser/index.vue @@ -89,6 +89,19 @@ +
+ +