修改地表覆盖映射

tykong-cidian
duxiaoning 2024-09-03 16:28:38 +08:00
parent 82d7723d86
commit 1ba2c3001c
6 changed files with 41 additions and 59 deletions

View File

@ -8,41 +8,22 @@
<div>
<el-tabs v-model="activeTabs">
<el-tab-pane label="误差矩阵" name="pixel">
<ReportTable
:errorMatrix="errorMatrix"
activeTabs="pixel"
></ReportTable>
<ReportTable :errorMatrix="errorMatrix" activeTabs="pixel"></ReportTable>
</el-tab-pane>
<el-tab-pane label="用户精度" name="userPre">
<ReportTable
:errorMatrix="errorMatrix"
:preResults="preResults['用户精度']"
activeTabs="userPre"
>
<ReportTable :errorMatrix="errorMatrix" :preResults="preResults['用户精度']" activeTabs="userPre">
</ReportTable>
</el-tab-pane>
<el-tab-pane label="生产者精度" name="producerPre">
<ReportTable
:errorMatrix="errorMatrix"
:preResults="preResults['生产者精度']"
activeTabs="producerPre"
>
<ReportTable :errorMatrix="errorMatrix" :preResults="preResults['生产者精度']" activeTabs="producerPre">
</ReportTable>
</el-tab-pane>
<el-tab-pane label="错分精度" name="errorPre">
<ReportTable
:errorMatrix="errorMatrix"
:preResults="preResults['错分误差']"
activeTabs="errorPre"
>
<ReportTable :errorMatrix="errorMatrix" :preResults="preResults['错分误差']" activeTabs="errorPre">
</ReportTable>
</el-tab-pane>
<el-tab-pane label="漏分精度" name="LeakagePre">
<ReportTable
:errorMatrix="errorMatrix"
:preResults="preResults['漏分误差']"
activeTabs="LeakagePre"
>
<ReportTable :errorMatrix="errorMatrix" :preResults="preResults['漏分误差']" activeTabs="LeakagePre">
</ReportTable>
</el-tab-pane>
</el-tabs>
@ -51,8 +32,7 @@
</div>
<div class="groudCoverType">
<div class="box1">
<span class="sp1"></span
><span class="sp2">{{ pdSubTypeName }}误差结果图</span>
<span class="sp1"></span><span class="sp2">{{ pdSubTypeName }}误差结果图</span>
</div>
<div class="gctContent">
<div id="qtReportEchart" ref="chart"></div>
@ -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 = {

View File

@ -54,7 +54,6 @@ export function truthFunctionsMap(truthFun) {
13: "Kappa系数",
11: "产品真值",
112: "正射误差列表",
99: "有效值"
};
if (truthFun == null) return null;
else return truthFunMap[truthFun];

View File

@ -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(

View File

@ -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
//

View File

@ -88,8 +88,8 @@
<div class="box1">
<span class="sp1"></span><span class="sp2">{{
orderMsg.productSubClassId == 39
? "地表覆盖类型表"
: "植被物候类型表"
? "地表覆盖类型表"
: "植被物候类型表"
}}</span>
</div>
<el-table :data="groudClassData" :header-cell-style="{ background: '#E4E9F1' }" :cell-style="tableRowClassName"
@ -343,9 +343,12 @@ export default {
const rd = res.dataList;
const gda = []
for (let i in rd) {
gda.push({ imageName: rd[i].name, imageValue: rd[i].imageValue, coverId: rd[i].systemCoverList[0].coverId, coverName: rd[i].systemCoverList[0].coverName });
if (rd[i].systemCoverList[0]) {
gda.push({ imageName: rd[i].name, imageValue: rd[i].imageValue, coverId: rd[i].systemCoverList[0].coverId, coverName: rd[i].systemCoverList[0].coverName });
}
}
self.groudClassData = gda;
}
})
} else if (proSubId === 47) {

View File

@ -36,8 +36,8 @@ module.exports = {
}
},
[process.env.VUE_APP_REALITY_API]: {
target: "http://192.168.88.199: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.199: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: {