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: 'companyName' }, { title: '公司类型', align:"center", dataIndex: 'companyType_dictText' }, { title: '电话', align:"center", dataIndex: 'companyPhone' }, { title: '公司地址', align:"center", dataIndex: 'companyAddress' }, { title: '换热站个数', align:"center", dataIndex: 'barterHeat' }, { title: '锅炉房个数', align:"center", dataIndex: 'boilerHouse' }, ]; //查询数据 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}, }, ];