From 611b4e1bfe22cfc895a16925a0d87e84b8532ca8 Mon Sep 17 00:00:00 2001
From: jxdnsong <592566207@qq.com>
Date: Wed, 05 Apr 2023 02:33:08 +0800
Subject: [PATCH] 修复分局值班信息bug以及重点人员数量
---
src/views/home/components/rightContainer.vue | 15 +++++++++------
src/views/home/components/leftContainer.vue | 2 +-
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/src/views/home/components/leftContainer.vue b/src/views/home/components/leftContainer.vue
index e098323..ae6b829 100644
--- a/src/views/home/components/leftContainer.vue
+++ b/src/views/home/components/leftContainer.vue
@@ -901,7 +901,7 @@
let personInfo = await this.getPersonInfo()
keyPeopleDataLength = personInfo.length
if (this.userInfo.dept_id == '1596020515064381442') {
- personInfo = [{ count: 8, name: '征地拆迁群体', value: 8 }, { count: 4, name: '非涉法涉诉重点个访人员', value: 4 }, { count: 4, name: '涉法涉诉重点个访人员', value: 4 }, { count: 1, name: '楼盘业主维权群体', value: 1 }]
+ personInfo = [{ count: 11, name: '征地拆迁群体', value: 11 }, { count: 3, name: '非涉法涉诉重点个访人员', value: 3 }, { count: 4, name: '涉法涉诉重点个访人员', value: 4 }, { count: 1, name: '楼盘业主维权群体', value: 1 },{ count: 1, name: '欠薪讨债群体', value: 1 }]
}
keyPersonmyChart.setOption(this.initkeyPersonOption(personInfo))
diff --git a/src/views/home/components/rightContainer.vue b/src/views/home/components/rightContainer.vue
index 1eddac2..cf737a9 100644
--- a/src/views/home/components/rightContainer.vue
+++ b/src/views/home/components/rightContainer.vue
@@ -16,8 +16,8 @@
<el-table-column prop="person" label="姓名"></el-table-column>
<el-table-column prop="contact" label="联系方式"></el-table-column>
</el-table>
- <div class="pointList">
- <el-tooltip class="item" effect="dark" :content="item.dept" placement="top"
+ <div class="pointList" v-if="schedulingList==[]">
+ <el-tooltip class="item" effect="dark" :content="item.dept" placement="top"
v-for="(item, index) in schedulingDeptList" :key="index">
<div class="point" @click="getSchedlingList(item)"></div>
</el-tooltip>
@@ -336,10 +336,13 @@
getSchedulingList(1, 100, params).then((res) => {
this.schedulingList = res.data.data.records
})
+
+
+ setTimeout(() => {
+ this.schedulingLoading = false
+ }, 500)
}
- // setTimeout(() => {
- // this.schedulingLoading = false
- // }, 1000)
+
},
echartsResize () {
@@ -1073,7 +1076,7 @@
width: 100%;
display: flex;
justify-content: space-evenly;
- margin-top: 15px;
+ margin-top: -10px;
.point {
width: 12px;
--
Gitblit v1.9.3