102 lines
3.0 KiB
TypeScript
102 lines
3.0 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',
|
|
},
|
|
{
|
|
title: '性别',
|
|
align: 'center',
|
|
dataIndex: 'sex',
|
|
},
|
|
{
|
|
title: '联系电话',
|
|
align: 'center',
|
|
dataIndex: 'tel',
|
|
},
|
|
{
|
|
title: '申请日期',
|
|
align: 'center',
|
|
dataIndex: 'createTime',
|
|
},
|
|
{
|
|
title: '机构地址',
|
|
align: 'center',
|
|
dataIndex: 'orgAddress',
|
|
},
|
|
{
|
|
title: '机构负责人电话',
|
|
align: 'center',
|
|
dataIndex: 'orgLeaderPhone',
|
|
},
|
|
{
|
|
title: '机构房屋性质',
|
|
align: 'center',
|
|
dataIndex: 'orgPropertyType',
|
|
},
|
|
{
|
|
title: '机构建筑面积',
|
|
align: 'center',
|
|
dataIndex: 'orgBuildingArea',
|
|
},
|
|
{
|
|
title: '审批状态',
|
|
align: 'center',
|
|
dataIndex: 'status_dictText',
|
|
},
|
|
];
|
|
|
|
// 高级查询数据
|
|
export const superQuerySchema = {
|
|
tel: { title: '联系电话', order: 2, view: 'text', type: 'string' },
|
|
status: { title: '状态 1审核中 2审核完成 3驳回 ', order: 3, view: 'list', type: 'string', dictCode: '' },
|
|
createTime: { title: '创建日期', order: 5, view: 'datetime', type: 'string' },
|
|
izEntry: { title: '机构是否入驻0否 1是(是否入驻过)', order: 7, view: 'list', type: 'string', dictCode: '' },
|
|
name: { title: '咨询人姓名', order: 8, view: 'text', type: 'string' },
|
|
sex: { title: '性别', order: 9, view: 'text', type: 'string' },
|
|
orgAddress: { title: '机构地址', order: 24, view: 'text', type: 'string' },
|
|
orgLeaderPhone: { title: '机构负责人电话', order: 27, view: 'text', type: 'string' },
|
|
orgPropertyType: { title: '机构房屋性质', order: 29, view: 'text', type: 'string' },
|
|
orgBuildingArea: { title: '机构建筑面积', order: 30, view: 'number', type: 'number' },
|
|
};
|
|
|
|
export const applyObj = {
|
|
openId: '微信id',
|
|
wechatName: '微信名称',
|
|
tel: '联系电话',
|
|
status: '审核状态',
|
|
content: '审核备注',
|
|
createTime: '申请时间',
|
|
name: '咨询人姓名',
|
|
sex: '性别',
|
|
national: '民族',
|
|
birthDate: '出生日期',
|
|
idCardAddress: '住址',
|
|
idCard: '身份证号',
|
|
issuingAuthority: '签发机关',
|
|
startTime: '有效开始日期',
|
|
endTime: '有效结束日期',
|
|
cardZmPath: '身份证正面照片',
|
|
cardFmPath: '身份证反面照片',
|
|
comBusinessLicense: '营业执照照片',
|
|
comName: '企业名称',
|
|
comRegisterAddress: '企业注册地址',
|
|
comCreditCode: '企业信用代码',
|
|
comLegalPerson: '企业法人',
|
|
orgAddress: '机构地址',
|
|
orgLeader: '机构负责人',
|
|
orgLeaderPhone: '机构负责人电话',
|
|
orgBuildingNumber: '机构楼宇牌号',
|
|
orgPropertyType: '机构房屋性质',
|
|
orgBuildingArea: '机构建筑面积',
|
|
orgProvince: '机构省份',
|
|
orgCity: '机构城市',
|
|
orgDistrict: '机构区域',
|
|
};
|