FenXiNspBackControl/src/views/appmana/enterprise/SurvEnterpriseInfo.data.ts

103 lines
1.8 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
//列表数据
export const columns: BasicColumn[] = [
{
title: '企业名称',
align: "center",
dataIndex: 'entName'
},
{
title: '信用代码',
align: "center",
dataIndex: 'entCredit'
},
{
title: '企业编号',
align: "center",
dataIndex: 'entCode'
},
{
title: '负责人',
align: "center",
dataIndex: 'entCharge'
},
{
title: '联系电话',
align: "center",
dataIndex: 'entPhone'
},
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
{
label: '企业名称',
field: 'entName',
component: 'Input',
},
{
label: '信用代码',
field: 'entCredit',
component: 'Input',
},
{
label: '企业编号',
field: 'entCode',
component: 'Input',
},
{
label: '负责人',
field: 'entCharge',
component: 'Input',
},
{
label: '联系电话',
field: 'entPhone',
component: 'Input',
},
{
label: '租户号',
field: 'tenantId',
component: 'Input',
},
{
label: '乐观锁',
field: 'reVision',
component: 'InputNumber',
},
{
label: '创建人',
field: 'createdBy',
component: 'Input',
},
{
label: '更新人',
field: 'updatedBy',
component: 'Input',
},
{
label: '逻辑删除',
field: 'isDel',
component: 'InputNumber',
},
{
label: '更新时间',
field: 'updatedTime',
component: 'DatePicker',
},
// TODO 主键隐藏字段目前写死为ID
{
label: '',
field: 'id',
component: 'Input',
show: false,
},
];