diff --git a/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue b/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue
index 7f391e7d2..44a232913 100644
--- a/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue
+++ b/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue
@@ -34,12 +34,8 @@
-
-

+
+
近3日暂无更新
@@ -74,30 +70,18 @@ export default {
},
methods: {
getList(item) {
- this.$http
- .get(
- "/actual/base/streetOverview/residentHouseUpdateRecord?level=" +
- item.orgLevel +
- "&orgId=" +
- item.orgId
- )
- .then(({ data: { data } }) => {
- this.list = data;
- if (this.list.length > 4) {
- this.$nextTick(() => {
- const aniHeight =
- this.$refs.animation2.querySelector(".tr").offsetHeight *
- this.pmList.length;
- this.$refs.animation2.style.animation = `move1 ${this.pmList.length}s linear infinite`;
- document.styleSheets[0].insertRule(
- `@keyframes move2{0% {transform: translateY(0px);}100% {transform: translateY(-${aniHeight}px);}`,
- 0
- );
- });
- } else {
- this.$refs.animation2.style.animation = null;
- }
- });
+ this.$http.get("/actual/base/streetOverview/residentHouseUpdateRecord?level=" + item.orgLevel + "&orgId=" + item.orgId).then(({ data: { data } }) => {
+ this.list = data;
+ if (this.list.length > 4) {
+ this.$nextTick(() => {
+ const aniHeight = this.$refs.animation2.querySelector(".tr").offsetHeight * this.pmList.length;
+ this.$refs.animation2.style.animation = `move1 ${this.pmList.length}s linear infinite`;
+ document.styleSheets[0].insertRule(`@keyframes move2{0% {transform: translateY(0px);}100% {transform: translateY(-${aniHeight}px);}`, 0);
+ });
+ } else {
+ this.$refs.animation2.style.animation = null;
+ }
+ });
},
},
};
@@ -116,7 +100,7 @@ export default {
color: #a3b9da;
}
.dhrd-list {
- height: 140px;
+ height: 150px;
overflow-y: auto;
@include scrollBar .dhrd-item {
display: flex;
diff --git a/src/views/dataBoard/overview/components/GridUpdateRanking.vue b/src/views/dataBoard/overview/components/GridUpdateRanking.vue
index e366d3240..3e37bef5f 100644
--- a/src/views/dataBoard/overview/components/GridUpdateRanking.vue
+++ b/src/views/dataBoard/overview/components/GridUpdateRanking.vue
@@ -22,9 +22,7 @@
-
+
{{ index - 0 + 1 }}
{{ item.orgName }}
@@ -36,15 +34,8 @@
-
-

+
+
近3日暂无更新
@@ -85,30 +76,18 @@ export default {
},
methods: {
getList(item) {
- this.$http
- .get(
- "/actual/base/streetOverview/residentHouseUpdateGroupByGrid?level=" +
- item.orgLevel +
- "&orgId=" +
- item.orgId
- )
- .then(({ data: { data } }) => {
- this.pmList = data;
- if (this.pmList.length > 3) {
- this.$nextTick(() => {
- const aniHeight =
- this.$refs.animation1.querySelector(".tr").offsetHeight *
- this.pmList.length;
- this.$refs.animation1.style.animation = `move1 ${this.pmList.length}s linear infinite`;
- document.styleSheets[0].insertRule(
- `@keyframes move1{0% {transform: translateY(0px);}100% {transform: translateY(-${aniHeight}px);}`,
- 0
- );
- });
- } else {
- this.$refs.animation1.style.animation = null;
- }
- });
+ this.$http.get("/actual/base/streetOverview/residentHouseUpdateGroupByGrid?level=" + item.orgLevel + "&orgId=" + item.orgId).then(({ data: { data } }) => {
+ this.pmList = data;
+ if (this.pmList.length > 3) {
+ this.$nextTick(() => {
+ const aniHeight = this.$refs.animation1.querySelector(".tr").offsetHeight * this.pmList.length;
+ this.$refs.animation1.style.animation = `move1 ${this.pmList.length}s linear infinite`;
+ document.styleSheets[0].insertRule(`@keyframes move1{0% {transform: translateY(0px);}100% {transform: translateY(-${aniHeight}px);}`, 0);
+ });
+ } else {
+ this.$refs.animation1.style.animation = null;
+ }
+ });
},
},
};
@@ -118,7 +97,7 @@ export default {
-
+