|  | @ -203,8 +203,8 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       pm10Drawer: null |  |  |       pm10Drawer: null | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |     let options = reactive({ |  |  |     let options = reactive({ | 
			
		
	
		
		
			
				
					
					|  |  |       // currentTab: 'MWR', |  |  |       currentTab: 'MWR', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       currentTab: 'BingoCloud', |  |  |       // currentTab: 'BingoCloud', | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |       currentRegion: 'jiangning', |  |  |       currentRegion: 'jiangning', | 
			
		
	
		
		
			
				
					|  |  |       currentElement: 'PBLH', |  |  |       currentElement: 'PBLH', | 
			
		
	
		
		
			
				
					|  |  |       currentType: '边界层高度', |  |  |       currentType: '边界层高度', | 
			
		
	
	
		
		
			
				
					|  | @ -302,19 +302,20 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       if (options.currentTab === 'boundary-layer-height') { |  |  |       if (options.currentTab === 'boundary-layer-height') { | 
			
		
	
		
		
			
				
					|  |  |         reloadCloudRecognition(101, 'watervapor', drawSingleWatervapor); |  |  |         reloadCloudRecognition(101, 'watervapor', drawSingleWatervapor); | 
			
		
	
		
		
			
				
					|  |  |       } else if (options.currentTab === 'optical-property') { |  |  |       } else if (options.currentTab === 'optical-property') { | 
			
		
	
		
		
			
				
					
					|  |  |         extinctionApi() |  |  |         // extinctionApi() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         LidarRatioApi() |  |  |         // LidarRatioApi() | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |         reloadCloudRecognition(801, 'extinction', drawOpticsExtinction); |  |  |         reloadCloudRecognition(801, 'extinction', drawOpticsExtinction); | 
			
		
	
		
		
			
				
					|  |  |       } else if (options.currentTab === 'aerosol-product') { |  |  |       } else if (options.currentTab === 'aerosol-product') { | 
			
		
	
		
		
			
				
					
					|  |  |         boundaryLayerHeightDate() |  |  |         // boundaryLayerHeightDate() | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |         reloadChartsRecognition('pblh', drawCharts) | 
			
		
	
		
		
			
				
					|  |  |         reloadCloudRecognition(201, 'pm2_5', drawPm2Point5); |  |  |         reloadCloudRecognition(201, 'pm2_5', drawPm2Point5); | 
			
		
	
		
		
			
				
					|  |  |         reloadCloudRecognition(201, 'pm10', drawPm10); |  |  |         reloadCloudRecognition(201, 'pm10', drawPm10); | 
			
		
	
		
		
			
				
					|  |  |         // boundaryCharacteristicApi() |  |  |         // boundaryCharacteristicApi() | 
			
		
	
		
		
			
				
					|  |  |         //aerosolApi() |  |  |         //aerosolApi() | 
			
		
	
		
		
			
				
					|  |  |       } else if (options.currentTab === 'BingoCloud') { |  |  |       } else if (options.currentTab === 'BingoCloud') { | 
			
		
	
		
		
			
				
					|  |  |         //layerTypeApi() |  |  |         //layerTypeApi() | 
			
		
	
		
		
			
				
					
					|  |  |         cloudsHeightApi() |  |  |         // cloudsHeightApi() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         cloudTopHeightApi() |  |  |         // cloudTopHeightApi() | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |         reloadCloudRecognition(801, 'layertype', drawCloudSol); |  |  |         reloadCloudRecognition(801, 'layertype', drawCloudSol); | 
			
		
	
		
		
			
				
					|  |  |       } else if (options.currentTab === 'MWR') { |  |  |       } else if (options.currentTab === 'MWR') { | 
			
		
	
		
		
			
				
					|  |  |         //waterVapourApi() |  |  |         //waterVapourApi() | 
			
		
	
	
		
		
			
				
					|  | @ -359,6 +360,10 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       creates.pm10Drawer.draw(); |  |  |       creates.pm10Drawer.draw(); | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     const drawCharts = (result: CustomeArray<any>) => { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       if (result.length != 24) return; | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       console.log(result) | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |     const preparePmColors = () => { |  |  |     const preparePmColors = () => { | 
			
		
	
		
		
			
				
					|  |  |       return new ColorChart(['#F6EF20','#FEC338', '#C5C22A', '#72CD64', '#31C69F', '#01B8CA', '#259BE8', '#327CFC', '#4853F4', '#422EC1'], |  |  |       return new ColorChart(['#F6EF20','#FEC338', '#C5C22A', '#72CD64', '#31C69F', '#01B8CA', '#259BE8', '#327CFC', '#4853F4', '#422EC1'], | 
			
		
	
		
		
			
				
					|  |  |         [100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 0], true, true |  |  |         [100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 0], true, true | 
			
		
	
	
		
		
			
				
					|  | @ -456,6 +461,15 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |         reloadSingleCloudRecognition(capacity, time.clone().add(-index, 'h').format('M_D_H'), element, result); |  |  |         reloadSingleCloudRecognition(capacity, time.clone().add(-index, 'h').format('M_D_H'), element, result); | 
			
		
	
		
		
			
				
					|  |  |       } |  |  |       } | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     // | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     const reloadChartsRecognition = (element: string, callback: any) => { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       let result = new CustomeArray(callback); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       let time = moment(options.date); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       for(let index = 0; index < 24; index ++){ | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         reloadSingleChartsRecognition( time.clone().add(-index, 'h').format('M_D_H'), element, result); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     const drawCloudRecognition = (result: CustomeArray<any>) => { |  |  |     const drawCloudRecognition = (result: CustomeArray<any>) => { | 
			
		
	
		
		
			
				
					|  |  |       if (result.length != 24) return; |  |  |       if (result.length != 24) return; | 
			
		
	
	
		
		
			
				
					|  | @ -516,6 +530,8 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       return matrix; |  |  |       return matrix; | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     const reloadSingleCloudRecognition = (capacity: number, time: string, elementCode, result: CustomeArray<any>) => { |  |  |     const reloadSingleCloudRecognition = (capacity: number, time: string, elementCode, result: CustomeArray<any>) => { | 
			
		
	
		
		
			
				
					|  |  |       const params = prepareApiParams(time, elementCode) |  |  |       const params = prepareApiParams(time, elementCode) | 
			
		
	
		
		
			
				
					|  |  |       get('/njqxj/lmlidar', params, ConstantRamanLidar.baseUrl).then((response: any) => { |  |  |       get('/njqxj/lmlidar', params, ConstantRamanLidar.baseUrl).then((response: any) => { | 
			
		
	
	
		
		
			
				
					|  | @ -523,10 +539,20 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |           setCloudRecognitionResult(capacity, time, response.message, null, result); |  |  |           setCloudRecognitionResult(capacity, time, response.message, null, result); | 
			
		
	
		
		
			
				
					|  |  |           return; |  |  |           return; | 
			
		
	
		
		
			
				
					|  |  |         } |  |  |         } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         setCloudRecognitionResult(capacity, time, response.message, response.data, result); |  |  |         setCloudRecognitionResult(capacity, time, response.message, response.data, result); | 
			
		
	
		
		
			
				
					|  |  |       }) |  |  |       }) | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     // | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     const reloadSingleChartsRecognition = (time: string, elementCode, result: CustomeArray<any>) => { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       const params = prepareApiParams(time, elementCode) | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       get('/njqxj/lmlidar', params, ConstantRamanLidar.baseUrl).then((response: any) => { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         if (response.state != 0) { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |           setChartsRecognitionResult(time, response.message, null, result); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |           return; | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         setChartsRecognitionResult( time, response.message, response.data, result); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       }) | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     const setCloudRecognitionResult = (capacity: number, time: string, message: string, data: any, result: CustomeArray<any>) =>{ |  |  |     const setCloudRecognitionResult = (capacity: number, time: string, message: string, data: any, result: CustomeArray<any>) =>{ | 
			
		
	
		
		
			
				
					|  |  |       result.push({ |  |  |       result.push({ | 
			
		
	
	
		
		
			
				
					|  | @ -535,6 +561,14 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |         data: data == null ? null : JSON.parse(data).slice(0, capacity) |  |  |         data: data == null ? null : JSON.parse(data).slice(0, capacity) | 
			
		
	
		
		
			
				
					|  |  |       }) |  |  |       }) | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     // | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     const setChartsRecognitionResult = ( time: string, message: string, data: any, result: CustomeArray<any> ) => { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       result.push({ | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         time: time, | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         message: message, | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         data: data == null ? null : JSON.parse(data) | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       }) | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     const initEcharts = (name) => { |  |  |     const initEcharts = (name) => { | 
			
		
	
		
		
			
				
					|  |  |       if (name === 'boundary-layer-height') { |  |  |       if (name === 'boundary-layer-height') { | 
			
		
	
	
		
		
			
				
					|  | @ -681,7 +715,6 @@ export default { | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     //时间选择 |  |  |     //时间选择 | 
			
		
	
		
		
			
				
					|  |  |     const onTimeClick = (time, index) => { |  |  |     const onTimeClick = (time, index) => { | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  |  | 
			
		
	
		
		
			
				
					|  |  |       options.currentTime = time.date; |  |  |       options.currentTime = time.date; | 
			
		
	
		
		
			
				
					|  |  |       options.date = time.date; |  |  |       options.date = time.date; | 
			
		
	
		
		
			
				
					|  |  |       reloadChangeData() |  |  |       reloadChangeData() | 
			
		
	
	
		
		
			
				
					|  | @ -824,20 +857,23 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       } |  |  |       } | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  |  | 
			
		
	
		
		
			
				
					|  |  |     //边界层高度 |  |  |     //边界层高度 | 
			
		
	
		
		
			
				
					|  |  |     const boundaryLayerHeightDate = () => { |  |  |     const boundaryLayerHeightDate = () => { | 
			
		
	
		
		
			
				
					|  |  |       options.boundaryLayerHeightList = [] |  |  |       options.boundaryLayerHeightList = [] | 
			
		
	
		
		
			
				
					
					|  |  |       const time = moment(options.date).format('MM_DD') |  |  |       const time = moment(options.date).format('M_D_2') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       const params = prepareApiParams(time, 'pblh') |  |  |       const params = prepareApiParams(time, 'pblh') | 
			
		
	
		
		
			
				
					|  |  |       get('/njqxj/lmlidar', params, ConstantRamanLidar.baseUrl).then((response: any) => { |  |  |       get('/njqxj/lmlidar', params, ConstantRamanLidar.baseUrl).then((response: any) => { | 
			
		
	
		
		
			
				
					
					|  |  |         if (response.length <= 0) { |  |  |         if (response.state != 0) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |           error() | 
			
		
	
		
		
			
				
					|  |  |  |  |  |           return; | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         if (response.data.length === 0) { | 
			
		
	
		
		
			
				
					|  |  |           verify() |  |  |           verify() | 
			
		
	
		
		
			
				
					|  |  |           return; |  |  |           return; | 
			
		
	
		
		
			
				
					|  |  |         } |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |         for (let i in response) { |  |  |         for (let i in JSON.parse(response.data)) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           for (let val in response[i]) { |  |  |           for (let val in JSON.parse(response.data)[i]) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |             options.boundaryLayerHeightList.push(response[i][val]) |  |  |             options.boundaryLayerHeightList.push(JSON.parse(response.data)[i][val]) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |           } |  |  |           } | 
			
		
	
		
		
			
				
					|  |  |         } |  |  |         } | 
			
		
	
		
		
			
				
					|  |  |         creates.boundaryLayerHeight.updateSeries(0, options.boundaryLayerHeightList) |  |  |         creates.boundaryLayerHeight.updateSeries(0, options.boundaryLayerHeightList) | 
			
		
	
	
		
		
			
				
					|  | @ -860,6 +896,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       const time = moment(options.date).format('MM_DD') |  |  |       const time = moment(options.date).format('MM_DD') | 
			
		
	
		
		
			
				
					|  |  |       const params = prepareApiParams(time, 'lidarratio') |  |  |       const params = prepareApiParams(time, 'lidarratio') | 
			
		
	
		
		
			
				
					|  |  |       get('/njqxj/lmlidar', params, ConstantRamanLidar.baseUrl).then((response: any) => { |  |  |       get('/njqxj/lmlidar', params, ConstantRamanLidar.baseUrl).then((response: any) => { | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |         if (response.length <= 0) { |  |  |         if (response.length <= 0) { | 
			
		
	
		
		
			
				
					|  |  |           verify() |  |  |           verify() | 
			
		
	
		
		
			
				
					|  |  |           return; |  |  |           return; | 
			
		
	
	
		
		
			
				
					|  | @ -973,6 +1010,16 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |         duration: 1500 |  |  |         duration: 1500 | 
			
		
	
		
		
			
				
					|  |  |       }) |  |  |       }) | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     const error = () => { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       ElMessage({ | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         showClose: true, | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         message: '请求接口错误', | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         icon: '', | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         type: null, | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         grouping: true, | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         duration: 1500 | 
			
		
	
		
		
			
				
					|  |  |  |  |  |       }) | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     return { |  |  |     return { | 
			
		
	
		
		
			
				
					|  |  |       ...toRefs(options), |  |  |       ...toRefs(options), | 
			
		
	
	
		
		
			
				
					|  | 
 |