修改地表覆盖映射
parent
82d7723d86
commit
1ba2c3001c
|
@ -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 = {
|
||||
|
|
|
@ -54,7 +54,6 @@ export function truthFunctionsMap(truthFun) {
|
|||
13: "Kappa系数",
|
||||
11: "产品真值",
|
||||
112: "正射误差列表",
|
||||
99: "有效值"
|
||||
};
|
||||
if (truthFun == null) return null;
|
||||
else return truthFunMap[truthFun];
|
||||
|
|
|
@ -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"],
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.exportPdf(this.reportMsg);
|
||||
// })
|
||||
}, 1500);
|
||||
} else {
|
||||
// this.$refs.reportRT.myCharts.on("finished",()=>{
|
||||
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(
|
||||
|
|
|
@ -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
|
||||
// 赋值真实性检验方法
|
||||
|
|
|
@ -343,9 +343,12 @@ export default {
|
|||
const rd = res.dataList;
|
||||
const gda = []
|
||||
for (let i in rd) {
|
||||
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) {
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue