Your Name il y a 2 ans
Parent
révision
db85c2d9b0

+ 1
- 1
config/defaultSettings.js Voir le fichier

@@ -7,7 +7,7 @@ const Settings = {
7 7
   fixedHeader: false,
8 8
   fixSiderbar: true,
9 9
   colorWeak: false,
10
-  title: '南阳智慧农机系统',
10
+  title: '邓州市源盛农机数据可视化平台',
11 11
   pwa: false,
12 12
   menu: {
13 13
     locale: false,

+ 2
- 2
config/proxy.js Voir le fichier

@@ -11,9 +11,9 @@ export default {
11 11
     // localhost:8000/api/** -> https://preview.pro.ant.design/api/**
12 12
     '/api/': {
13 13
       // 要代理的地址
14
-      // target: 'http://192.168.89.147:7080',
14
+      target: 'http://127.0.0.1:7080',
15 15
       // target: 'http://192.168.89.25:7080',
16
-      target: 'http://machine.njyunzhi.com',
16
+      // target: 'http://machine.njyunzhi.com',
17 17
       // 配置了这个可以从 http 代理到 https
18 18
       // 依赖 origin 的功能可能需要这个,比如 cookie
19 19
       changeOrigin: true,

BIN
src/assets/images/screen/header-title.png Voir le fichier


+ 2
- 1
src/components/ScreenBox/ScreenHeader/style.less Voir le fichier

@@ -42,7 +42,8 @@
42 42
     justify-content: center;
43 43
 
44 44
     & > img {
45
-      height: 50%;
45
+      width: 48%;
46
+      height: 48%;
46 47
     }
47 48
   }
48 49
 

+ 16
- 19
src/pages/MonitoringScreen/index.jsx Voir le fichier

@@ -1,18 +1,17 @@
1
-import React, { useCallback, useEffect, useRef, useState } from 'react';
2
-import { history, Link } from 'umi';
3
-import classNames from 'classnames';
4
-import ScreenHeader from '@/components/ScreenBox/ScreenHeader';
1
+import getWeather from '@/components/AMap/weather';
5 2
 import GeoMap from '@/components/GeoMap';
6
-import StatisCard from '@/components/ScreenBox/StatisCard';
3
+import ScreenHeader from '@/components/ScreenBox/ScreenHeader';
7 4
 import SquareBox from '@/components/ScreenBox/SquareBox';
8
-import getWeather from '@/components/AMap/weather';
9
-import { useParticlesJs } from './hook';
10
-import MachineryType from './components/MachineryType';
5
+import StatisCard from '@/components/ScreenBox/StatisCard';
6
+import classNames from 'classnames';
7
+import { useEffect, useRef, useState } from 'react';
11 8
 import MachineryStatus from './components/MachineryStatus';
9
+import MachineryType from './components/MachineryType';
10
+import { useParticlesJs } from './hook';
12 11
 
13
-import WorkArea from './components/WorkArea';
14
-import List from './components/List';
15 12
 import ColorFont from './components/ColorFont';
13
+import List from './components/List';
14
+import WorkArea from './components/WorkArea';
16 15
 import WorkData from './components/WorkData';
17 16
 import Styles from './style.less';
18 17
 
@@ -197,12 +196,11 @@ export default (props) => {
197 196
                   </div>
198 197
                   <div>
199 198
                     <ColorFont color="#F5CC5C">[幸福人生]</ColorFont> 58分钟前预约了一台收割机,
200
-                    <ColorFont color="#44F68B">[播种机008]</ColorFont> 接到了此订单!尽快赶到!
199
+                    <ColorFont color="#44F68B">[播种机008]</ColorFont> 接到了此订单!
201 200
                   </div>
202 201
                   <div>
203 202
                     <ColorFont color="#F5CC5C">[灿烂人生]</ColorFont> 2个小时前预约了一台收割机,
204
-                    <ColorFont color="#44F68B">[收割机007]</ColorFont>{' '}
205
-                    接到了此订单!正在赶往目的地!
203
+                    <ColorFont color="#44F68B">[收割机007]</ColorFont> 接到了此订单!
206 204
                   </div>
207 205
                   <div>
208 206
                     <ColorFont color="#F5CC5C">[快乐每一天]</ColorFont> 32s前预约了一台收割机,
@@ -210,12 +208,11 @@ export default (props) => {
210 208
                   </div>
211 209
                   <div>
212 210
                     <ColorFont color="#F5CC5C">[幸福人生]</ColorFont> 58分钟前预约了一台收割机,
213
-                    <ColorFont color="#44F68B">[播种机008]</ColorFont> 接到了此订单!尽快赶到!
211
+                    <ColorFont color="#44F68B">[播种机008]</ColorFont> 接到了此订单!
214 212
                   </div>
215 213
                   <div>
216 214
                     <ColorFont color="#F5CC5C">[灿烂人生]</ColorFont> 2个小时前预约了一台收割机,
217
-                    <ColorFont color="#44F68B">[收割机007]</ColorFont>{' '}
218
-                    接到了此订单!正在赶往目的地!
215
+                    <ColorFont color="#44F68B">[收割机007]</ColorFont> 接到了此订单!
219 216
                   </div>
220 217
                 </List>
221 218
               </div>
@@ -224,15 +221,15 @@ export default (props) => {
224 221
                 <List title="作业订单" color="green">
225 222
                   <div>
226 223
                     <ColorFont color="#44F68B">[收割机001]</ColorFont>
227
-                    32s前接到了一个订单,距离目的地还有3.2公里,请农户耐心等待!
224
+                    32s前接到了一个订单,距离目的地还有3.2公里
228 225
                   </div>
229 226
                   <div>
230 227
                     <ColorFont color="#44F68B">[播种机008]</ColorFont>{' '}
231
-                    2分钟前接到一个订单,距离目的地还有3.8公里,请农户耐心等待!
228
+                    2分钟前接到一个订单,距离目的地还有3.8公里
232 229
                   </div>
233 230
                   <div>
234 231
                     <ColorFont color="#44F68B">[收割机007]</ColorFont>{' '}
235
-                    2个小时前接到一个订单,距离目的地还有3.8公里,请农户耐心等待!
232
+                    2个小时前接到一个订单,距离目的地还有3.8公里
236 233
                   </div>
237 234
                 </List>
238 235
               </div>

+ 1
- 1
src/pages/document.ejs Voir le fichier

@@ -22,7 +22,7 @@
22 22
       name="viewport"
23 23
       content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
24 24
     />
25
-    <title>Ant Design Pro</title>
25
+    <title>邓州农机数据可视化平台</title>
26 26
     <link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
27 27
     <script src="./js/particles.min.js"></script>
28 28
     <script src="./js/jsWebControl-1.0.0.min.js"></script>