diff --git a/src/service/api/user.ts b/src/service/api/user.ts index 6ec6de6..b825c8a 100644 --- a/src/service/api/user.ts +++ b/src/service/api/user.ts @@ -13,9 +13,9 @@ export function doDeleteUser(userId: number | string) { return request({ url: `/system/user/${userId}`, method: 'delete' }); } -export function doGetUserList(params?: Api.SystemManage.UserSearchParams) { - return request({ - url: '/system/user/list', +export function doGetUserList(params?: { userName?: string; email?: string }) { + return request>({ + url: '/system/user/listUser', method: 'get', params }); diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts index 10e16c5..bce1817 100644 --- a/src/typings/components.d.ts +++ b/src/typings/components.d.ts @@ -38,6 +38,7 @@ declare module 'vue' { AppProvider: typeof import('./../components/common/app-provider.vue')['default'] ARadio: typeof import('ant-design-vue/es')['Radio'] ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup'] + ARangePicker: typeof import('ant-design-vue/es')['RangePicker'] ARow: typeof import('ant-design-vue/es')['Row'] ASegmented: typeof import('ant-design-vue/es')['Segmented'] ASelect: typeof import('ant-design-vue/es')['Select'] diff --git a/src/views/user-center/cdr/index.vue b/src/views/user-center/cdr/index.vue new file mode 100644 index 0000000..aef1310 --- /dev/null +++ b/src/views/user-center/cdr/index.vue @@ -0,0 +1,196 @@ + + + + + diff --git a/src/views/user-center/cdr/modules/cdr-search.vue b/src/views/user-center/cdr/modules/cdr-search.vue new file mode 100644 index 0000000..7e27741 --- /dev/null +++ b/src/views/user-center/cdr/modules/cdr-search.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/views/user-center/user/index.vue b/src/views/user-center/user/index.vue new file mode 100644 index 0000000..b83f0b1 --- /dev/null +++ b/src/views/user-center/user/index.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/src/views/user-center/user/modules/user-search.vue b/src/views/user-center/user/modules/user-search.vue new file mode 100644 index 0000000..b4fc830 --- /dev/null +++ b/src/views/user-center/user/modules/user-search.vue @@ -0,0 +1,99 @@ + + + diff --git a/src/views/user-center/user/type.ts b/src/views/user-center/user/type.ts new file mode 100644 index 0000000..4218379 --- /dev/null +++ b/src/views/user-center/user/type.ts @@ -0,0 +1,18 @@ +export interface UserInfo { + userId: number; + username: string; + fullname: string; + sex: 'M' | 'F'; + birthdate: string; + age: number; + email: string; + phonenumber: string; + isKYC: boolean; +} + +export type SearchModel = { + pageNum: number; + pageSize: number; + username?: string; + email?: string; +};