From be3a948e1176cb8a674c00dc6eb1cd18c7eb1806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=8B=A5=E6=99=A8?= <974220104@qq.com> Date: Mon, 9 Oct 2023 15:05:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataBoard/cpts/family/modules/Family.vue | 6 ++---- src/views/dataBoard/cpts/personnel/index.vue | 1 + src/views/dataBoard/cpts/personnel/modules/Family.vue | 6 ++---- src/views/dataBoard/overview/components/jdwgy.vue | 2 +- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/views/dataBoard/cpts/family/modules/Family.vue b/src/views/dataBoard/cpts/family/modules/Family.vue index fd2a85ead..693ec07b2 100644 --- a/src/views/dataBoard/cpts/family/modules/Family.vue +++ b/src/views/dataBoard/cpts/family/modules/Family.vue @@ -10,9 +10,7 @@ {{ item.name }}
- 关系:{{ - item.houseHolderRel == "本人" ? "户主" : item.houseHolderRel - }} + 关系:{{ item.houseHolderRel == "本人" ? "户主" : item.houseHolderRel }}
@@ -67,7 +65,7 @@ export default { ) .then(({ data: res }) => { const data = res.data; - this.data = data; + this.data = data.length > 12 ? data.slice(0, 11) : data; const arr = data.filter((item) => item.houseHolderRel == "本人"); this.hzData = arr.length > 0 ? arr[0] : {}; this.$emit("setJuminData", data); diff --git a/src/views/dataBoard/cpts/personnel/index.vue b/src/views/dataBoard/cpts/personnel/index.vue index de179eeba..b286dee2e 100644 --- a/src/views/dataBoard/cpts/personnel/index.vue +++ b/src/views/dataBoard/cpts/personnel/index.vue @@ -17,6 +17,7 @@ +
diff --git a/src/views/dataBoard/cpts/personnel/modules/Family.vue b/src/views/dataBoard/cpts/personnel/modules/Family.vue index e7b26b0e8..474d04c10 100644 --- a/src/views/dataBoard/cpts/personnel/modules/Family.vue +++ b/src/views/dataBoard/cpts/personnel/modules/Family.vue @@ -15,9 +15,7 @@
{{ info.name }}
-
- (户主) -
+
(户主)
@@ -91,7 +89,7 @@ export default { .then(({ data: res }) => { if (res.code == 0) { const data = res.data; - this.data = data; + this.data = data.length > 12 ? data.slice(0, 11) : data; const arr = data.filter((item) => item.houseHolderRel == "本人"); this.info = arr.length > 0 ? arr[0] : {}; } diff --git a/src/views/dataBoard/overview/components/jdwgy.vue b/src/views/dataBoard/overview/components/jdwgy.vue index acb123381..a15baf56e 100644 --- a/src/views/dataBoard/overview/components/jdwgy.vue +++ b/src/views/dataBoard/overview/components/jdwgy.vue @@ -164,7 +164,7 @@ export default { } // th { - // padding: 6px 0 4px !important; + // padding: 9px 14px !important; // } } }