|  |  | @ -7,6 +7,16 @@ export default function LeftItem({datas}) { | 
			
		
	
		
			
				
					|  |  |  |     useEffect(() => { | 
			
		
	
		
			
				
					|  |  |  |         let chartInstance = echarts.init(seasonChartRef.current); | 
			
		
	
		
			
				
					|  |  |  |         const option = { | 
			
		
	
		
			
				
					|  |  |  |             tooltip: { | 
			
		
	
		
			
				
					|  |  |  |                 show: true, | 
			
		
	
		
			
				
					|  |  |  |                 trigger: 'item', | 
			
		
	
		
			
				
					|  |  |  |                 position: 'right', | 
			
		
	
		
			
				
					|  |  |  |                 backgroundColor: 'rgba(0,0,0,0.7)', | 
			
		
	
		
			
				
					|  |  |  |                 textStyle: { | 
			
		
	
		
			
				
					|  |  |  |                   color: '#fff', | 
			
		
	
		
			
				
					|  |  |  |                 }, | 
			
		
	
		
			
				
					|  |  |  |                 formatter: (values) => `  ${values.name}<b>${datas.processed}个</b>`, | 
			
		
	
		
			
				
					|  |  |  |               }, | 
			
		
	
		
			
				
					|  |  |  |             title: { | 
			
		
	
		
			
				
					|  |  |  |             text: `${(datas.processed*100/datas.total).toFixed(2)}%`, | 
			
		
	
		
			
				
					|  |  |  |             top:'35%', | 
			
		
	
	
		
			
				
					|  |  | @ -70,7 +80,7 @@ export default function LeftItem({datas}) { | 
			
		
	
		
			
				
					|  |  |  |             type: 'bar', | 
			
		
	
		
			
				
					|  |  |  |             data: [{ | 
			
		
	
		
			
				
					|  |  |  |                 name: '已处理', | 
			
		
	
		
			
				
					|  |  |  |                 value: (datas.processed/datas.total).toFixed(2)*100, | 
			
		
	
		
			
				
					|  |  |  |                 value: (datas.processed*100/datas.total).toFixed(2), | 
			
		
	
		
			
				
					|  |  |  |                 itemStyle: { | 
			
		
	
		
			
				
					|  |  |  |                     normal: { | 
			
		
	
		
			
				
					|  |  |  |                         color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [ { | 
			
		
	
	
		
			
				
					|  |  | 
 |