diff --git a/src/App.vue b/src/App.vue index b92ea37..cc9aa15 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,18 +7,37 @@ diff --git a/src/views/temSys/temMonitor/index copy.vue b/src/views/temSys/temMonitor/index copy.vue new file mode 100644 index 0000000..33ecc49 --- /dev/null +++ b/src/views/temSys/temMonitor/index copy.vue @@ -0,0 +1,1021 @@ + + + + + + + + + + + + {{ node.label }} + + + + + + + + + + + 位置:{{ currentName }} + + + + + 高温报警: + {{ warningData }}个 + + + + 离线设备: + {{ offlineData / 2 }}个 + + + + + + + + {{ item.houseName }} + + + + + + + + + + + + + + + + + + + + + {{ getDeviceByParamType(item.deviceList, "12").otherName }} + + Temperature + + + + {{ + getDeviceByParamType(item.deviceList, "12").curValue + }} + ℃ + + + + + + + + + {{ getDeviceByParamType(item.deviceList, "32").otherName }} + + Humidity + + + + {{ + getDeviceByParamType(item.deviceList, "32").curValue + }} + % + + + + + + + + + + + + + + + + + + diff --git a/src/views/temSys/temMonitor/index.vue b/src/views/temSys/temMonitor/index.vue index 33ecc49..f0c7872 100644 --- a/src/views/temSys/temMonitor/index.vue +++ b/src/views/temSys/temMonitor/index.vue @@ -1,1021 +1,20 @@ - - - - - - - - - - - {{ node.label }} - - - - - - - - - - - 位置:{{ currentName }} - - - - - 高温报警: - {{ warningData }}个 - - - - 离线设备: - {{ offlineData / 2 }}个 - - - - - - - - {{ item.houseName }} - - - - - - - - - - - - - - - - - - - - - {{ getDeviceByParamType(item.deviceList, "12").otherName }} - - Temperature - - - - {{ - getDeviceByParamType(item.deviceList, "12").curValue - }} - ℃ - - - - - - - - - {{ getDeviceByParamType(item.deviceList, "32").otherName }} - - Humidity - - - - {{ - getDeviceByParamType(item.deviceList, "32").curValue - }} - % - - - - - - - - - - - + - - - + \ No newline at end of file diff --git a/src/views/temSys/temMonitor/temMonitorDeatils.vue b/src/views/temSys/temMonitor/temMonitorDeatils.vue new file mode 100644 index 0000000..3fafa6e --- /dev/null +++ b/src/views/temSys/temMonitor/temMonitorDeatils.vue @@ -0,0 +1,1415 @@ + + + + + + + 温度监测系统 + + + {{ formattedDate }} + 已监测时长:{{ dayData }}天 + + + + + + + + + + + + + + + {{ node.label }} + + + + + + + + + + + 位置:{{ currentName }} + + + + + 高温报警: + {{ warningData }}个 + + + + 离线设备: + {{ offlineData / 2 }}个 + + + + + + + + {{ item.houseName }} + + + + + + + + + + + + + + + + + + + + + {{ getDeviceByParamType(item.deviceList, "12").otherName }} + + Temperature + + + + {{ + getDeviceByParamType(item.deviceList, "12").curValue + }} + ℃ + + + + + + + + + {{ getDeviceByParamType(item.deviceList, "32").otherName }} + + Humidity + + + + {{ + getDeviceByParamType(item.deviceList, "32").curValue + }} + % + + + + + + + + + + + + + + + + + + + +