From c1eda1c8c46d28a64bd4af7710ba7b14573652aa Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Fri, 22 Apr 2022 15:00:34 +0800 Subject: [PATCH] ss --- .../warning/components/screen-table/index.vue | 121 +++--------- .../components/screen-table/people-list.vue | 179 ++++++++++++++++++ src/views/modules/warning/index.vue | 11 +- 3 files changed, 210 insertions(+), 101 deletions(-) create mode 100644 src/views/modules/warning/components/screen-table/people-list.vue diff --git a/src/views/modules/warning/components/screen-table/index.vue b/src/views/modules/warning/components/screen-table/index.vue index 3aa87112..b1239b71 100644 --- a/src/views/modules/warning/components/screen-table/index.vue +++ b/src/views/modules/warning/components/screen-table/index.vue @@ -24,38 +24,10 @@ :key="indexs" :style="tableContentStyle[indexs]" > -
- - {{ rIndex != 0 ? "、" : "" }} - {{ - resi.residentName - }} - +
+ {{ item.name }}
{{ item }} - - 更多> -
- - {{ rIndex != 0 ? "、" : "" }} - {{ - resi.residentName - }} - -
-
加载中 @@ -66,11 +38,11 @@ - @@ -78,13 +50,13 @@ + + diff --git a/src/views/modules/warning/index.vue b/src/views/modules/warning/index.vue index 00121565..2189cd49 100644 --- a/src/views/modules/warning/index.vue +++ b/src/views/modules/warning/index.vue @@ -98,7 +98,8 @@ export default { { title: "所属网格" }, { title: "所属小区" }, { title: "楼号" }, - { title: "姓名" }, + { title: "预警人数" }, + { title: "操作" }, ], tableData: [ // [1,'商丘路社区第一网格','商丘路小区','2号楼','杨颖、王平、刘佳敏、丁辉、杨萍'], @@ -142,7 +143,13 @@ export default { item.gridName, item.neighborhoodName, item.buildingName, - item.userList || "暂无", + item.count, + { + type: "btn", + name: "查看人员详情", + buildingId: item.buildingId, + configId: item.configId, + }, ]); }); this.tableData = tableData;