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; // } } }