-
-
-
{{ itm.doorName }}
+
+
@@ -44,32 +50,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
-
-
-
-
-
-
+
+
+
+
+
+
{{ getRentFlag(scope.row.rentFlag) }}
-
+
{{ getHouseType(scope.row.houseType) }}
-
-
+
+
{{ $sensitive(scope.row.ownerPhone, 3, 7) }}
+
+
满意度风险家庭
+
+ 是
+ 否
+
+
+
+
重点人员
+
+ 是
+ 否
+
+
查看
@@ -77,9 +112,9 @@
-
+
@@ -89,6 +124,7 @@
import Pagination from "@/views/dataBoard/satisfactionEval/components/Pagination";
import Title from "./Title/index.vue";
import BreadCrumb from "@/views/dataBoard/cpts/personnel/components/Breadcrumb/index.vue";
+import PeopleMount from "./PeopleMount/index.vue";
export default {
name: "homeDetails",
@@ -96,12 +132,24 @@ export default {
Pagination,
Title,
BreadCrumb,
+ PeopleMount,
},
data() {
return {
- // total: 0,
- // pageNum: 1,
- // pageSize: 10,
+ total: 0,
+ queryParams: {
+ pageNo: 1,
+ pageSize: 10,
+ unitId: "",
+ ownerName: "",
+ ownerPhone: "",
+ ownerIdCard: "",
+ riskyFlag: "",
+ residentTag: "",
+ },
+ orgOptions: [],
+ satisfactionSourceOptions: [],
+ satisfactionCategoryOptions: [],
flexWidth: 0,
loading: false,
homeMsg: {},
@@ -111,28 +159,11 @@ export default {
houseMountArr: [],
};
},
- watch: {
- // "$route.query.buIding": {
- // handler(val) {
- // if (val) {
- // this.getList(val);
- // }
- // },
- // immediate: true,
- // },
- // "$route.query.typeB": {
- // handler(val) {
- // console.log("jhjkbhkjhkjhkjhkjhkj");
- // if (val) {
- // this.getList();
- // }
- // },
- // immediate: true,
- // },
- },
+ watch: {},
mounted() {
const buId = this.$route.query.buId || null;
this.getList(buId);
+ this.getTableData();
},
methods: {
getDoorNameList(list) {
@@ -167,7 +198,6 @@ export default {
},
getUnitList(id) {
- this.loading = true;
this.$http.get(`/actual/base/streetOverview/getUnitHouseList?unitId=` + id).then((res) => {
const {
code,
@@ -175,13 +205,24 @@ export default {
} = res.data;
if (code === 0) {
let unitInfos = unitInfo || {};
- this.list = houseList;
this.homeMsg = unitInfos;
this.homeText = (unitInfos.quartersName ? unitInfos.quartersName : "") + (unitInfos.buildingName ? unitInfos.buildingName : "") + (unitInfos.unitNum ? unitInfos.unitNum + "单元" : "");
this.houseMountArr = this.getDoorNameList(this.list);
if (this.houseMountArr.length > 0) {
this.flexWidth = this.houseMountArr[0].length * 58;
}
+ }
+ });
+ },
+
+ getTableData() {
+ const { id } = this.$route.query;
+ this.queryParams.unitId = id;
+ this.loading = true;
+ this.$http.get("/actual/base/streetOverview/getUnitHouseOverviewList?" + this.$paramsFormat(this.queryParams)).then((res) => {
+ const { code, data } = res.data;
+ if (code === 0) {
+ this.list = data;
this.loading = false;
} else {
this.loading = false;
@@ -189,6 +230,8 @@ export default {
});
},
+ search() {},
+
getList(buid) {
const homeType = this.$route.query.typeB;
if (homeType === "building") {
@@ -201,7 +244,6 @@ export default {
if (this.buildingList && this.buildingList.length > 0) {
if (buid) {
this.buildingList.forEach((item, i) => {
- console.log(item);
if (item.id === buid) {
item.ifActive = true;
this.getUnitList(item.id);
@@ -327,7 +369,7 @@ export default {
display: flex;
align-items: flex-end;
justify-content: center;
- margin-top: 100px;
+ margin-top: 60px;
.apar_comtent {
display: flex;
@@ -338,7 +380,7 @@ export default {
.apar_center {
min-width: 244px;
max-width: 488px;
- height: 584px;
+ height: 578px;
overflow: auto;
background: #caab93;
padding: 30px 30px 10px 30px;
@@ -426,5 +468,39 @@ export default {
color: yellow;
}
}
+ .mount {
+ margin-top: 25px;
+ }
+
+ .screen {
+ margin: 5px 0 40px;
+
+ .el-select,
+ .el-input {
+ width: 150px;
+ margin-right: 4px;
+ border: 1px solid #126ac5;
+ border-radius: 2px;
+
+ /deep/ .el-input__inner {
+ background: none;
+ border: none;
+ color: #fff;
+ }
+ }
+
+ .searchSelect {
+ width: 200px;
+ /deep/ .el-select__tags {
+ width: 200px !important;
+ max-width: 200px !important;
+ }
+ }
+
+ .btn {
+ margin-left: 46px;
+ height: 32px;
+ }
+ }
}
diff --git a/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/index.vue b/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/index.vue
index 08a4415b1..5a452452c 100644
--- a/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/index.vue
+++ b/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/index.vue
@@ -1,19 +1,14 @@
-
+
-
-
+
+
-
+
@@ -23,7 +18,7 @@
-
+
@@ -31,13 +26,13 @@
-
+
-
+
-
+
-
+
@@ -47,8 +42,7 @@
-
+
@@ -59,7 +53,7 @@ import Title from "@/views/dataBoard/satisfactionEval/components/Title";
export default {
name: "dissatisfied",
- components: {Breadcrumb, Pagination, Title},
+ components: { Breadcrumb, Pagination, Title },
data() {
return {
queryParams: {
@@ -78,14 +72,14 @@ export default {
},
],
monthOptions: new Array(12).fill(0).map((_, index) => {
- return {label: index - 0 + 1 + "月", value: index - 0 + 1};
+ return { label: index - 0 + 1 + "月", value: index - 0 + 1 };
}),
list: [],
title: "",
- loading: true
+ loading: true,
};
},
- activated() {
+ mounted() {
this.title = this.$route.query.title;
let searchParams = JSON.parse(this.$route.query.searchParams);
console.log(searchParams);
@@ -97,14 +91,14 @@ export default {
},
methods: {
getList() {
- this.loading = true
- this.$http.get("/governance/satisfactionOverview/satisfactionCrowdList?" + this.$paramsFormat(this.queryParams)).then(({data: {data}}) => {
+ this.loading = true;
+ this.$http.get("/governance/satisfactionOverview/satisfactionCrowdList?" + this.$paramsFormat(this.queryParams)).then(({ data: { data } }) => {
this.list = data.list;
this.total = data.total;
- this.loading = false
+ this.loading = false;
});
},
- handleView({restName, restId}) {
+ handleView({ restName, restId }) {
this.$router.push("/dataBoard/satisfactionEval/dissatisfiedPersonnel/detail?name=" + restName + "&user_id=" + restId);
},
},