Yansen 2 anni fa
parent
commit
560c4413be

+ 1
- 1
src/pages/Machinery/OperationStatistics/index.jsx Vedi File

20
       dataIndex: 'userName',
20
       dataIndex: 'userName',
21
       key: 'userName',
21
       key: 'userName',
22
       render: (t, record) => (
22
       render: (t, record) => (
23
-        <Link to={`/Machinery/OperationStatistics/detail?user=${record.userId}`}>{t || '-'}</Link>
23
+        <Link to={`/iot/OperationStatistics/detail?user=${record.userId}`}>{t || '-'}</Link>
24
       ),
24
       ),
25
     },
25
     },
26
     {
26
     {

+ 2
- 2
src/pages/MonitoringScreen2/components/MachineryInfo.jsx Vedi File

15
         <Col span={8}>农机名称</Col>
15
         <Col span={8}>农机名称</Col>
16
         <Col span={16}>
16
         <Col span={16}>
17
           <Link
17
           <Link
18
-            to={`/Machinery/OperationStatistics/detail?machineryId=${data.machineryId}`}
18
+            to={`/iot/OperationStatistics/detail?machineryId=${data.machineryId}`}
19
             target="_blank"
19
             target="_blank"
20
           >
20
           >
21
             {data.machineryName || ''}
21
             {data.machineryName || ''}
32
       </Row>
32
       </Row>
33
       <Row gutter={16}>
33
       <Row gutter={16}>
34
         <Col span={8}>当前状态</Col>
34
         <Col span={8}>当前状态</Col>
35
-        <Col span={16}>{data.onlineStatus === 1 ? '在线' : '线'}</Col>
35
+        <Col span={16}>{data.onlineStatus === 1 ? '在线' : '线'}</Col>
36
       </Row>
36
       </Row>
37
       <Row gutter={16}>
37
       <Row gutter={16}>
38
         <Col span={8}>位置信息</Col>
38
         <Col span={8}>位置信息</Col>