- {{ list[0].updateTime ? list[0].updateTime : '' }}
+ {{ updateTime}}
@@ -491,7 +491,7 @@ export default {
statusList: [],
dataModel: false,//全部实时数据弹窗
weatherModel: false,
-
+ updateTime:'',
time: null,//右上角时间
list: [],
inputData: [],
@@ -929,6 +929,9 @@ 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) {
@@ -1047,6 +1050,8 @@ 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) {
@@ -1166,6 +1171,7 @@ 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) => {