|  |  | @ -508,16 +508,22 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       this.clickPie() // this.clickPie(maxIndex) | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |       let fun = function (params) { | 
			
		
	
		
			
				
					|  |  |  |         _that.clickPie(params.dataIndex) | 
			
		
	
		
			
				
					|  |  |  |         _that.clickPie(params) | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |       this.$refs.pieChart.handleClick(fun) | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     clickPie (seriesIndex) { | 
			
		
	
		
			
				
					|  |  |  |       let isSelected = false | 
			
		
	
		
			
				
					|  |  |  |     clickPie (params) { | 
			
		
	
		
			
				
					|  |  |  |       let dataIndex = params ? params.dataIndex : null | 
			
		
	
		
			
				
					|  |  |  |       let componentIndex = params ? params.componentIndex : null | 
			
		
	
		
			
				
					|  |  |  |       if (componentIndex === 2) { // 点击中心 | 
			
		
	
		
			
				
					|  |  |  |         dataIndex = -1 | 
			
		
	
		
			
				
					|  |  |  |         this.categoryCode = '' | 
			
		
	
		
			
				
					|  |  |  |         this.$refs.pieChart.clear() | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |       this.pieData.forEach((element, index) => { | 
			
		
	
		
			
				
					|  |  |  |         if (index === seriesIndex) { | 
			
		
	
		
			
				
					|  |  |  |         if (index === dataIndex) { | 
			
		
	
		
			
				
					|  |  |  |           element.label = { | 
			
		
	
		
			
				
					|  |  |  |             show: true, | 
			
		
	
		
			
				
					|  |  |  |           } | 
			
		
	
	
		
			
				
					|  |  | @ -529,12 +535,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |           this.categoryCode = element.categoryCode | 
			
		
	
		
			
				
					|  |  |  |           element.selected = !element.selected | 
			
		
	
		
			
				
					|  |  |  |           isSelected = element.selected | 
			
		
	
		
			
				
					|  |  |  |           // if (isSelected) { | 
			
		
	
		
			
				
					|  |  |  |           //   this.categoryCode = element.categoryCode | 
			
		
	
		
			
				
					|  |  |  |           // } else { | 
			
		
	
		
			
				
					|  |  |  |           //   this.categoryCode = '' | 
			
		
	
		
			
				
					|  |  |  |           // }           | 
			
		
	
		
			
				
					|  |  |  |         } else { | 
			
		
	
		
			
				
					|  |  |  |           element.label = { | 
			
		
	
		
			
				
					|  |  |  |             show: false, | 
			
		
	
	
		
			
				
					|  |  | @ -600,15 +600,23 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       this.clickGridPie() // this.clickGridPie(maxIndex) | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |       let fun = function (params) { | 
			
		
	
		
			
				
					|  |  |  |         _that.clickGridPie(params.dataIndex) | 
			
		
	
		
			
				
					|  |  |  |         _that.clickGridPie(params) | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |       this.$refs.gridPieChart.handleClick(fun) | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     clickGridPie (seriesIndex) { | 
			
		
	
		
			
				
					|  |  |  |     clickGridPie (params) { | 
			
		
	
		
			
				
					|  |  |  |       let dataIndex = params ? params.dataIndex : null | 
			
		
	
		
			
				
					|  |  |  |       let componentIndex = params ? params.componentIndex : null | 
			
		
	
		
			
				
					|  |  |  |       if (componentIndex === 2) { // 点击中心 | 
			
		
	
		
			
				
					|  |  |  |         dataIndex = -1 | 
			
		
	
		
			
				
					|  |  |  |         this.tableOrgId = '' | 
			
		
	
		
			
				
					|  |  |  |         this.tableOrgType = '' | 
			
		
	
		
			
				
					|  |  |  |         this.$refs.gridPieChart.clear() | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |       this.gridPieData.forEach((element, index) => { | 
			
		
	
		
			
				
					|  |  |  |         if (index === seriesIndex) { | 
			
		
	
		
			
				
					|  |  |  |         if (index === dataIndex) { | 
			
		
	
		
			
				
					|  |  |  |           element.label = { | 
			
		
	
		
			
				
					|  |  |  |             show: true, | 
			
		
	
		
			
				
					|  |  |  |           } | 
			
		
	
	
		
			
				
					|  |  | 
 |