/* * @Author: donghao donghao@supervision.ltd * @Date: 2024-04-23 17:00:00 * @LastEditors: donghao donghao@supervision.ltd * @LastEditTime: 2024-04-28 17:55:58 * @FilePath: \general-ai-platform-web\src\pages\Business\DeviceGroup\components\baseInfo.tsx * @Description: 基本信息展示 * */ import { ProDescriptions } from '@ant-design/pro-components'; import { FormattedMessage } from '@umijs/max'; type BaseInfoProps = { info: Record; }; const BaseInfo: React.FC = ({ info }) => { // 设备基本信息 const DeviceDetailColumns = [ { title: , dataIndex: 'name', }, { title: , dataIndex: 'fatherName', }, { title: , dataIndex: 'address', }, { title: , dataIndex: 'lonlat', render: (_, record) => { return record?.lon + ',' + record?.lat; }, }, { title: , dataIndex: 'managerName', }, { title: ( ), dataIndex: 'managerPhone', }, { title: , dataIndex: 'remark', }, ]; return (
); }; export default BaseInfo;