This commit is contained in:
mmc
2026-05-21 13:32:11 +08:00
parent bff4f55f56
commit eee617ca83
2 changed files with 104 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import React, { useState } from 'react';
import React, { useState, useEffect } from 'react';
import {
Row, Col, Card, Button, Space, Table, Tag, Typography, Progress, Badge,
Tabs, Input, Switch, Divider, Tooltip, Timeline
@@ -31,6 +31,7 @@ import {
Maximize2,
Target
} from 'lucide-react';
import { getsinglePlan } from '@/src/api/api';
const { Text, Title } = Typography;
@@ -104,6 +105,11 @@ export default function WayLinePage() {
bg: 'linear-gradient(135deg, #E8F3FF 0%, #BAE0FF 100%)'
},
];
//useEffect(()=>{
// getsinglePlan().then(res=>{
// })
//})
return (
<div className="normal-spacing" style={{ background: '#f5f7fa', minHeight: '100vh', padding: '16px' }}>
@@ -228,7 +234,7 @@ export default function WayLinePage() {
{/* 航点列表 */}
<Card
title={<span style={{ fontSize: fontNormal, fontWeight: 700 }}>航点列表 <Text type="secondary" style={{ fontSize: 10, fontWeight: 400, marginLeft: 8 }}>航线:FL-03</Text></span>}
title={<span style={{ fontSize: fontNormal, fontWeight: 700 }}>航线列表 <Text type="secondary" style={{ fontSize: 10, fontWeight: 400, marginLeft: 8 }}>航线:FL-03</Text></span>}
size="small"
extra={<PlusOutlined style={{ cursor: 'pointer', color: '#165DFF', fontSize: 12 }} />}
bordered={false}