diff --git a/src/views/BI/components/personnel.vue b/src/views/BI/components/personnel.vue index f90a45f..f9dee76 100644 --- a/src/views/BI/components/personnel.vue +++ b/src/views/BI/components/personnel.vue @@ -40,10 +40,23 @@
区域
人员
-
-
{{ item.group }}
-
{{ item.count }}
-
+ +
+
{{ item.group }}
+
{{ item.count }}
+
+
@@ -76,6 +89,8 @@ import { handleGetPerList, handleTrajectory, } from "@/views/BI/js/trajectory.js"; +import { Vue3SeamlessScroll as SeamlessScroll } from "vue3-seamless-scroll"; + const typeList = { 1: "滞留报警", 2: "串岗报警", @@ -257,9 +272,6 @@ onBeforeUnmount(async () => { width: 430px; margin-top: 10px; - .tab_list { - } - .option { width: 100%; min-height: 100px; @@ -301,6 +313,11 @@ onBeforeUnmount(async () => { } } + .scroll { + height: 210px; + overflow: hidden; + } + .table { margin-top: 5px; @@ -312,22 +329,18 @@ onBeforeUnmount(async () => { } .td { - flex: 1; text-align: left; font-size: 12px; color: #fff; padding: 6px 10px; &:nth-child(1) { - flex-basis: 30%; + flex: 1; } &:nth-child(2) { - flex-basis: 50%; - } - - &:nth-child(3) { flex-basis: 20%; + text-align: center; } }