From 82d7723d861895091bd8628626f19f080f8b4974 Mon Sep 17 00:00:00 2001
From: duxiaoning <17621883433@163.com>
Date: Tue, 3 Sep 2024 14:53:42 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=A9=E5=80=99=E6=98=A0?=
=?UTF-8?q?=E5=B0=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/ration/qualitative/index.vue | 2 +-
src/lib/variateMap.js | 3 ++-
src/views/Daichuli/Feedback/Inspection/Report/index.vue | 8 ++++----
src/views/Daichuli/Feedback/Inspection/index.vue | 6 +++---
vue.config.js | 8 ++++----
5 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/src/components/ration/qualitative/index.vue b/src/components/ration/qualitative/index.vue
index f51f745..e53b9b6 100644
--- a/src/components/ration/qualitative/index.vue
+++ b/src/components/ration/qualitative/index.vue
@@ -67,7 +67,7 @@
{{
- productSubType == 39 ? JSON.parse(scope.row.paramStr).covernm : JSON.parse(scope.row.paramStr).phenophase
+ productSubType == 39 ? JSON.parse(scope.row.paramStr).covernm : JSON.parse(scope.row.paramStr).crop
}}
diff --git a/src/lib/variateMap.js b/src/lib/variateMap.js
index 1353b01..5a3648e 100644
--- a/src/lib/variateMap.js
+++ b/src/lib/variateMap.js
@@ -53,7 +53,8 @@ export function truthFunctionsMap(truthFun) {
14: "总体分类精度",
13: "Kappa系数",
11: "产品真值",
- 112: "正射误差列表"
+ 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 4bd05d6..a0d8cad 100644
--- a/src/views/Daichuli/Feedback/Inspection/Report/index.vue
+++ b/src/views/Daichuli/Feedback/Inspection/Report/index.vue
@@ -193,7 +193,7 @@ export default {
this.pdSubType === productSubTypeVal.ACS_TYPESOFLANDCOVER ||
this.pdSubType === productSubTypeVal.ACS_VEGETATIONPHENOLOGY
) {
- this.$refs.reportQT.myCharts.on("finished",()=>{
+ // this.$refs.reportQT.myCharts.on("finished",()=>{
this.base64Data = this.$refs.reportQT.myCharts.getDataURL({
type: "png",
pixelRatio: 1.5, //放大两倍下载,之后压缩到同等大小展示。解决生成图片在移动端模糊问题
@@ -201,9 +201,9 @@ export default {
excludeComponents: ["toolbox", "dataZoom"],
});
this.exportPdf(this.reportMsg);
- })
+ // })
} else {
- this.$refs.reportRT.myCharts.on("finished",()=>{
+ // this.$refs.reportRT.myCharts.on("finished",()=>{
this.base64Data = this.$refs.reportRT.myCharts.getDataURL({
type: "png",
pixelRatio: 1.5, //放大两倍下载,之后压缩到同等大小展示。解决生成图片在移动端模糊问题
@@ -211,7 +211,7 @@ export default {
excludeComponents: ["toolbox", "dataZoom"],
});
this.exportPdf(this.reportMsg);
- })
+ // })
}
},
created() {
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
// 赋值真实性检验方法
diff --git a/vue.config.js b/vue.config.js
index 0c2a5d3..f9ba47b 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -36,8 +36,8 @@ module.exports = {
}
},
[process.env.VUE_APP_REALITY_API]: {
- // target: "http://192.168.88.3:18092/microwave",
- target: "https://124.16.188.131:28092/microwave",
+ target: "http://192.168.88.199:18092/microwave",
+ // target: "https://124.16.188.131:28092/microwave",
// target: "http://192.168.1.227:18092/microwave",
changeOrigin: true,
pathRewrite: {
@@ -45,8 +45,8 @@ module.exports = {
}
},
[process.env.VUE_APP_FILE_API]: {
- // target: "http://192.168.88.3:18093/file",
- target: "https://124.16.188.131:28093/file",
+ target: "http://192.168.88.199:18093/file",
+ // target: "https://124.16.188.131:28093/file",
// target: "http://192.168.1.227:18093/file",
changeOrigin: true,
pathRewrite: {