提交 a337bf93 authored 作者: matian's avatar matian

updates

上级 616757a9
......@@ -3,7 +3,7 @@ import httpRequest from '@/utils/axios'
// 获取校友列表
export function getAlumniList(params?: {
username?: string
sex?: number
sex?: string
class_id?: number
province?: string
city?: string
......@@ -15,7 +15,7 @@ export function getAlumniList(params?: {
return httpRequest.get('/api/hr/admin/v1/alumni-tenants', { params })
}
// 获取校友详情
export function getAlumniView(params: { id: number }) {
export function getAlumniView(params: { id: string }) {
return httpRequest.get(`/api/hr/admin/v1/alumni-tenant/${params.id}`, { params })
}
// 获取班级列表
......@@ -23,7 +23,7 @@ export function getClassList(params: {
page?: number
limit?: number
project_prefix: string
id: number
id: string
name: string
}) {
return httpRequest.get(`/api/hr/admin/v1/classes`, { params })
......
......@@ -34,7 +34,7 @@ const listOptions = $computed(() => {
params: {
project_prefix: '',
username: '',
sex: 999,
sex: '999',
class_id: '',
province: '',
city: '',
......@@ -49,10 +49,10 @@ const listOptions = $computed(() => {
prop: 'sex',
placeholder: '性别',
options: [
{ value: 0, label: '女士' },
{ value: 1, label: '先生' },
{ value: 2, label: '未知' },
{ value: 999, label: '全部' }
{ value: '0', label: '女士' },
{ value: '1', label: '先生' },
{ value: '2', label: '未知' },
{ value: '999', label: '全部' }
]
},
{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论