| | |
| | | const AntvScatter = asyncComponent(() => import('../components/chart/antv-scatter')) |
| | | const DataCard = asyncComponent(() => import('../components/card/data-card')) |
| | | const PropCard = asyncComponent(() => import('../components/card/prop-card')) |
| | | const DoubleDataCard = asyncComponent(() => import('../components/card/double-data-card')) |
| | | const SimpleForm = asyncComponent(() => import('../components/form/simple-form')) |
| | | const StepForm = asyncComponent(() => import('../components/form/step-form')) |
| | | const TabForm = asyncComponent(() => import('../components/form/tab-form')) |
| | |
| | | <PropCard config={item} data={data} mainSearch={mainSearch}/> |
| | | </Col> |
| | | ) |
| | | } else if (item.type === 'card' && item.subtype === 'dualdatacard') { |
| | | return ( |
| | | <Col span={item.width} style={style} key={item.uuid}> |
| | | <DoubleDataCard config={item} mainSearch={mainSearch}/> |
| | | </Col> |
| | | ) |
| | | } else if (item.type === 'table' && item.subtype === 'basetable') { |
| | | return ( |
| | | <Col span={item.width} style={style} key={item.uuid}> |