From f0081f892ed51395239a490e35b6c07cc0725138 Mon Sep 17 00:00:00 2001
From: SongZhen <>
Date: Tue, 10 Oct 2023 15:00:00 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A5=BC=E6=A0=8B+=E5=8D=95=E5=85=83=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3=E5=AF=B9=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/index.js | 6 +-
src/views/components/fixed1920.vue | 2 +-
.../cpts/family/modules/BusinessRecords.vue | 47 ++------
.../cpts/family/modules/EnjoyService.vue | 35 +++---
.../dataBoard/cpts/homeDetails/index.vue | 113 +++++++++++-------
src/views/dataBoard/cpts/map/index.vue | 2 +-
.../overview/familyPortrait/index.vue | 70 ++++++-----
src/views/dataBoardMain/main-content.vue | 2 +-
8 files changed, 143 insertions(+), 134 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index a6090f905..6f93f324e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -258,7 +258,8 @@ export const dataBoardRoutes = {
title: "居民画像",
isTab: false,
},
- },,
+ },
+ ,
{
path: "overview/familyPortrait",
props: true,
@@ -455,10 +456,11 @@ export const dataBoardRoutes = {
path: "/homeDetails/index",
props: true,
component: () => import("@/views/dataBoard/cpts/homeDetails/index"),
- name: "homeDetails",
+ name: "HomeDetails",
meta: {
title: "单元",
isTab: false,
+ keepAlive: false,
},
},
{
diff --git a/src/views/components/fixed1920.vue b/src/views/components/fixed1920.vue
index 46341a169..0fc13df29 100644
--- a/src/views/components/fixed1920.vue
+++ b/src/views/components/fixed1920.vue
@@ -18,7 +18,7 @@ export default {
computed: {
bdStyle() {
const { clientHeight, clientWidth } = this;
- console.log("clientHeight", clientHeight);
+ // console.log("clientHeight", clientHeight);
const scale = clientWidth / 1920;
const height = clientHeight / scale;
const top = (clientHeight - height) / 2;
diff --git a/src/views/dataBoard/cpts/family/modules/BusinessRecords.vue b/src/views/dataBoard/cpts/family/modules/BusinessRecords.vue
index eb9028f0d..b9a6e0240 100644
--- a/src/views/dataBoard/cpts/family/modules/BusinessRecords.vue
+++ b/src/views/dataBoard/cpts/family/modules/BusinessRecords.vue
@@ -1,36 +1,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -123,9 +99,7 @@ export default {
this.type = e;
},
changeTotal(item) {
- this.typeList[item.name].label = item.total
- ? `${this.typeLists[item.name].label}(${item.total})`
- : this.typeLists[item.name].label;
+ this.typeList[item.name].label = item.total ? `${this.typeLists[item.name].label}(${item.total})` : this.typeLists[item.name].label;
},
},
};
@@ -138,15 +112,14 @@ export default {
}
.table {
/deep/ .el-table td,
- /deep/ .el-table th,
/deep/ .el-table tr {
- padding: 14px !important;
+ padding: 3px 14px !important;
border: none !important;
- min-height: 52px;
}
- /deep/ .el-table td,
/deep/ .el-table th {
background: none !important;
+ padding: 6px 14px !important;
+ border: none !important;
}
/deep/ .el-table td {
font-size: 14px;
diff --git a/src/views/dataBoard/cpts/family/modules/EnjoyService.vue b/src/views/dataBoard/cpts/family/modules/EnjoyService.vue
index 7f028803a..06868b2fa 100644
--- a/src/views/dataBoard/cpts/family/modules/EnjoyService.vue
+++ b/src/views/dataBoard/cpts/family/modules/EnjoyService.vue
@@ -1,6 +1,6 @@
-
+
@@ -9,8 +9,13 @@
+
+
+

+
暂无数据
+
-
+
\ No newline at end of file
+
diff --git a/src/views/dataBoardMain/main-content.vue b/src/views/dataBoardMain/main-content.vue
index 9724dbc5e..9c734e908 100644
--- a/src/views/dataBoardMain/main-content.vue
+++ b/src/views/dataBoardMain/main-content.vue
@@ -5,7 +5,7 @@
-
+