音频:
-
+
+ :key="src"
+ v-for="src in eventInfo.voiceList" />
-
+
反映渠道:
diff --git a/src/views/modules/visual/communityGovern/shijianchuli/pieOption.js b/src/views/modules/visual/communityGovern/shijianchuli/pieOption.js
index 1a64a0e0..4bca2b2f 100644
--- a/src/views/modules/visual/communityGovern/shijianchuli/pieOption.js
+++ b/src/views/modules/visual/communityGovern/shijianchuli/pieOption.js
@@ -1,10 +1,10 @@
export function pieOption (_charts) {
-const center= ['50%', '200px']
+const center= ['50%', '170px']
return {
title: {
text: '0',
- top: 170,
+ top: 140,
left: 'center',
textStyle: {
width: '100%',
diff --git a/src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue b/src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue
index 778d568f..de37ee5e 100644
--- a/src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue
+++ b/src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue
@@ -294,18 +294,18 @@ export default {
//获取服务器数据
await this.getProjectTotal()
await this.getLineChart()
- await this.getTable()
+
this.dataLoading = false
- this.assignData()
+ // this.assignData()
},
methods: {
async getApiData () {
+
await this.getProjectTotal()
await this.getLineChart()
- await this.getTable();
this.assignData()
@@ -332,19 +332,20 @@ export default {
}
if (index !== '0') {
await this.getApiData()
- this.assignPieChart()
+ // this.assignPieChart()
}
},
assignData () {
+
this.getPie()
this.getLine()
},
handleSelectChange (value) {
- console.log(value)
+
this.queryStartTime = value[0] + " 00:00:00"
this.queryEndTime = value[1] + " 23:59:59"
this.getApiData();
@@ -565,6 +566,7 @@ export default {
},
getPie () {
+
if (this.pieInitState) {
this.assignPieChart()
} else {
@@ -588,7 +590,7 @@ export default {
this.pieOption.title.text = this.projectTotal
- this.clickPie(maxIndex)
+ this.clickPie()
let fun = function (params) {
_that.clickPie(params.dataIndex)
@@ -598,10 +600,13 @@ export default {
},
clickPie (seriesIndex) {
+
if (seriesIndex === 0) {
this.processStatus = 'closed_case'
- } else {
+ } else if (seriesIndex === 1) {
this.processStatus = 'processing'
+ } else {
+ this.processStatus = ''
}
this.pieData.forEach((element, index) => {
@@ -643,28 +648,15 @@ export default {
handleChangeAgency () {
let obj = this.$refs["myCascader"].getCheckedNodes()[0].data
if (obj) {
- this.orgId = obj.level === 'grid' ? 'grid' : 'agency'
- this.orgId = obj.this.orgId = orgArray[0]
+ this.orgType = obj.level === 'grid' ? 'grid' : 'agency'
+ this.orgId = obj.agencyId
} else {
this.orgId = ''
this.orgType = ''
}
- // let orgArray = []
- // let key = this.agencyIdArray.length > 0 ? this.agencyIdArray[this.agencyIdArray.length - 1] : ''
- // if (key) {
- // debugger
- // orgArray = key.split('-')
- // this.orgId = orgArray[0]
- // this.orgType = orgArray[1] === 'grid' ? 'grid' : 'agency'
- // } else {
- // this.orgId = ''
- // this.orgType = ''
- // }
-
this.getApiData()
-
},
//初始化时间
@@ -707,7 +699,7 @@ export default {
this.userId = id;
},
userId () {
- this.getApiData();
+ // this.getApiData();
window.scrollTo(0, 0);
},
},