From d30a28649b4482fd2e60e222ea6f0a4c392ee5c9 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 21 Mar 2023 13:47:44 +0800
Subject: [PATCH] 演示更改回
---
src/views/home/components/leftContainer.vue | 93 ++++++++++------------------------------------
1 files changed, 21 insertions(+), 72 deletions(-)
diff --git a/src/views/home/components/leftContainer.vue b/src/views/home/components/leftContainer.vue
index 47aa08a..1c91112 100644
--- a/src/views/home/components/leftContainer.vue
+++ b/src/views/home/components/leftContainer.vue
@@ -43,10 +43,10 @@
<defs>
<path id="border-box-8-path-974b4d7cfafa444396861ca1d1173c8c"
d="M0.27,0.03c52.66,0,105.34,0,158,0c1.67,2,3.33,4,5,6c1,0.33,2,0.67,3,1c1.33,1.67,2.67,3.33,4,5
- c16,0,32,0,48,0c53.66,0,107.34,0,161,0c1.13,1.72,0.63,1.36,3,2c0,0.67,0,1.33,0,2c0.67,0,1.33,0,2,0
- c0.01,104.58,0.01,206.44,0,309c-1.43,0.78-4.01,2.77-5,4c-12,0-24,0-36,0c-2.67-3.33-5.33-6.67-8-10c-21,0-42,0-63,0
- c-1.08,2.32-2.35,4.25-4,6c-0.67,0.33-1.33,0.67-2,1c-0.33,1-0.67,2-1,3c-20,0-40,0-60,0c-66.66,0-133.34,0-200,0
- c-1.28-1.57-2.76-2.25-4-4c-0.33,0-0.67,0-1,0c0-8.67,0-17.33,0-26c0-19.66,0-39.34,0-59C0.27,160.04,0.27,80.02,0.27,0.03z"
+ c16,0,32,0,48,0c53.66,0,107.34,0,161,0c1.13,1.72,0.63,1.36,3,2c0,0.67,0,1.33,0,2c0.67,0,1.33,0,2,0
+ c0.01,104.58,0.01,206.44,0,309c-1.43,0.78-4.01,2.77-5,4c-12,0-24,0-36,0c-2.67-3.33-5.33-6.67-8-10c-21,0-42,0-63,0
+ c-1.08,2.32-2.35,4.25-4,6c-0.67,0.33-1.33,0.67-2,1c-0.33,1-0.67,2-1,3c-20,0-40,0-60,0c-66.66,0-133.34,0-200,0
+ c-1.28-1.57-2.76-2.25-4-4c-0.33,0-0.67,0-1,0c0-8.67,0-17.33,0-26c0-19.66,0-39.34,0-59C0.27,160.04,0.27,80.02,0.27,0.03z"
fill="transparent" />
<radialGradient id="border-box-8-gradient-974b4d7cfafa444396861ca1d1173c8c" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#fff" stop-opacity="1" />
@@ -56,10 +56,10 @@
<circle cx="0" cy="0" r="150" fill="url(#border-box-8-gradient-974b4d7cfafa444396861ca1d1173c8c)">
<animateMotion dur="8s"
path="M0.27,0.03c52.66,0,105.34,0,158,0c1.67,2,3.33,4,5,6c1,0.33,2,0.67,3,1c1.33,1.67,2.67,3.33,4,5
- c16,0,32,0,48,0c53.66,0,107.34,0,161,0c1.13,1.72,0.63,1.36,3,2c0,0.67,0,1.33,0,2c0.67,0,1.33,0,2,0
- c0.01,104.58,0.01,206.44,0,309c-1.43,0.78-4.01,2.77-5,4c-12,0-24,0-36,0c-2.67-3.33-5.33-6.67-8-10c-21,0-42,0-63,0
- c-1.08,2.32-2.35,4.25-4,6c-0.67,0.33-1.33,0.67-2,1c-0.33,1-0.67,2-1,3c-20,0-40,0-60,0c-66.66,0-133.34,0-200,0
- c-1.28-1.57-2.76-2.25-4-4c-0.33,0-0.67,0-1,0c0-8.67,0-17.33,0-26c0-19.66,0-39.34,0-59C0.27,160.04,0.27,80.02,0.27,0.03z"
+ c16,0,32,0,48,0c53.66,0,107.34,0,161,0c1.13,1.72,0.63,1.36,3,2c0,0.67,0,1.33,0,2c0.67,0,1.33,0,2,0
+ c0.01,104.58,0.01,206.44,0,309c-1.43,0.78-4.01,2.77-5,4c-12,0-24,0-36,0c-2.67-3.33-5.33-6.67-8-10c-21,0-42,0-63,0
+ c-1.08,2.32-2.35,4.25-4,6c-0.67,0.33-1.33,0.67-2,1c-0.33,1-0.67,2-1,3c-20,0-40,0-60,0c-66.66,0-133.34,0-200,0
+ c-1.28-1.57-2.76-2.25-4-4c-0.33,0-0.67,0-1,0c0-8.67,0-17.33,0-26c0-19.66,0-39.34,0-59C0.27,160.04,0.27,80.02,0.27,0.03z"
rotate="auto" repeatCount="indefinite" />
</circle>
</mask>
@@ -307,16 +307,6 @@
homePersonmyChart.setOption(this.initPersonOptions(xDate, yDate, colors), true)
this.clickPeopleChart()
-
- if (this.policeStaionID == '') {
- if (this.userInfo.dept_id == '1596020515064381442') {
- this.personAll.emphasisNum = 21
- }
- } else {
- if (this.policeStaionID == '1596020515064381442') {
- this.personAll.emphasisNum = 21
- }
- }
}
})
},
@@ -490,19 +480,19 @@
xDate.push(item.name)
yDate.push(item.num)
})
- if(this.userInfo.dept_id == '1596020515064381442'){
+ if (this.userInfo.dept_id == '1596020515064381442') {
this.keyPlaceNum = 28
this.realHouseNum = 205
- if(isFollow == 2){
- xDate = ['学校','医院','党政机关','宾馆酒店','零售业','数字经济','批发业','装修及建筑业','租赁业','房地产业','商务服务业','餐饮业']
- yDate = [36,1,3,34,16,25,30,33,2,7,6,2]
- this.inithouseEcharts(xDate, yDate)
- }else{
- xDate = ['反恐重点目标','危爆品单位']
- yDate = [14,14]
- this.inithouseEcharts(xDate, yDate)
- }
- }else{
+ if (isFollow == 2) {
+ xDate = ['学校', '医院', '党政机关', '宾馆酒店', '零售业', '数字经济', '批发业', '装修及建筑业', '租赁业', '房地产业', '商务服务业', '餐饮业']
+ yDate = [36, 1, 3, 34, 16, 25, 30, 33, 2, 7, 6, 2]
+ this.inithouseEcharts(xDate, yDate)
+ } else {
+ xDate = ['反恐重点目标', '危爆品单位']
+ yDate = [14, 14]
+ this.inithouseEcharts(xDate, yDate)
+ }
+ } else {
this.inithouseEcharts(xDate, yDate)
}
})
@@ -731,49 +721,8 @@
let personInfo = await this.getPersonInfo()
- const dataArr = [
- {
- name: '非涉法涉诉重点个访人员',
- value: 6
- },
- {
- name: '楼盘业主维权群体',
- value: 1
- },
- {
- name: '欠薪讨债群体',
- value: 1
- },
- {
- name: '涉法涉诉重点个访人员',
- value: 4
- },
- {
- name: '征地拆迁群体',
- value: 9
- }
-
- ]
-
- if (this.policeStaionID == '') {
- if (this.userInfo.dept_id == '1596020515064381442') {
- keyPersonmyChart.setOption(this.initkeyPersonOption(dataArr))
-
- this.personAll.emphasisNum = 21
- } else {
- keyPersonmyChart.setOption(this.initkeyPersonOption(personInfo))
- this.clickkeyPersonChart()
- }
- } else {
- if (this.policeStaionID == '1596020515064381442') {
- keyPersonmyChart.setOption(this.initkeyPersonOption(dataArr))
-
- this.personAll.emphasisNum = 21
- } else {
- keyPersonmyChart.setOption(this.initkeyPersonOption(personInfo))
- this.clickkeyPersonChart()
- }
- }
+ keyPersonmyChart.setOption(this.initkeyPersonOption(personInfo))
+ this.clickkeyPersonChart()
},
/**
* @description: 调用接口获取重点人员数据
--
Gitblit v1.9.3