|
@@ -14,7 +14,10 @@ export const createCrudOptions = function ({ crudExpose, context}: CreateCrudOpt
|
|
|
const router = useRouter();
|
|
|
|
|
|
const pageRequest = async (query: UserPageQuery) => {
|
|
|
- console.log(query);
|
|
|
+ console.log(query.status);
|
|
|
+ if(query.status==undefined){
|
|
|
+ query.status='6,7'
|
|
|
+ }
|
|
|
return await api.GetList(query);
|
|
|
};
|
|
|
const editRequest = async ({ form, row }: EditReq) => {
|
|
@@ -108,10 +111,6 @@ export const createCrudOptions = function ({ crudExpose, context}: CreateCrudOpt
|
|
|
createVNode(ElDescriptionsItem, { label: '期望薪资' }, { default: () => profile?.expected_salary || '未填写' }),
|
|
|
createVNode(ElDescriptionsItem, { label: '紧急联系人' }, { default: () => profile?.emergency_contact || '未填写' }),
|
|
|
createVNode(ElDescriptionsItem, { label: '紧急联系电话' }, { default: () => profile?.emergency_phone || '未填写' }),
|
|
|
- createVNode(ElDescriptionsItem, { label: '特长' }, { default: () => profile?.specialties || '未填写' }),
|
|
|
- createVNode(ElDescriptionsItem, { label: '人生格言' }, { default: () => profile?.life_motto || '未填写' }),
|
|
|
- createVNode(ElDescriptionsItem, { label: '招聘来源' }, { default: () => profile?.recruitment_source_name || '未填写' }),
|
|
|
- createVNode(ElDescriptionsItem, { label: '招聘来源详情' }, { default: () => profile?.recruitment_source_detail || '未填写' }),
|
|
|
]
|
|
|
})
|
|
|
}),
|
|
@@ -269,6 +268,9 @@ export const createCrudOptions = function ({ crudExpose, context}: CreateCrudOpt
|
|
|
iconRight: 'User',
|
|
|
show: true,
|
|
|
type: 'text',
|
|
|
+ click: ({ row }) => {
|
|
|
+ showUserProfileDialog(row.user.id);
|
|
|
+ }
|
|
|
|
|
|
},
|
|
|
profile: { // 添加查看个人信息按钮
|
|
@@ -314,6 +316,7 @@ export const createCrudOptions = function ({ crudExpose, context}: CreateCrudOpt
|
|
|
search: {
|
|
|
show: true,
|
|
|
layout: 'auto',
|
|
|
+ autoSearch:false,
|
|
|
buttons: {
|
|
|
search: {
|
|
|
size: 'small', // 设置查询按钮大小为small
|
|
@@ -622,11 +625,12 @@ export const createCrudOptions = function ({ crudExpose, context}: CreateCrudOpt
|
|
|
type: 'dict-select',
|
|
|
dict: dict({
|
|
|
data: [
|
|
|
- { value: 1, label: '试用期' },
|
|
|
+ /* { value: 1, label: '试用期' },
|
|
|
{ value: 2, label: '考察期' },
|
|
|
{ value: 3, label: '在职' },
|
|
|
{ value: 4, label: '已离职' },
|
|
|
- { value: 5, label: '在职已盘点' },
|
|
|
+ { value: 5, label: '在职已盘点' }, */
|
|
|
+ { value: 6, label: '曾就职' },
|
|
|
{ value: 7, label: '转入在外人才库' },
|
|
|
|
|
|
]
|