Compare commits

..

No commits in common. "ba07bcd532c5d76ccdf0c383f48e648486f951aa" and "93e6cb06e322b1370559f9fff2e1c24b4e7fbec4" have entirely different histories.

1 changed files with 5 additions and 11 deletions

View File

@ -8,10 +8,10 @@
<img src="../../assets/image/real-time.png" alt="" />
生态气象站<span class="outline" v-if="deviceState == 0">(线)</span>
</div>
<div class="timeNow" v-if="updateTime">
<div class="timeNow" v-if="list.length">
<!-- {{ time.year.year }}-{{ time.year.month }}-{{ time.year.date }}<span> {{ time.time }}:{{ time.timeS
}}</span> -->
{{ updateTime}}
{{ list[0].updateTime ? list[0].updateTime : '' }}
</div>
<div class="flex-list realTime-bottom" :class="deviceName == 30 ? 'weather' : ''">
<div class="left-view-new">
@ -50,10 +50,10 @@
<img src="../../assets/image/real-time.png" alt="" />
实时数据<span class="outline" v-if="deviceState == 0">(线)</span>
</div>
<div class="timeNow" v-if="updateTime">
<div class="timeNow" v-if="list.length">
<!-- {{ time.year.year }}-{{ time.year.month }}-{{ time.year.date }}<span> {{ time.time }}:{{ time.timeS
}}</span> -->
{{ updateTime}}
{{ list[0].updateTime ? list[0].updateTime : '' }}
</div>
<div class="flex-view border-none warning-btn">
<div class="input-btn ">
@ -491,7 +491,7 @@ export default {
statusList: [],
dataModel: false,//
weatherModel: false,
updateTime:'',
time: null,//
list: [],
inputData: [],
@ -929,9 +929,6 @@ export default {
if (res.data.code == 200) {
this.inputData = res.data.data;
this.list = []
this.updateTime=res.data.data[0].updateTime
this.inputData.forEach((el, index) => {
list.forEach((el1, index1) => {
if (el.formula == el1.value) {
@ -1050,8 +1047,6 @@ export default {
if (res.data.code == 200) {
this.inputData = res.data.data;
this.list = []
this.updateTime=res.data.data[0].updateTime
this.inputData.forEach((el, index) => {
list.forEach((el1, index1) => {
if (el.formula == el1.value) {
@ -1171,7 +1166,6 @@ export default {
this.api.getControlRtDatastation(formData).then(res => {
this.controlList = []
this.list = []
this.updateTime=res.data.data[0].updateTime
if (res.data.code == 200) {
res.data.data.forEach((el, index) => {
list.forEach((el1, index1) => {