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 type { ParamsType, ProColumns, ProTableProps } from '@ant-design/pro-components';
|
||||
import {
|
||||
ProTable,
|
||||
} from '@ant-design/pro-components';
|
||||
import { InputNumber } from 'antd';
|
||||
// import { InputNumber } from 'antd';
|
||||
import { AnyObject } from 'antd/es/_util/type';
|
||||
|
||||
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: '布控星期',
|
||||
dataIndex: 'arrangeDay',
|
||||
},
|
||||
{
|
||||
title: '算力占用',
|
||||
dataIndex: 'powerOccupy',
|
||||
},
|
||||
{
|
||||
title: '配置路数',
|
||||
key: 'option',
|
||||
valueType: 'option',
|
||||
render: (_, record) => <InputNumber value={record.lineNum} onBlur={e => onItemBlur?.(e.target.value, record.id, record)} min={0} />,
|
||||
},
|
||||
// TODO: 暂时先注释后续在做这个功能
|
||||
// {
|
||||
// title: '算力占用',
|
||||
// dataIndex: 'powerOccupy',
|
||||
// },
|
||||
// {
|
||||
// title: '配置路数',
|
||||
// key: 'option',
|
||||
// valueType: 'option',
|
||||
// render: (_, record) => <InputNumber value={record.lineNum} onBlur={e => onItemBlur?.(e.target.value, record.id, record)} min={0} />,
|
||||
// },
|
||||
];
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user