|
@@ -117,8 +117,62 @@
|
|
|
<el-row :gutter="20" v-if="todatWeather">
|
|
|
<el-col :span="9">
|
|
|
<div class="weather-img">
|
|
|
- <img src="../assets/images/integrated/weather/yin.png">
|
|
|
- <span>{{ weatherinformationWeather }}</span>
|
|
|
+ <img v-if="weatherinformationWeather==1" src="../assets/images/integrated/weather/qing-1.png">
|
|
|
+ <img v-if="weatherinformationWeather==2" src="../assets/images/integrated/weather/duoyun-2.png">
|
|
|
+ <img v-if="weatherinformationWeather==3" src="../assets/images/integrated/weather/yin-3.png">
|
|
|
+ <img v-if="weatherinformationWeather==4" src="../assets/images/integrated/weather/zhenyu-4.png">
|
|
|
+ <img v-if="weatherinformationWeather==5" src="../assets/images/integrated/weather/leizhenyu-5.png">
|
|
|
+ <img v-if="weatherinformationWeather==6" src="../assets/images/integrated/weather/leizhenyubingbao-6.png">
|
|
|
+ <img v-if="weatherinformationWeather==7" src="../assets/images/integrated/weather/yujiaxue-7.png">
|
|
|
+ <img v-if="weatherinformationWeather==8" src="../assets/images/integrated/weather/xiaoyu-8.png">
|
|
|
+ <img v-if="weatherinformationWeather==9||weatherinformationWeather==22" src="../assets/images/integrated/weather/zhongyu-9.png">
|
|
|
+ <img v-if="weatherinformationWeather==10||weatherinformationWeather==23" src="../assets/images/integrated/weather/dayu-10.png">
|
|
|
+ <img v-if="weatherinformationWeather==11||weatherinformationWeather==24" src="../assets/images/integrated/weather/baoyu-11.png">
|
|
|
+ <img v-if="weatherinformationWeather==12||weatherinformationWeather==25" src="../assets/images/integrated/weather/dabaoyu-12.png">
|
|
|
+ <img v-if="weatherinformationWeather==13||weatherinformationWeather==26" src="../assets/images/integrated/weather/tedabaoyu-13.png">
|
|
|
+ <img v-if="weatherinformationWeather==14" src="../assets/images/integrated/weather/zhenxue-14.png">
|
|
|
+ <img v-if="weatherinformationWeather==15" src="../assets/images/integrated/weather/xiaoxue-15.png">
|
|
|
+ <img v-if="weatherinformationWeather==16||weatherinformationWeather==27" src="../assets/images/integrated/weather/zhongxue-16.png">
|
|
|
+ <img v-if="weatherinformationWeather==17||weatherinformationWeather==28" src="../assets/images/integrated/weather/daxue-17.png">
|
|
|
+ <img v-if="weatherinformationWeather==18||weatherinformationWeather==29" src="../assets/images/integrated/weather/baoxue-18.png">
|
|
|
+ <img v-if="weatherinformationWeather==19" src="../assets/images/integrated/weather/wu-19.png">
|
|
|
+ <img v-if="weatherinformationWeather==20" src="../assets/images/integrated/weather/dongyu-20.png">
|
|
|
+ <img v-if="weatherinformationWeather==21" src="../assets/images/integrated/weather/shachenbao-21.png">
|
|
|
+ <img v-if="weatherinformationWeather==30" src="../assets/images/integrated/weather/fuchen-30.png">
|
|
|
+ <img v-if="weatherinformationWeather==31" src="../assets/images/integrated/weather/yangsha-31.png">
|
|
|
+ <img v-if="weatherinformationWeather==32" src="../assets/images/integrated/weather/qiangshachenbao-32.png">
|
|
|
+ <span v-if="weatherinformationWeather==1">晴</span>
|
|
|
+ <span v-if="weatherinformationWeather==2">多云</span>
|
|
|
+ <span v-if="weatherinformationWeather==3">阴</span>
|
|
|
+ <span v-if="weatherinformationWeather==4">阵雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==5">雷阵雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==6">雷阵雨伴有冰雹</span>
|
|
|
+ <span v-if="weatherinformationWeather==7">雨夹雪</span>
|
|
|
+ <span v-if="weatherinformationWeather==8">小雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==9">中雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==10">大雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==11">暴雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==12">大暴雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==13">特大暴雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==14">阵雪</span>
|
|
|
+ <span v-if="weatherinformationWeather==15">小雪</span>
|
|
|
+ <span v-if="weatherinformationWeather==16">中雪</span>
|
|
|
+ <span v-if="weatherinformationWeather==17">大雪</span>
|
|
|
+ <span v-if="weatherinformationWeather==18">暴雪</span>
|
|
|
+ <span v-if="weatherinformationWeather==19">雾</span>
|
|
|
+ <span v-if="weatherinformationWeather==20">冻雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==21">沙尘暴</span>
|
|
|
+ <span v-if="weatherinformationWeather==22">小雨—中雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==23">中雨—大雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==24">大雨—暴雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==25">暴雨—大暴雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==26">大暴雨—特大暴雨</span>
|
|
|
+ <span v-if="weatherinformationWeather==27">小雪—中雪</span>
|
|
|
+ <span v-if="weatherinformationWeather==28">中雪—大雪</span>
|
|
|
+ <span v-if="weatherinformationWeather==29">大雪—暴雪</span>
|
|
|
+ <span v-if="weatherinformationWeather==30">浮尘</span>
|
|
|
+ <span v-if="weatherinformationWeather==31">扬沙</span>
|
|
|
+ <span v-if="weatherinformationWeather==32">强沙尘暴</span>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="15">
|
|
@@ -126,9 +180,20 @@
|
|
|
<ul>
|
|
|
<li>风力:{{ weatherinformationPower }}级</li>
|
|
|
<li>低温:{{ weatherinformationLow }}℃</li>
|
|
|
- <li>风向:{{ weatherinformationDirection }}</li>
|
|
|
+ <li v-if="weatherinformationDirection==1">风向:东风</li>
|
|
|
+ <li v-if="weatherinformationDirection==2">风向:东南风</li>
|
|
|
+ <li v-if="weatherinformationDirection==3">风向:南风</li>
|
|
|
+ <li v-if="weatherinformationDirection==4">风向:西南风</li>
|
|
|
+ <li v-if="weatherinformationDirection==5">风向:西风</li>
|
|
|
+ <li v-if="weatherinformationDirection==6">风向:西北风</li>
|
|
|
+ <li v-if="weatherinformationDirection==7">风向:北风</li>
|
|
|
+ <li v-if="weatherinformationDirection==8">风向:东北风</li>
|
|
|
<li>高温:{{ weatherinformationHigh }}℃</li>
|
|
|
- <li>火险:{{ weatherinformationLevel }}</li>
|
|
|
+ <li>火险:<!-- {{ weatherinformationLevel }}-->
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <dict-tag :options="dict.type.forest_weatherinformation_level" :value="weatherinformationLevel"/>
|
|
|
+ </template>
|
|
|
+ </li>
|
|
|
<li>湿度:{{ weatherinformationTemperature }}</li>
|
|
|
</ul>
|
|
|
</div>
|
|
@@ -340,6 +405,7 @@ import DHWs from '@/dahua/lib/DHWs'
|
|
|
|
|
|
let echarts = require('echarts')
|
|
|
export default {
|
|
|
+ dicts: ['forest_weatherinformation_level'],
|
|
|
components: {
|
|
|
supermap,
|
|
|
supermapNotProcessed,
|