import { PlusOutlined, ProfileOutlined, SearchOutlined } from '@ant-design/icons'; import {Button, Card, Col, DatePicker, Input, Menu, Row, Select, Space, Tree} from 'antd'; import React, { useState } from 'react'; import CancelCrud from '../../../../components/crud/CancelCrud'; import useCrud from '../../../../components/crud/useCrud'; import usePageTable from '../../../../components/crud/usePageTable'; import {QualityManageTab2, PageResult, SearchOption, Role} from '../../../../service/def'; import { demoDate } from '../../../../utils/utils'; import DataForm from './DataForm'; import DataTable from './DataTable'; const { Option } = Select; async function demofind(): Promise> { return { list: [ { dwgcName: "单位工程一", fbgcName: '/', sgdw: '建筑公司', gclx: '枢纽工程', pdrq:'2月1号', }, { dwgcName: "单位工程一", fbgcName: '/', sgdw: '建筑公司', gclx: '堤防工程', pdrq:'2月10号', }, { dwgcName: "单位工程一", fbgcName: '/', sgdw: '建筑公司', gclx: '引水(渠道)工程', pdrq:'2月10号', }, { dwgcName: "单位工程一", fbgcName: '分部工程1', sgdw: '建筑公司', gclx: '其他工程', pdrq:'2月10号', } ], totalRow: 4 }; } const DesignPackagePage: React.FC = () => { const crud = useCrud(); const pager = usePageTable(demofind); return (
{ crud.mode === 'new' ? ( } > ) : null } { !crud.mode ? ( <> 单位工程: 施工时间:
) : null }
) } export default DesignPackagePage