@@ -113,7 +93,7 @@ export default {
let dataArr = [];
newTableData.forEach((a, index1) => {
a.forEach((b, index2) => {
- dataArr.push([index1, index2, b.count]);
+ dataArr.push([index2, index1, b.count]);
});
});
let echartOption = {
diff --git a/src/lib/variateMap.js b/src/lib/variateMap.js
index 5a3648e..b69909e 100644
--- a/src/lib/variateMap.js
+++ b/src/lib/variateMap.js
@@ -54,7 +54,6 @@ export function truthFunctionsMap(truthFun) {
13: "Kappa系数",
11: "产品真值",
112: "正射误差列表",
- 99: "有效值"
};
if (truthFun == null) return null;
else return truthFunMap[truthFun];
diff --git a/src/views/Daichuli/Feedback/Inspection/Report/index.vue b/src/views/Daichuli/Feedback/Inspection/Report/index.vue
index a0d8cad..a1c6f48 100644
--- a/src/views/Daichuli/Feedback/Inspection/Report/index.vue
+++ b/src/views/Daichuli/Feedback/Inspection/Report/index.vue
@@ -193,25 +193,25 @@ export default {
this.pdSubType === productSubTypeVal.ACS_TYPESOFLANDCOVER ||
this.pdSubType === productSubTypeVal.ACS_VEGETATIONPHENOLOGY
) {
- // this.$refs.reportQT.myCharts.on("finished",()=>{
- this.base64Data = this.$refs.reportQT.myCharts.getDataURL({
- type: "png",
- pixelRatio: 1.5, //放大两倍下载,之后压缩到同等大小展示。解决生成图片在移动端模糊问题
- backgroundColor: "#fff",
- excludeComponents: ["toolbox", "dataZoom"],
- });
- this.exportPdf(this.reportMsg);
- // })
- } else {
- // this.$refs.reportRT.myCharts.on("finished",()=>{
- this.base64Data = this.$refs.reportRT.myCharts.getDataURL({
- type: "png",
- pixelRatio: 1.5, //放大两倍下载,之后压缩到同等大小展示。解决生成图片在移动端模糊问题
- backgroundColor: "#fff",
- excludeComponents: ["toolbox", "dataZoom"],
- });
+ this.base64Data = this.$refs.reportQT.myCharts.getDataURL({
+ type: "png",
+ pixelRatio: 1.5, //放大两倍下载,之后压缩到同等大小展示。解决生成图片在移动端模糊问题
+ backgroundColor: "#fff",
+ excludeComponents: ["toolbox", "dataZoom"],
+ });
+ setTimeout(() => {
this.exportPdf(this.reportMsg);
- // })
+ }, 1500);
+ } else {
+ this.base64Data = this.$refs.reportRT.myCharts.getDataURL({
+ type: "png",
+ pixelRatio: 1.5, //放大两倍下载,之后压缩到同等大小展示。解决生成图片在移动端模糊问题
+ backgroundColor: "#fff",
+ excludeComponents: ["toolbox", "dataZoom"],
+ });
+ setTimeout(() => {
+ this.exportPdf(this.reportMsg);
+ }, 1500);
}
},
created() {
@@ -379,9 +379,9 @@ export default {
microwaveDataJson: asmp.microwaveDataJson,
satellite: asmm.satellite,
load: asmm.load,
- pixelHandleMsg:rpm.pixelHandleMsg,
- projStr:rpm.projStr,
- sampleFun:rpm.sampleFun
+ pixelHandleMsg: rpm.pixelHandleMsg,
+ projStr: rpm.projStr,
+ sampleFun: rpm.sampleFun
};
const pdfName = productTypeMap(self.pdSubType) + "报告";
exportWord(
diff --git a/src/views/Daichuli/Feedback/Inspection/index.vue b/src/views/Daichuli/Feedback/Inspection/index.vue
index 4c2247a..468740e 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
// 赋值真实性检验方法
diff --git a/src/views/Daichuli/Feedback/index.vue b/src/views/Daichuli/Feedback/index.vue
index 90f348e..c437c55 100644
--- a/src/views/Daichuli/Feedback/index.vue
+++ b/src/views/Daichuli/Feedback/index.vue
@@ -88,8 +88,8 @@
{{
orderMsg.productSubClassId == 39
- ? "地表覆盖类型表"
- : "植被物候类型表"
+ ? "地表覆盖类型表"
+ : "植被物候类型表"
}}