同步廊信院修改,根据联调意见进行界面适配

tykong-cidian
duxiaoning 2023-08-01 14:57:18 +08:00
parent 40ee74ed78
commit 4c382e6279
3 changed files with 31 additions and 22 deletions

View File

@ -27,15 +27,17 @@ const url = {
srSamplePath: `${newPrefix}/Surface_Roughness_Sample.xlsx`, // 地表粗糙度9 srSamplePath: `${newPrefix}/Surface_Roughness_Sample.xlsx`, // 地表粗糙度9
vpSamplePath: `${newPrefix}/Vegetation_Phenology_Sample.xlsx` //Vegetation_Phenology_Sample.xlsx,// 植被物候12 vpSamplePath: `${newPrefix}/Vegetation_Phenology_Sample.xlsx` //Vegetation_Phenology_Sample.xlsx,// 植被物候12
}; };
const serverUrl = "http://10.0.36.121"; const serverUrl = "http://124.16.188.131:18085";
const langServerUrl = "http://10.0.3.157" // const serverUrl = "http://10.0.36.121:8085";
const langServerUrl = "http://124.16.188.131:9599/lxyweb"
// const langServerUrl = "http://10.0.3.157:18030"
// const serverUrl = "http://192.168.1.104"; // const serverUrl = "http://192.168.1.104";
// const serverUrl = "http://211.157.180.211"; // const serverUrl = "http://211.157.180.211";
const urlprefix = { const urlprefix = {
pdfUrlPrefix: `${serverUrl}:8085/microwaveData/pdf/`, pdfUrlPrefix: `${serverUrl}/microwaveData/pdf/`,
samePoiImgsUrl: `${serverUrl}:8085/microwaveData/samePoiImgs/`, samePoiImgsUrl: `${serverUrl}/microwaveData/samePoiImgs/`,
geoserverUrl: `${langServerUrl}:18030/geoserver/gwc/service/wmts`, geoserverUrl: `${langServerUrl}/geoserver/gwc/service/wmts`,
otgGeoServerUrl: `${langServerUrl}:18030/geoserver/gwc/service/wmts`, otgGeoServerUrl: `${langServerUrl}/geoserver/gwc/service/wmts`,
// otgGeoServerUrl: `${serverUrl}:8087/geoserver/gwc/service/wmts` // otgGeoServerUrl: `${serverUrl}:8087/geoserver/gwc/service/wmts`
}; };

View File

@ -139,7 +139,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="lat" label="纬度"> <el-table-column prop="lat" label="纬度">
<template slot-scope="scope"> <template slot-scope="scope">
{{ pdSubType == 45 ? scope.row.measureLat : scope.row.lng }} {{ pdSubType == 45 ? scope.row.measureLat : scope.row.lat }}
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column prop="alt" label="高度"></el-table-column> --> <!-- <el-table-column prop="alt" label="高度"></el-table-column> -->
@ -438,8 +438,12 @@ export default {
}; };
const pdfName = productTypeMap(self.pdSubType) + "报告"; const pdfName = productTypeMap(self.pdSubType) + "报告";
const localTiffPath = null; const localTiffPath = null;
const httpTiffPath = rpm.tifPath; let rt = rpm.tifPath.split('/');
exportWord(pdfMsg, pdfName, localTiffPath, httpTiffPath, psId).then( //i访
const httpTiffPath ='http://10.0.36.121:8085/microwaveData/tif/' + rt[rt.length - 1];
// const httpTiffPath = rpm.tifPath;
const polarizationMethod = 'HH'
exportWord(pdfMsg, pdfName, localTiffPath, httpTiffPath, psId,polarizationMethod).then(
(res) => { (res) => {
if (res.msg === "success") { if (res.msg === "success") {
const ru = res.pdfUrl; const ru = res.pdfUrl;
@ -481,12 +485,12 @@ export default {
}, },
// //
submitReport() { submitReport() {
saveValidationRes(this.reportMsg).then((res) => { // saveValidationRes(this.reportMsg).then((res) => {
if (res.code === 200) { // if (res.code === 200) {
this.$message({ // this.$message({
message: "提交成功,检验完成", // message: "",
type: "success", // type: "success",
}); // });
const os = 2; // const os = 2; //
this.updateOrder(os); this.updateOrder(os);
// //
@ -503,12 +507,12 @@ export default {
type: "success", type: "success",
message: "订单处理成功", message: "订单处理成功",
}); });
window.location.href =`${DAICHULI_URL}?orderid=${rpm.orderId}&token=${rpm.token}`; window.location.href =`${DAICHULI_URL}?token=${rpm.token}`;
} }
}); });
} }
} // }
}); // });
}, },
// //
reExamine() { reExamine() {
@ -516,7 +520,7 @@ export default {
this.updateOrder(os); this.updateOrder(os);
resetCheck({orderId:this.reportMsg.orderId}).then(res=>{ resetCheck({orderId:this.reportMsg.orderId}).then(res=>{
if(res.code === 200){ if(res.code === 200){
window.location.href =`${DAICHULI_URL}?orderid=${this.reportMsg.orderId}&token=${this.reportMsg.token}`; window.location.href =`${DAICHULI_URL}?&token=${this.reportMsg.token}`;
} }
}) })
}, },

View File

@ -243,7 +243,6 @@
<el-select <el-select
v-model="pixelFun" v-model="pixelFun"
placeholder="选择像元级处理方法" placeholder="选择像元级处理方法"
:disabled="pdShow"
@change="pixelFunChanged" @change="pixelFunChanged"
ref="pixelSel" ref="pixelSel"
> >
@ -409,7 +408,7 @@ export default {
projection: null, projection: null,
orderData: [], orderData: [],
sampleList: [], sampleList: [],
pdShow: false, pdShow: true,
}; };
}, },
methods: { methods: {
@ -440,7 +439,10 @@ export default {
const pm = (self.productMsg = am.productMsg); const pm = (self.productMsg = am.productMsg);
self.geoWorkSpace = pm.geoWorkspace; self.geoWorkSpace = pm.geoWorkspace;
self.geoLayerName = pm.geoLayerName; self.geoLayerName = pm.geoLayerName;
self.tifPath = pm.ftpPath; // self.tifPath = pm.ftpPath;
//i访
let rt = pm.ftpPath.split('/');
self.tifPath ='http://10.0.3.157:18030/inspection/files/' + rt[rt.length - 1];
self.projection = pm.projection; self.projection = pm.projection;
// //
@ -551,6 +553,7 @@ export default {
formData.append("pixelHandleType", this.pixelFun); // formData.append("pixelHandleType", this.pixelFun); //
formData.append("truthCheckFuns", JSON.stringify(tcf)); // formData.append("truthCheckFuns", JSON.stringify(tcf)); //
formData.append("featureMapping", JSON.stringify(featureMapData)); formData.append("featureMapping", JSON.stringify(featureMapData));
formData.append("polarizationMethod", 'HH');
checkReality(formData).then((res) => { checkReality(formData).then((res) => {
console.log("真实性校验:", res); console.log("真实性校验:", res);
this.checkRealityWait = false; this.checkRealityWait = false;