保存联调联试地址修改
parent
31ea18fbc4
commit
616de8d5b4
|
@ -1,6 +1,4 @@
|
|||
const LXYLOGIN_URL = "http://124.16.188.131:18030/kjwebAdmin-test/#/login";
|
||||
// const DAICHULI_URL = "http://124.16.188.131:18030/kjwebAdmin-test/#/Order/DJYOrder";
|
||||
const YUNGUAN_SERVER_URL = "http://124.16.188.131:18030/yunguan-app";
|
||||
// const JCTOKEN = "WEB%2a1673425993482%40L3W7_ZZX-yg000087_06848633de364ec7b63c8f53f9e43b19";
|
||||
// const LXYLOGIN_URL = "http://10.0.3.157:18030/kjwebAdmin-test/#/login";
|
||||
// const DAICHULI_URL = "http://10.0.3.157:18030/kjwebAdmin-test/#/Order/DJYOrder";
|
||||
|
@ -8,7 +6,11 @@ const YUNGUAN_SERVER_URL = "http://124.16.188.131:18030/yunguan-app";
|
|||
// const DAISHENHE_URL = "http://10.0.3.157:18030/kjwebAdmin-test/#/Order/DSHOrder";
|
||||
// const YISHENHE_URL = "http://10.0.3.157:18030/kjwebAdmin-test/#/Order/YSHOrder";
|
||||
// const YUNGUAN_SERVER_URL = "http://10.0.3.157:18030/yunguan-app";
|
||||
const LXYLOGIN_URL = "http://124.16.188.131:18030/kjwebAdmin-test/#/login";
|
||||
const YUNGUAN_SERVER_URL = "http://124.16.188.131:18030/yunguan-app";
|
||||
const DAICHULI_URL = "http://124.16.188.131:9599/lxyweb/kjwebAdmin/#/Order/DJYOrder";
|
||||
const YICHULI_URL = "http://124.16.188.131:9599/lxyweb/kjwebAdmin/#/Order/YJYOrder";
|
||||
const DAISHENHE_URL = "http://124.16.188.131:9599/lxyweb/kjwebAdmin/#/Order/DSHOrder";
|
||||
const YISHENHE_URL = "http://124.16.188.131:9599/lxyweb/kjwebAdmin/#/Order/YSHOrder";
|
||||
const DQYSERVER_URL = "http://124.16.188.131:18085";
|
||||
const LXYSERVER_URL = "http://124.16.188.131:9599/lxyweb";
|
||||
|
|
|
@ -89,7 +89,6 @@ export default {
|
|||
init(){
|
||||
const pos = this.pdfPath.lastIndexOf("/");
|
||||
this.pdfName = this.pdfPath.substr(pos+1)
|
||||
// this.pdfUrl = 'http://10.0.35.70:8085/microwaveData/pdf/'+this.pdfName;
|
||||
this.pdfUrl = this.configration.urlprefix.pdfUrlPrefix+this.pdfName;
|
||||
},
|
||||
getNumPages(url) {
|
||||
|
|
|
@ -27,17 +27,13 @@ const url = {
|
|||
srSamplePath: `${newPrefix}/Surface_Roughness_Sample.xlsx`, // 地表粗糙度9
|
||||
vpSamplePath: `${newPrefix}/Vegetation_Phenology_Sample.xlsx` //Vegetation_Phenology_Sample.xlsx,// 植被物候12
|
||||
};
|
||||
const serverUrl = "http://124.16.188.131:18085";
|
||||
// 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://211.157.180.211";
|
||||
const serverUrl = DQYSERVER_URL;
|
||||
const langServerUrl = LXYSERVER_URL;
|
||||
const urlprefix = {
|
||||
pdfUrlPrefix: `${serverUrl}/microwaveData/pdf/`,
|
||||
samePoiImgsUrl: `${serverUrl}/microwaveData/samePoiImgs/`,
|
||||
geoserverUrl: `${langServerUrl}/geoserver/gwc/service/wmts`,
|
||||
otgGeoServerUrl: `${langServerUrl}/geoserver/gwc/service/wmts`,
|
||||
otgGeoServerUrl: `${langServerUrl}/geoserver/gwc/service/wmts`
|
||||
// otgGeoServerUrl: `${serverUrl}:8087/geoserver/gwc/service/wmts`
|
||||
};
|
||||
|
||||
|
|
|
@ -188,7 +188,7 @@ import {
|
|||
downloadPdf,
|
||||
updateOrderStage,
|
||||
exportWord,
|
||||
resetCheck
|
||||
resetCheck,
|
||||
} from "@/api/lang/pendingOrder";
|
||||
|
||||
import { productSubTypeVal, truthFunVal } from "@/lib/contract.js";
|
||||
|
@ -271,7 +271,12 @@ export default {
|
|||
) {
|
||||
this.base64Data = this.$refs.reportQT.myCharts.getDataURL();
|
||||
} else {
|
||||
this.base64Data = this.$refs.reportRT.myCharts.getDataURL();
|
||||
this.base64Data = this.$refs.reportRT.myCharts.getDataURL({
|
||||
type: "png",
|
||||
pixelRatio: 1.5, //放大两倍下载,之后压缩到同等大小展示。解决生成图片在移动端模糊问题
|
||||
backgroundColor: "#fff",
|
||||
excludeComponents: ["toolbox", "dataZoom"],
|
||||
});
|
||||
}
|
||||
this.exportPdf(this.reportMsg);
|
||||
},
|
||||
|
@ -303,7 +308,7 @@ export default {
|
|||
init() {
|
||||
const self = this;
|
||||
const rpm = (self.reportMsg = this.queryParams);
|
||||
console.log('1111111',rpm);
|
||||
console.log("1111111", rpm);
|
||||
|
||||
self.realRes = rpm.reportResult;
|
||||
self.pdSubType = rpm.pdSubType;
|
||||
|
@ -418,8 +423,7 @@ export default {
|
|||
resolution: asmm.resRatio + "",
|
||||
productCreateTime: asmp.collectDate,
|
||||
coordinatSeystem: asmm.coordinateSys,
|
||||
sampleTimeRequest:
|
||||
asmo.simple_start_time + " - " + asmo.simple_end_time,
|
||||
sampleTimeRequest: asmo.queryStartTime + " - " + asmo.queryEndTime,
|
||||
sampleType: "点",
|
||||
sampleCount: rpm.sampleList.length + "",
|
||||
// areaLeftUp: asmm.minLon + "," + asmm.maxLat,
|
||||
|
@ -438,13 +442,20 @@ export default {
|
|||
};
|
||||
const pdfName = productTypeMap(self.pdSubType) + "报告";
|
||||
const localTiffPath = null;
|
||||
let rt = rpm.tifPath.split('/');
|
||||
let rt = rpm.tifPath.split("/");
|
||||
//由于空天院内网服务i无拉取外网资源,先改成内网资源访问
|
||||
const httpTiffPath ='http://10.0.36.121:8085/microwaveData/tif/' + rt[rt.length - 1];
|
||||
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) => {
|
||||
const polarizationMethod = "HH";
|
||||
exportWord(
|
||||
pdfMsg,
|
||||
pdfName,
|
||||
localTiffPath,
|
||||
httpTiffPath,
|
||||
psId,
|
||||
polarizationMethod
|
||||
).then((res) => {
|
||||
if (res.msg === "success") {
|
||||
const ru = res.pdfUrl;
|
||||
const pos = ru.lastIndexOf("/");
|
||||
|
@ -452,8 +463,7 @@ export default {
|
|||
self.pdfPath = this.configration.urlprefix.pdfUrlPrefix + pdfName;
|
||||
self.pdfLoading = false;
|
||||
}
|
||||
}
|
||||
);
|
||||
});
|
||||
},
|
||||
// 下载报告
|
||||
downloadReport() {
|
||||
|
@ -518,11 +528,11 @@ export default {
|
|||
reExamine() {
|
||||
const os = 0;
|
||||
this.updateOrder(os);
|
||||
resetCheck({orderId:this.reportMsg.orderId}).then(res=>{
|
||||
resetCheck({ orderId: this.reportMsg.orderId }).then((res) => {
|
||||
if (res.code === 200) {
|
||||
window.location.href = `${DAICHULI_URL}?&token=${this.reportMsg.token}`;
|
||||
}
|
||||
})
|
||||
});
|
||||
},
|
||||
// 更新订单状态
|
||||
updateOrder(orderStatus) {
|
||||
|
|
|
@ -440,7 +440,7 @@ export default {
|
|||
self.geoWorkSpace = pm.geoWorkspace;
|
||||
self.geoLayerName = pm.geoLayerName;
|
||||
// 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;
|
||||
|
|
|
@ -160,7 +160,7 @@ export default {
|
|||
},
|
||||
changePage(orderMsg) {
|
||||
// 正射:150424 土水:150208 PL_DF_DF_20220905175209_8648 地表覆盖:150166 PL_DF_DF_20220905112508_4567 叶面积:150533 PL_DF_DF_20230221173349_4569 后向散射系数:152279
|
||||
this.$router.push("/orderUnprocessed?orderId=152279&token=WEB*1690781129417@S6Q8_ZZX-yg000087_cffde98b3fab4349a6e488abd7ee9b0f");
|
||||
this.$router.push("/orderUnprocessed?orderId=152586&token=WEB*1696828528663@DCLS_ZZX-yg000087_29e20440e8ea4c8692a0f9bc22ad3e0b");
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue