vera_min hace 3 años
padre
commit
ce67581afb

+ 2 - 2
.env.development

@@ -2,11 +2,11 @@
 ENV = 'development'
 
 # 本地环境接口地址
-#VITE_API_URL = 'http://zhgy.sagoo.cn:8899/api/v1'
+VITE_API_URL = 'http://zhgy.sagoo.cn:8899/api/v1'
 VITE_IMG_URL = 'http://zhgy.sagoo.cn:8899/'
 VITE_ASSESS_URL = 'http://zhgy.sagoo.cn/base-api/assess/v1'
 VITE_SCREEN_URL = 'http://home.yanglizhi.cn:10003'
 VITE_TOPO_URL = 'http://home.yanglizhi.cn:10001'
 VITE_WS_URL = 'ws://zhgy.sagoo.cn:8899/api/v1/websocket'
-VITE_API_URL = 'http://sgadserver.wdeveloperw.xyz/api/v1'
+#VITE_API_URL = 'http://sgadserver.wdeveloperw.xyz/api/v1'
 # VITE_IMG_URL = 'http://sgadserver.wdeveloperw.xyz/'

+ 1 - 1
package-lock.json

@@ -1849,7 +1849,7 @@
       "dependencies": {
         "@popperjs/core": {
           "version": "npm:@sxzz/popperjs-es@2.11.7",
-          "resolved": "https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz",
+          "resolved": "https://registry.npmjs.org/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz",
           "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ=="
         }
       }

+ 6 - 0
src/api/datahub/index.ts

@@ -47,4 +47,10 @@ export default {
       undeploy: (data: object) => post('/source/template/undeploy', data),  
    },
   
+   weather:{
+      getCityWeatherList: () => get('/region/weather/cityWeatherList'),
+      getWhichCityWeather: (params: object) => get('/region/weather/getInfoById', params),
+      getTemperatureEchartById: (params: object) => get('/region/weather/getTemperatureEchartById', params),
+      getWindpowerEchartById: (params: object) => get('/region/weather/getWindpowerEchartById', params),
+   }
 }

BIN
src/assets/sunset.png


BIN
src/assets/windPowerIcon.png


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 157 - 88
src/views/monitor/weather.vue


+ 1 - 1
src/views/system/city/component/edit.vue

@@ -18,7 +18,7 @@
 					/>
 				</el-form-item>
 				<el-form-item label="城市名称" prop="name">
-					<el-input v-model="ruleForm.name" placeholder="请输入换热站名称" />
+					<el-input v-model="ruleForm.name" placeholder="请输入城市名称" />
 				</el-form-item>
 				<el-form-item label="城市编号" prop="code">
 					<el-input v-model="ruleForm.code" placeholder="请输入城市编号" />

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio