1个文件已删除
	
		
		3个文件已修改
	
		
		2 文件已重命名
	
		
		1个文件已添加
	
	
 
	
	
	
	
	
	
	
	
 |  |  | 
 |  |  |     "@tweenjs/tween.js": "^21.0.0", | 
 |  |  |     "antd": "^5.16.4", | 
 |  |  |     "axios": "^1.6.2", | 
 |  |  |     "echarts": "^5.4.2", | 
 |  |  |     "echarts-for-react": "^3.0.2", | 
 |  |  |     "maath": "0.10.7", | 
 |  |  |     "react": "^18.2.0", | 
 |  |  |     "react-dom": "^18.2.0", | 
 |  |  |     "react-router-dom": "^6.15.0", | 
 |  |  |     "react-spring": "^9.7.1", | 
 |  |  |     "three": "^0.153.0", | 
 |  |  |     "valtio": "^1.12.1", | 
 |  |  |     "echarts": "^5.4.2", | 
 |  |  |     "echarts-for-react": "^3.0.2" | 
 |  |  |     "valtio": "^1.12.1" | 
 |  |  |   }, | 
 |  |  |   "devDependencies": { | 
 |  |  |     "@types/react": "^18.2.66", | 
 
 |  |  | 
 |  |  |     }); | 
 |  |  |   }; | 
 |  |  |  | 
 |  |  |   console.log(styles); | 
 |  |  |  | 
 |  |  |   return ( | 
 |  |  |     <div className="w-full mt-2" ref={cardRef}> | 
 |  |  |       {/* <BorderBox8 dur={12}> */} | 
 
| New file | 
 |  |  | 
 |  |  | // import { ScrollBoard } from '@jiaminghi/data-view-react'; | 
 |  |  |  | 
 |  |  | // const AgvCharts = () => { | 
 |  |  | //   const config = { | 
 |  |  | //     header: ['编号', '电量', '位置', '速度'], | 
 |  |  | //     data: [ | 
 |  |  | //       ['AGV1', '100%', 'A1', '1m/s'], | 
 |  |  | //       ['AGV2', '100%', 'A2', '1m/s'], | 
 |  |  | //       ['AGV3', '100%', 'A3', '1m/s'], | 
 |  |  | //       ['AGV4', '100%', 'A4', '1m/s'], | 
 |  |  | //       ['AGV5', '100%', 'A5', '1m/s'], | 
 |  |  | //       ['AGV6', '100%', 'A6', '1m/s'], | 
 |  |  | //       ['AGV7', '100%', 'A7', '1m/s'], | 
 |  |  | //       ['AGV8', '100%', 'A8', '1m/s'], | 
 |  |  | //       ['AGV9', '100%', 'A9', '1m/s'], | 
 |  |  | //       ['AGV10', '100%', 'A10', '1m/s'], | 
 |  |  | //       ['AGV11', '100%', 'A11', '1m/s'], | 
 |  |  | //     ], | 
 |  |  | //     headerBGC: '#00fff138', | 
 |  |  | //     oddRowBGC: '#00000017', | 
 |  |  | //     evenRowBGC: '#ededed13', | 
 |  |  | //     headerHeight: 28, | 
 |  |  | //     rowNum: 8, | 
 |  |  | //     columnWidth: [80, 70, 60, 100], | 
 |  |  | //   }; | 
 |  |  | //   return ( | 
 |  |  | //     <ScrollBoard | 
 |  |  | //       config={config} | 
 |  |  | //       style={{ width: '100%', height: '220px', fontSize: '12px', marginBottom: '8px' }} | 
 |  |  | //     /> | 
 |  |  | //   ); | 
 |  |  | // }; | 
 |  |  |  | 
 |  |  | // export default AgvCharts; | 
 
| File was renamed from src/pages/left/components/Capacity.tsx | 
 |  |  | 
 |  |  | // import { observer } from "mobx-react-lite"; | 
 |  |  | import React, { useEffect, useState } from 'react'; | 
 |  |  | import * as echarts from 'echarts/core'; | 
 |  |  | import ReactECharts from 'echarts-for-react'; | 
 |  |  | import { GetAreaLocationWeekSummary } from 'apis'; | 
 |  |  | import { config } from '../../config'; | 
 |  |  | import { useRequest } from 'ahooks'; | 
 |  |  |  | 
 |  |  | function Capacity() { | 
 |  |  |   const [data, setData] = useState<Record<string, any>[]>([]); | 
 |  |  |   useRequest(init, { ...config }); | 
 |  |  |  | 
 |  |  |   async function init() { | 
 |  |  |     const res = await GetAreaLocationWeekSummary<Record<string, any>[]>({}); | 
 |  |  |     setData(res.resultData || []); | 
 |  |  |   } | 
 |  |  | const CapacityCharts = () => { | 
 |  |  |   const [data, setData] = useState([]); | 
 |  |  |  | 
 |  |  |   const options = { | 
 |  |  |     title: { | 
 |  |  | 
 |  |  |  | 
 |  |  |   return <ReactECharts option={options} />; | 
 |  |  | } | 
 |  |  | // export default observer(Capacity); | 
 |  |  | export default Capacity; | 
 |  |  | export default CapacityCharts; | 
 
| File was renamed from src/pages/left/components/Task.tsx | 
 |  |  | 
 |  |  | import React from 'react'; | 
 |  |  | import ReactECharts from 'echarts-for-react'; | 
 |  |  | import { useRequest } from 'ahooks'; | 
 |  |  | import { config } from '../../config'; | 
 |  |  | import * as echarts from 'echarts/core'; | 
 |  |  | import { GetCurrentLocationSummary } from 'apis'; | 
 |  |  |  | 
 |  |  | const Task: React.FC = () => { | 
 |  |  | const TaskCharts = () => { | 
 |  |  |   const trafficWay = [ | 
 |  |  |     { | 
 |  |  |       name: 'HG', | 
 |  |  | 
 |  |  |   ); | 
 |  |  | }; | 
 |  |  |  | 
 |  |  | export default Task; | 
 |  |  | export default TaskCharts; | 
 
 |  |  | 
 |  |  | import Panel from '@/components/panel'; | 
 |  |  |  | 
 |  |  | import StockCharts from './components/stock-charts'; | 
 |  |  | // import Task from './modules/Task'; | 
 |  |  | // import AgvPanel from './modules/AgvPanel'; | 
 |  |  | import TaskCharts from './components/task-charts'; | 
 |  |  | // import AgvCharts from './components/agv-charts'; | 
 |  |  | import CapacityCharts from './components/capacity-charts'; | 
 |  |  |  | 
 |  |  | const Left = () => { | 
 |  |  |     const [isExpanded, setIsExpanded] = useState(true); | 
 |  |  | 
 |  |  |                     <StockCharts /> | 
 |  |  |                 </Panel> | 
 |  |  |                 <Panel title="库存类型"> | 
 |  |  |                     {/* <Task /> */} | 
 |  |  |                     <TaskCharts /> | 
 |  |  |                 </Panel> | 
 |  |  |                 <Panel title="AGV信息"> | 
 |  |  |                     {/* <AgvPanel /> */} | 
 |  |  |                     {/* <AgvCharts /> */} | 
 |  |  |                     <CapacityCharts /> | 
 |  |  |                 </Panel> | 
 |  |  |             </div> | 
 |  |  |             <div |