diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue
index 61fe2b9..863c695 100644
--- a/src/page/index/top/index.vue
+++ b/src/page/index/top/index.vue
@@ -140,9 +140,14 @@
-
-
-
+
+
+ {{ row.weekDate }} {{ row.title }}
+
+
+ {{ fomatDate(row.createTime) }} {{ row.title }}
+
+
@@ -318,6 +323,13 @@ export default {
this.info = getStore({ name: "userInfo" });
},
methods: {
+ fomatDate(date) {
+ if (!date) return "--";
+ let arr = date.split(" ");
+ let str = arr[0];
+ let result = str.split("-");
+ return `${result[1]}月${result[2]}日`;
+ },
handleClick() {},
// 获取升级消息列表
getMessage() {
@@ -327,6 +339,7 @@ export default {
num: 1, // 第几页
size: 5, // 条数
messageType: Number(this.activeName),
+ projectId: localStorage.getItem("houseId") || "",
};
this.$api.http
.messageList(paramsData)
diff --git a/src/views/Equipment/equipmentOnlineRecordList.vue b/src/views/Equipment/equipmentOnlineRecordList.vue
index 892809b..9b2f7ad 100644
--- a/src/views/Equipment/equipmentOnlineRecordList.vue
+++ b/src/views/Equipment/equipmentOnlineRecordList.vue
@@ -6,7 +6,7 @@
:class="{ activecllasscet: activeTotal == 0 }"
:style="{ background: activeTotal == 0 ? '#2671E2' : '#ffffff' }"
>
- 设备在线记录
+ 设备离线记录
-
在线时间:
+
离线时间:
-
+
-
+
-
-
- {{row.offlineTime||'--'}}
-
+
diff --git a/src/views/msg/index.vue b/src/views/msg/index.vue
index 9ac0c40..46eff3d 100644
--- a/src/views/msg/index.vue
+++ b/src/views/msg/index.vue
@@ -4,16 +4,24 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{ row.weekDate }} {{ row.title }}
+
+
+ {{ fomatDate(row.createTime) }} {{ row.title }}
+
+
+
+
+
+
+
+
+