diff --git a/src/components/rtReport/index.vue b/src/components/rtReport/index.vue index 049aa84..7ded9f5 100644 --- a/src/components/rtReport/index.vue +++ b/src/components/rtReport/index.vue @@ -241,31 +241,31 @@ export default { let prodDes = null; switch (this.pdSubType) { case productSubTypeVal.ACS_DEM: - prodDes = "米"; + prodDes = "高程:m"; break; case productSubTypeVal.ACS_BACKSCATTERINGCOEFFICIENT: - prodDes = "dB"; + prodDes = "后向散射系数:dB"; break; case productSubTypeVal.ACS_ATMOSPHERICDELAYCORRECTION: - prodDes = "米"; + prodDes = "大气延迟:m"; break; case productSubTypeVal.ACS_DEFORMATION: - prodDes = "米"; + prodDes = "形变量:m"; break; case productSubTypeVal.ACS_SOILMOISTURE: - prodDes = "立方厘米/立方厘米"; + prodDes = "体积含水量:cm³/cm³"; break; case productSubTypeVal.ACS_SOILSALINITYINVERSION: - prodDes = "克/千克"; + prodDes = "土壤盐碱度:g/kg"; break; case productSubTypeVal.ACS_SURFACEROUGHNESS: - prodDes = "厘米"; + prodDes = "均方根高度:cm"; break; case productSubTypeVal.ACS_GROUNDVEGETATIONHEIGHT: - prodDes = "厘米"; + prodDes = "植被高度:cm"; break; case productSubTypeVal.ACS_GROUNDLEAFAREAINDEX: - prodDes = "LAI值"; + prodDes = "叶面积指数:LAI"; break; } return prodDes; @@ -341,6 +341,7 @@ export default { predictedValues.push(errorVala[i].cre_imageValue); } const x_limit = Math.abs((Math.max(...xArr) - Math.min(...xArr)) / xArr.length); + // const y_limit = Math.abs((Math.max(...observedValues) - Math.min(...observedValues)) / observedValues.length); //多项式回归 let wcpf = data.map(a=>{ return Math.pow((a[1]-a[0]),2) @@ -469,12 +470,13 @@ export default { }, yAxis: { name: "实测值(" + this.getProductDes() + ")", + // min: Number((Math.min(...observedValues) - y_limit).toFixed(0)), nameTextStyle: { lineHeight: 30, height: 60, - // fontWeight: "bold", + // fontWeight: "bold", fontSize: 13, - padding: [0, 0, 10, 0], + padding: [0, 0, 20, 0], }, nameRotate: 90, // 因为是在rightMiddle 所以需要其翻转 将其改为负值 nameLocation: "center", // y轴name处于y轴的什么位置 diff --git a/src/lib/cesiumUtils.js b/src/lib/cesiumUtils.js index 7d2a947..d33ed0b 100644 --- a/src/lib/cesiumUtils.js +++ b/src/lib/cesiumUtils.js @@ -165,7 +165,7 @@ class CesiumUtils { static addPoint(pLon, pLat, pAlt, isSelected = false,pointId = null) { var pointEntity = this.viewer.entities.add({ id: pointId, - position: Cesium.Cartesian3.fromDegrees(pLon, pLat, pAlt), + position: Cesium.Cartesian3.fromDegrees(pLon, pLat, 10), point: { pixelSize: 10, color: isSelected ? Cesium.Color.RED : Cesium.Color.YELLOW, diff --git a/src/views/Daichuli/Feedback/Inspection/index.vue b/src/views/Daichuli/Feedback/Inspection/index.vue index 468740e..4c2247a 100644 --- a/src/views/Daichuli/Feedback/Inspection/index.vue +++ b/src/views/Daichuli/Feedback/Inspection/index.vue @@ -283,10 +283,10 @@ export default { const pm = (self.productMsg = am.productMsg); self.geoWorkSpace = pm.geoWorkspace; self.geoLayerName = pm.geoLayerName; - // self.tifPath = pm.ftpPath; + self.tifPath = pm.ftpPath; //由于空天院内网服务无法拉取外网资源,先改成内网资源访问 - let rt = pm.ftpPath.split('/'); - self.tifPath = 'http://10.0.31.125:18030/inspection/files/' + rt[rt.length - 1]; + // let rt = pm.ftpPath.split('/'); + // self.tifPath = 'http://10.0.31.125:18030/inspection/files/' + rt[rt.length - 1]; self.projection = pm.projection; self.microwaveDataJson = self.productMsg.microwaveDataJson // 赋值真实性检验方法