143 lines
3.5 KiB
TypeScript
143 lines
3.5 KiB
TypeScript
import { BasicColumn } from '/@/components/Table';
|
|
import { FormSchema } from '/@/components/Table';
|
|
import { rules } from '/@/utils/helper/validator';
|
|
import { render } from '/@/utils/common/renderUtils';
|
|
import { getWeekMonthQuarterYear } from '/@/utils';
|
|
//列表数据
|
|
export const columns: BasicColumn[] = [
|
|
{
|
|
title: '员工姓名',
|
|
align: 'center',
|
|
dataIndex: 'name',
|
|
width: 120
|
|
},
|
|
{
|
|
title: '性别',
|
|
align: 'center',
|
|
dataIndex: 'sex',
|
|
width: 120
|
|
},
|
|
{
|
|
title: '年龄',
|
|
align: 'center',
|
|
dataIndex: 'dateOfBirth',
|
|
width: 120
|
|
},
|
|
{
|
|
title: '联系电话',
|
|
align: 'center',
|
|
dataIndex: 'tel',
|
|
},
|
|
{
|
|
title: '申请日期',
|
|
align: 'center',
|
|
dataIndex: 'createTime',
|
|
},
|
|
{
|
|
title: '审核状态',
|
|
align: 'center',
|
|
dataIndex: 'status',
|
|
width: 120
|
|
},
|
|
// {
|
|
// title: '审核备注',
|
|
// align: "center",
|
|
// dataIndex: 'auditContent'
|
|
// },
|
|
];
|
|
|
|
//列表数据
|
|
export const columns1: BasicColumn[] = [
|
|
{
|
|
title: '员工姓名',
|
|
align: 'center',
|
|
dataIndex: 'name',
|
|
},
|
|
{
|
|
title: '员工性别',
|
|
align: 'center',
|
|
dataIndex: 'sex',
|
|
},
|
|
{
|
|
title: '员工年龄',
|
|
align: 'center',
|
|
dataIndex: 'dateOfBirth',
|
|
},
|
|
{
|
|
title: '联系电话',
|
|
align: 'center',
|
|
dataIndex: 'tel',
|
|
},
|
|
{
|
|
title: '邀请时间',
|
|
align: 'center',
|
|
dataIndex: 'createTime',
|
|
},
|
|
{
|
|
title: '邀请状态',
|
|
align: 'center',
|
|
dataIndex: 'status',
|
|
},
|
|
// {
|
|
// title: '审核备注',
|
|
// align: "center",
|
|
// dataIndex: 'auditContent'
|
|
// },
|
|
];
|
|
|
|
// 高级查询数据
|
|
export const superQuerySchema = {
|
|
name: { title: '姓名', order: 0, view: 'text', type: 'string' },
|
|
sex: { title: '性别', order: 1, view: 'radio', type: 'string', dictCode: '' },
|
|
tel: { title: '联系电话', order: 4, view: 'text', type: 'string' },
|
|
createTime: { title: '申请日期', order: 27, view: 'datetime', type: 'string' },
|
|
status: { title: '申请状态 0历史 1申请中 2通过 3驳回', order: 28, view: 'text', type: 'string' },
|
|
auditContent: { title: '审核备注', order: 29, view: 'text', type: 'string' },
|
|
};
|
|
|
|
export const applyObj = {
|
|
id: '员工申请ID',
|
|
openId: '微信OpenID',
|
|
employeeId: '员工ID',
|
|
name: '姓名',
|
|
sex: '性别',
|
|
national: '民族',
|
|
idCard: '身份证号',
|
|
tel: '联系电话',
|
|
dateOfBirth: '出生日期',
|
|
marriedOrNot: '婚否',
|
|
height: '身高(cm)',
|
|
weight: '体重(kg)',
|
|
address: '家庭住址',
|
|
isSmoking: '是否吸烟',
|
|
healthStatus: '健康状况',
|
|
houseAddress: '住址',
|
|
politicalAppearance: '政治面貌',
|
|
emergencyContact: '紧急联系人',
|
|
emergencyTel: '紧急联系人电话',
|
|
emergencyRelationship: '与本人关系',
|
|
hukouNature: '户口性质',
|
|
idCardPositive: '身份证人像面',
|
|
idCardNegative: '身份证国徽面',
|
|
healthCertificatePositive: '健康证正面',
|
|
healthCertificateNegative: '健康证反面',
|
|
bankPositive: '银行卡正面',
|
|
bankNegative: '银行卡反面',
|
|
openingBank: '开户行',
|
|
bankCard: '银行卡号',
|
|
qualification: '资质证',
|
|
noCrimeCertificate: '无犯罪证明',
|
|
regional: '区域',
|
|
delFlag: '是否删除',
|
|
createTime: '申请日期',
|
|
updateBy: '更新人',
|
|
updateTime: '更新日期',
|
|
status: '申请状态',
|
|
auditContent: '审核备注',
|
|
izHistory: '是否历史数据',
|
|
applyType: '申请类型',
|
|
startTime: '有效开始日期',
|
|
endTime: '有效结束日期',
|
|
currentAddress: '现住址',
|
|
};
|