Merge branch 'develop-cy' into 'develop'
📃 docs:【批量/单个算法配置】TimeTemplateTable模块暂时注释掉算力占用和配置路由栏目; See merge request web-project/zhst-lambo!24
This commit is contained in:
commit
7f0fe45ca9
@ -1,9 +1,10 @@
|
|||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import type { ParamsType, ProColumns, ProTableProps } from '@ant-design/pro-components';
|
import type { ParamsType, ProColumns, ProTableProps } from '@ant-design/pro-components';
|
||||||
import {
|
import {
|
||||||
ProTable,
|
ProTable,
|
||||||
} from '@ant-design/pro-components';
|
} from '@ant-design/pro-components';
|
||||||
import { InputNumber } from 'antd';
|
// import { InputNumber } from 'antd';
|
||||||
import { AnyObject } from 'antd/es/_util/type';
|
import { AnyObject } from 'antd/es/_util/type';
|
||||||
|
|
||||||
export interface TimeTemplateTableProps<DataSource, Params extends ParamsType = ParamsType, ValueType = "text"> extends ProTableProps<DataSource, Params, ValueType> {
|
export interface TimeTemplateTableProps<DataSource, Params extends ParamsType = ParamsType, ValueType = "text"> extends ProTableProps<DataSource, Params, ValueType> {
|
||||||
@ -31,16 +32,17 @@ const TimeTemplateTable = <DataSource extends AnyObject = AnyObject>(
|
|||||||
title: '布控星期',
|
title: '布控星期',
|
||||||
dataIndex: 'arrangeDay',
|
dataIndex: 'arrangeDay',
|
||||||
},
|
},
|
||||||
{
|
// TODO: 暂时先注释后续在做这个功能
|
||||||
title: '算力占用',
|
// {
|
||||||
dataIndex: 'powerOccupy',
|
// title: '算力占用',
|
||||||
},
|
// dataIndex: 'powerOccupy',
|
||||||
{
|
// },
|
||||||
title: '配置路数',
|
// {
|
||||||
key: 'option',
|
// title: '配置路数',
|
||||||
valueType: 'option',
|
// key: 'option',
|
||||||
render: (_, record) => <InputNumber value={record.lineNum} onBlur={e => onItemBlur?.(e.target.value, record.id, record)} min={0} />,
|
// valueType: 'option',
|
||||||
},
|
// render: (_, record) => <InputNumber value={record.lineNum} onBlur={e => onItemBlur?.(e.target.value, record.id, record)} min={0} />,
|
||||||
|
// },
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user