169 lines
4.7 KiB
TypeScript
169 lines
4.7 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: 'nuId_dictText'
|
||
|
},
|
||
|
{
|
||
|
title: '姓名',
|
||
|
align: "center",
|
||
|
dataIndex: 'customerName'
|
||
|
},
|
||
|
{
|
||
|
title: '性别',
|
||
|
align: "center",
|
||
|
dataIndex: 'customerSex'
|
||
|
},
|
||
|
{
|
||
|
title: '年龄',
|
||
|
align: "center",
|
||
|
dataIndex: 'customerAge_dictText'
|
||
|
},
|
||
|
{
|
||
|
title: '身份证号码',
|
||
|
align: "center",
|
||
|
dataIndex: 'idCard'
|
||
|
},
|
||
|
{
|
||
|
title: '出生日期',
|
||
|
align: "center",
|
||
|
dataIndex: 'dateOfBirth'
|
||
|
},
|
||
|
{
|
||
|
title: '民族',
|
||
|
align: "center",
|
||
|
dataIndex: 'national'
|
||
|
},
|
||
|
{
|
||
|
title: '自理程度',
|
||
|
align: "center",
|
||
|
dataIndex: 'selfCareType'
|
||
|
},
|
||
|
{
|
||
|
title: '头像',
|
||
|
align: "center",
|
||
|
dataIndex: 'avatarPath',
|
||
|
customRender: render.renderImage,
|
||
|
},
|
||
|
{
|
||
|
title: '医保类型',
|
||
|
align: "center",
|
||
|
dataIndex: 'medicalType_dictText'
|
||
|
},
|
||
|
{
|
||
|
title: '医保卡号',
|
||
|
align: "center",
|
||
|
dataIndex: 'medicalCard'
|
||
|
},
|
||
|
{
|
||
|
title: '文化程度',
|
||
|
align: "center",
|
||
|
dataIndex: 'educationLevel_dictText'
|
||
|
},
|
||
|
{
|
||
|
title: '婚姻状况',
|
||
|
align: "center",
|
||
|
dataIndex: 'maritalStatus'
|
||
|
},
|
||
|
{
|
||
|
title: '宗教信仰',
|
||
|
align: "center",
|
||
|
dataIndex: 'religiousBeliefs'
|
||
|
},
|
||
|
{
|
||
|
title: '身份证正面',
|
||
|
align: "center",
|
||
|
dataIndex: 'frontIdCard',
|
||
|
customRender: render.renderImage,
|
||
|
},
|
||
|
{
|
||
|
title: '身份证反面',
|
||
|
align: "center",
|
||
|
dataIndex: 'negativeIdCard',
|
||
|
customRender: render.renderImage,
|
||
|
},
|
||
|
{
|
||
|
title: '户口本本人页',
|
||
|
align: "center",
|
||
|
dataIndex: 'accountBookHimself',
|
||
|
customRender: render.renderImage,
|
||
|
},
|
||
|
{
|
||
|
title: '医保卡正面',
|
||
|
align: "center",
|
||
|
dataIndex: 'frontMedical',
|
||
|
customRender: render.renderImage,
|
||
|
},
|
||
|
{
|
||
|
title: '医保卡反面',
|
||
|
align: "center",
|
||
|
dataIndex: 'negaticeMedical',
|
||
|
customRender: render.renderImage,
|
||
|
},
|
||
|
{
|
||
|
title: '备注',
|
||
|
align: "center",
|
||
|
dataIndex: 'content'
|
||
|
},
|
||
|
{
|
||
|
title: '当前状态',
|
||
|
align: "center",
|
||
|
dataIndex: 'currentState_dictText'
|
||
|
},
|
||
|
{
|
||
|
title: '监护人',
|
||
|
align: "center",
|
||
|
dataIndex: 'guardian'
|
||
|
},
|
||
|
{
|
||
|
title: '关系',
|
||
|
align: "center",
|
||
|
dataIndex: 'relationship'
|
||
|
},
|
||
|
{
|
||
|
title: '联系电话',
|
||
|
align: "center",
|
||
|
dataIndex: 'contactNumber'
|
||
|
},
|
||
|
{
|
||
|
title: '家庭住址',
|
||
|
align: "center",
|
||
|
dataIndex: 'homeAddress'
|
||
|
},
|
||
|
];
|
||
|
|
||
|
// 高级查询数据
|
||
|
export const superQuerySchema = {
|
||
|
nuId: {title: '护理单元',order: 0,view: 'list', type: 'string',dictCode: '',},
|
||
|
customerName: {title: '姓名',order: 1,view: 'text', type: 'string',},
|
||
|
customerSex: {title: '性别',order: 2,view: 'text', type: 'string',},
|
||
|
customerAge: {title: '年龄',order: 3,view: 'list', type: 'string',dictCode: '',},
|
||
|
idCard: {title: '身份证号码',order: 4,view: 'text', type: 'string',},
|
||
|
dateOfBirth: {title: '出生日期',order: 5,view: 'text', type: 'string',},
|
||
|
national: {title: '民族',order: 6,view: 'text', type: 'string',},
|
||
|
selfCareType: {title: '自理程度',order: 7,view: 'text', type: 'string',},
|
||
|
avatarPath: {title: '头像',order: 8,view: 'image', type: 'string',},
|
||
|
medicalType: {title: '医保类型',order: 9,view: 'list', type: 'string',dictCode: 'medical_insurance_type',},
|
||
|
medicalCard: {title: '医保卡号',order: 10,view: 'text', type: 'string',},
|
||
|
educationLevel: {title: '文化程度',order: 11,view: 'list', type: 'string',dictCode: '',},
|
||
|
maritalStatus: {title: '婚姻状况',order: 12,view: 'text', type: 'string',},
|
||
|
religiousBeliefs: {title: '宗教信仰',order: 13,view: 'text', type: 'string',},
|
||
|
frontIdCard: {title: '身份证正面',order: 14,view: 'image', type: 'string',},
|
||
|
negativeIdCard: {title: '身份证反面',order: 15,view: 'image', type: 'string',},
|
||
|
accountBookHimself: {title: '户口本本人页',order: 16,view: 'image', type: 'string',},
|
||
|
frontMedical: {title: '医保卡正面',order: 17,view: 'image', type: 'string',},
|
||
|
negaticeMedical: {title: '医保卡反面',order: 18,view: 'image', type: 'string',},
|
||
|
content: {title: '备注',order: 19,view: 'textarea', type: 'string',},
|
||
|
currentState: {title: '当前状态',order: 20,view: 'list', type: 'string',dictCode: '',},
|
||
|
guardian: {title: '监护人',order: 21,view: 'text', type: 'string',},
|
||
|
relationship: {title: '关系',order: 22,view: 'text', type: 'string',},
|
||
|
contactNumber: {title: '联系电话',order: 23,view: 'text', type: 'string',},
|
||
|
homeAddress: {title: '家庭住址',order: 24,view: 'text', type: 'string',},
|
||
|
};
|