|  |  | @ -247,8 +247,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |     let options = reactive({ | 
			
		
	
		
			
				
					|  |  |  |       currentTab: 'MWR', | 
			
		
	
		
			
				
					|  |  |  |       // currentRegion: 'pk', | 
			
		
	
		
			
				
					|  |  |  |       currentRegion: 'jn', | 
			
		
	
		
			
				
					|  |  |  |       currentRegion: 'pk', | 
			
		
	
		
			
				
					|  |  |  |       // currentRegion: 'jn', | 
			
		
	
		
			
				
					|  |  |  |       currentElement: 'PBLH', | 
			
		
	
		
			
				
					|  |  |  |       currentType: '边界层高度', | 
			
		
	
		
			
				
					|  |  |  |       date: moment('2022-04-01 12:00:00').format('YYYY-MM-DD HH:mm:ss'), | 
			
		
	
	
		
			
				
					|  |  | @ -379,10 +379,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         reloadChartsRecognition('icot', drawIceCloudsCharts); | 
			
		
	
		
			
				
					|  |  |  |         reloadChartsRecognition('wcot', drawWaterCloud); | 
			
		
	
		
			
				
					|  |  |  |       } else if (options.currentTab === 'aerosol-product') { | 
			
		
	
		
			
				
					|  |  |  |         reloadChartsRecognition('lidarratio', drawLidarRatioCharts); | 
			
		
	
		
			
				
					|  |  |  |         reloadChartsRecognition('pblh', drawBoundaryLayerCharts); | 
			
		
	
		
			
				
					|  |  |  |         reloadCloudRecognition('pm2_5', 201, 'pm2_5', drawPm2Point5); | 
			
		
	
		
			
				
					|  |  |  |         reloadCloudRecognition('pm2_5', 201, 'pm10', drawPm10); | 
			
		
	
		
			
				
					|  |  |  |         // reloadChartsRecognition('lidarratio', drawLidarRatioCharts); | 
			
		
	
		
			
				
					|  |  |  |         reloadChartLidarratio('lidarratio', drawLidarRatioCharts) | 
			
		
	
		
			
				
					|  |  |  |         // reloadChartsRecognition('pblh', drawBoundaryLayerCharts); | 
			
		
	
		
			
				
					|  |  |  |         // reloadCloudRecognition('pm2_5', 201, 'pm2_5', drawPm2Point5); | 
			
		
	
		
			
				
					|  |  |  |         // reloadCloudRecognition('pm2_5', 201, 'pm10', drawPm10); | 
			
		
	
		
			
				
					|  |  |  |       } else if (options.currentTab === 'BingoCloud') { | 
			
		
	
		
			
				
					|  |  |  |         reloadChartsRecognition('cloudbaseheight', drawCloudsHeightCharts); | 
			
		
	
		
			
				
					|  |  |  |         reloadChartsRecognition('cloudtopheight', drawCloudTopHeightCharts); | 
			
		
	
	
		
			
				
					|  |  | @ -538,11 +539,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     const drawLidarRatioCharts = (result: CustomeArray<any>) => { | 
			
		
	
		
			
				
					|  |  |  |       if (result.length != 24) return; | 
			
		
	
		
			
				
					|  |  |  |       const data = LidarRatioPrepareChartData(result); | 
			
		
	
		
			
				
					|  |  |  |       for (let i = 0; i < 24; i++) { | 
			
		
	
		
			
				
					|  |  |  |         creates.LidarRatio.updateSeries(i, data[i]); | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |       // if (result.length != 24) return; | 
			
		
	
		
			
				
					|  |  |  |       // const data = LidarRatioPrepareChartData(result); | 
			
		
	
		
			
				
					|  |  |  |       // for (let i = 0; i < 24; i++) { | 
			
		
	
		
			
				
					|  |  |  |       //   creates.LidarRatio.updateSeries(i, data[i]); | 
			
		
	
		
			
				
					|  |  |  |       // } | 
			
		
	
		
			
				
					|  |  |  |       options.loadingLidarRatioStatus = false | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | @ -627,7 +628,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         results.push(prepareData.slice(i, i + 201)) | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |       return results; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     const preparePmColors = () => { | 
			
		
	
	
		
			
				
					|  |  | @ -748,6 +748,13 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     const reloadChartLidarratio = (element: string, callback: any) => { | 
			
		
	
		
			
				
					|  |  |  |       preprocessingCharts(element) | 
			
		
	
		
			
				
					|  |  |  |       let result = new CustomeArray(callback); | 
			
		
	
		
			
				
					|  |  |  |       let time = moment(options.date) | 
			
		
	
		
			
				
					|  |  |  |       reloadSingleChartsRecognition(time.format('M_D_H'), element, result); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     const drawCloudRecognition = (result: CustomeArray<any>) => { | 
			
		
	
		
			
				
					|  |  |  |       if (result.length != 12) return; | 
			
		
	
		
			
				
					|  |  |  |       options.loadingCloudRecognitionStatus = false; | 
			
		
	
	
		
			
				
					|  |  | @ -831,6 +838,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     const reloadSingleChartsRecognition = (time: string, elementCode, result: CustomeArray<any>) => { | 
			
		
	
		
			
				
					|  |  |  |       const params = prepareApiParams(time, elementCode) | 
			
		
	
		
			
				
					|  |  |  |       get('/njqxj/lmlidar', params, ConstantRamanLidar.baseUrl).then((response: any) => { | 
			
		
	
		
			
				
					|  |  |  |         console.log(response) | 
			
		
	
		
			
				
					|  |  |  |         if (response.state != 0) { | 
			
		
	
		
			
				
					|  |  |  |           setChartsRecognitionResult(time, response.message, null, result); | 
			
		
	
		
			
				
					|  |  |  |           return; | 
			
		
	
	
		
			
				
					|  |  | @ -1152,6 +1160,13 @@ export default { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     const prepareApiParams = (time, variableName) => { | 
			
		
	
		
			
				
					|  |  |  |       if (variableName == 'lidarratio') { | 
			
		
	
		
			
				
					|  |  |  |         return { | 
			
		
	
		
			
				
					|  |  |  |           date: moment(time,'MM_DD_hh').format('M_D'), | 
			
		
	
		
			
				
					|  |  |  |           var: variableName, | 
			
		
	
		
			
				
					|  |  |  |           locate: options.currentRegion | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |       return { | 
			
		
	
		
			
				
					|  |  |  |         date: time, | 
			
		
	
		
			
				
					|  |  |  |         var: variableName, | 
			
		
	
	
		
			
				
					|  |  | 
 |