123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 |
- import { BasicColumn } from '/@/components/Table';
- export const chartsColumns = (deviceType) => {
- if (deviceType === '') {
- return [];
- }
- };
- export const locationList = [
- {
- title: '风门',
- deviceType: 'gate',
- isVisible: 0,
- },
- {
- title: '风窗',
- deviceType: 'gate1',
- isVisible: 0,
- },
- {
- title: '测风装置',
- deviceType: 'gate2',
- isVisible: 0,
- },
- {
- title: '传感器',
- deviceType: 'gate3',
- isVisible: 0,
- },
- {
- title: '局部风机',
- deviceType: 'gate4',
- isVisible: 0,
- },
- {
- title: '主风机',
- deviceType: 'gate5',
- isVisible: 0,
- },
- {
- title: '风筒',
- deviceType: 'gate6',
- isVisible: 0,
- },
- {
- title: '密闭墙',
- deviceType: 'gate7',
- isVisible: 0,
- },
- ];
- // export const searchFormSchema: FormSchema[] = [
- // {
- // label: '查询日期',
- // field: 'tData',
- // component: 'DatePicker',
- // defaultValue: dayjs(),
- // componentProps: {
- // valueFormat: 'YYYY-MM-DD',
- // },
- // },
- // {
- // label: '时间区间',
- // field: 'tickectDate',
- // component: 'TimeRangePicker',
- // componentProps: {
- // placeholder: ['开始时间', '结束时间'],
- // valueFormat: 'HH:mm:ss',
- // },
- // },
- // {
- // label: '设备类型',
- // field: 'gdeviceid',
- // component: 'ApiSelect',
- // componentProps: {
- // api: props.deviceListApi,
- // resultField: 'records',
- // labelField: 'strname',
- // valueField: 'id',
- // },
- // },
- // {
- // label: '间隔时间',
- // field: 'skip',
- // component: 'Select',
- // componentProps: {
- // options: [
- // {
- // label: '5秒',
- // value: '1',
- // },
- // {
- // label: '10秒',
- // value: '2',
- // },
- // {
- // label: '1分钟',
- // value: '3',
- // },
- // {
- // label: '5分钟',
- // value: '4',
- // },
- // {
- // label: '10分钟',
- // value: '5',
- // },
- // ],
- // },
- // },
- // ];
- export const majorColumns: BasicColumn[] = [
- {
- title: '序号',
- dataIndex: '',
- key: 'rowIndex',
- width: 60,
- align: 'center',
- customRender: ({ index }) => {
- return `${index}`;
- },
- },
- {
- title: '测段名称',
- align: 'center',
- dataIndex: 'name',
- width: 110,
- },
- {
- title: '始点',
- children: [
- {
- title: '测点位置',
- align: 'center',
- dataIndex: 'name1',
- width: 140,
- },
- {
- title: '风压(Pa)',
- align: 'center',
- dataIndex: 'pressure1',
- width: 100,
- },
- // {
- // title:'风压(KPa)',
- // align:"center",
- // dataIndex: 'name1'
- // },
- {
- title: '密度(kg/m3)',
- align: 'center',
- dataIndex: 'density1',
- width: 100,
- },
- {
- title: '标高(m)',
- align: 'center',
- dataIndex: 'elevation1',
- width: 100,
- },
- ],
- },
- {
- title: '末点',
- children: [
- {
- title: '测点位置',
- align: 'center',
- dataIndex: 'name2',
- width: 140,
- },
- {
- title: '风压(Pa)',
- align: 'center',
- dataIndex: 'pressure2',
- width: 100,
- },
- // {
- // title:'风压(KPa)',
- // align:"center",
- // dataIndex: 'name1'
- // },
- {
- title: '密度(kg/m3)',
- align: 'center',
- dataIndex: 'density2',
- width: 100,
- },
- {
- title: '标高(m)',
- align: 'center',
- dataIndex: 'elevation2',
- width: 100,
- },
- ],
- },
- {
- title: '风量(m³/min)',
- align: 'center',
- dataIndex: 'm3',
- width: 110,
- },
- {
- title: '阻力(Pa)',
- align: 'center',
- dataIndex: 'drag',
- width: 100,
- },
- {
- title: '风阻(Ns²/m^8)',
- align: 'center',
- dataIndex: 'wdrag',
- width: 110,
- },
- {
- title: '更新时间',
- dataIndex: 'datatime',
- align: 'center',
- width: 127,
- },
- ];
|