panshi_vue_new/src/views/base/company/Thermalcompany.data.ts

62 lines
1.3 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: 'id'
},
{
title: '公司名称',
align:"center",
dataIndex: 'companyName'
},
{
title: '公司类型',
align:"center",
dataIndex: 'companyType_dictText'
},
{
title: '锅炉房个数',
align:"center",
dataIndex: 'boilerHouse'
},
{
title: '换热站个数',
align:"center",
dataIndex: 'barterHeat'
},
{
title: '电话',
align:"center",
dataIndex: 'companyPhone'
},
{
title: '公司地址',
align:"center",
dataIndex: 'companyAddress'
},
];
//查询数据
export const searchFormSchema: FormSchema[] = [
{
label: "公司名称",
field: 'companyName',
component: 'Input',
//colProps: {span: 6},
},
{
label: "公司类型",
field: 'companyType',
component: 'JSelectMultiple',
componentProps:{
dictCode:"h_company_type"
},
//colProps: {span: 6},
},
];