-
+
+
+
diff --git a/src/views/modules/visual/warning/index.vue b/src/views/modules/visual/warning/index.vue
index 269a0369d..6be5ddbcd 100644
--- a/src/views/modules/visual/warning/index.vue
+++ b/src/views/modules/visual/warning/index.vue
@@ -89,7 +89,8 @@ export default {
{ title: "所属网格" },
{ title: "所属小区" },
{ title: "楼号" },
- { title: "姓名" },
+ { title: "预警人数" },
+ { title: "操作" },
],
tableData: [
// [1,'商丘路社区第一网格','商丘路小区','2号楼','杨颖、王平、刘佳敏、丁辉、杨萍'],
@@ -133,7 +134,14 @@ export default {
item.gridName,
item.neighborhoodName,
item.buildingName,
- item.userList || '暂无',
+ item.count,
+ {
+ type: "btn",
+ name: "查看人员",
+ buildingId: item.buildingId,
+ configId: item.configId,
+ gridName: item.gridName,
+ },
]);
});
this.tableData = tableData;
diff --git a/src/views/modules/warning/components/screen-table/index.vue b/src/views/modules/warning/components/screen-table/index.vue
index b1239b715..833245f6c 100644
--- a/src/views/modules/warning/components/screen-table/index.vue
+++ b/src/views/modules/warning/components/screen-table/index.vue
@@ -42,6 +42,7 @@
v-if="showedPeopleList && buildingId"
:buildingId="buildingId"
:configId="configId"
+ :gridName="gridName"
@close="showedPeopleList = false"
/>
@@ -136,6 +137,7 @@ export default {
showedPeopleList: false,
buildingId: "",
configId: "",
+ gridName: "",
};
},
watch: {},
@@ -149,6 +151,7 @@ export default {
this.showedPeopleList = true;
this.buildingId = item.buildingId;
this.configId = item.configId;
+ this.gridName = item.gridName;
},
toUserInfo(uid) {
@@ -186,16 +189,19 @@ export default {
width: 5%;
}
&:nth-child(2) {
- width: 20%;
+ width: 25%;
}
&:nth-child(3) {
- width: 20%;
+ width: 25%;
}
&:nth-child(4) {
width: 15%;
}
&:nth-child(5) {
- width: 40%;
+ width: 15%;
+ }
+ &:nth-child(6) {
+ width: 15%;
}
}
}
@@ -228,16 +234,19 @@ export default {
width: 5%;
}
&:nth-child(2) {
- width: 20%;
+ width: 25%;
}
&:nth-child(3) {
- width: 20%;
+ width: 25%;
}
&:nth-child(4) {
width: 15%;
}
&:nth-child(5) {
- width: 40%;
+ width: 15%;
+ }
+ &:nth-child(6) {
+ width: 15%;
}
a {
cursor: pointer;
diff --git a/src/views/modules/warning/components/screen-table/people-list.vue b/src/views/modules/warning/components/screen-table/people-list.vue
index 2c29df688..4ddde0608 100644
--- a/src/views/modules/warning/components/screen-table/people-list.vue
+++ b/src/views/modules/warning/components/screen-table/people-list.vue
@@ -6,7 +6,7 @@
- 更多信息
+ 人员列表
@@ -14,9 +14,8 @@
查看更多
@@ -91,10 +90,15 @@ export default {
type: String,
default: "",
},
+ gridName: {
+ type: String,
+ default: "",
+ },
},
components: {
cptCard,
+ peopleMore,
},
data() {
@@ -105,7 +109,7 @@ export default {
loading: false,
pageNo: 0,
- pageSize: 10,
+ pageSize: 12,
total: 0,
list: [],
};
@@ -140,6 +144,7 @@ export default {
},
handlePeopleItem(uid) {
+ console.log(uid);
this.currentPepeleId = uid;
this.showedPeopleInfo = true;
diff --git a/src/views/modules/warning/index.vue b/src/views/modules/warning/index.vue
index 2189cd49f..aa668dc81 100644
--- a/src/views/modules/warning/index.vue
+++ b/src/views/modules/warning/index.vue
@@ -146,9 +146,10 @@ export default {
item.count,
{
type: "btn",
- name: "查看人员详情",
+ name: "查看人员",
buildingId: item.buildingId,
configId: item.configId,
+ gridName: item.gridName,
},
]);
});
diff --git a/src/views/modules/workPc/guidance/DetailForm.vue b/src/views/modules/workPc/guidance/DetailForm.vue
index 4f5f7f3c5..02e05194d 100644
--- a/src/views/modules/workPc/guidance/DetailForm.vue
+++ b/src/views/modules/workPc/guidance/DetailForm.vue
@@ -132,7 +132,6 @@ import { mapGetters } from 'vuex'
import { Loading } from 'element-ui' // 引入Loading服务
import { requestPost } from '@/js/dai/request'
-
import Tinymce from '@c/tinymce/index.vue'
// import tinymce from 'tinymce/tinymce'
// import Editor from '@tinymce/tinymce-vue'