20250214代码提交备份
parent
2731a1986a
commit
1173ed7228
|
@ -23,5 +23,5 @@ const YICHULI_URL = "https://caplos.aircas.ac.cn/lxyweb/kjwebAdmin/#/Order/YJYOr
|
||||||
const DAISHENHE_URL = "https://caplos.aircas.ac.cn/lxyweb/kjwebAdmin/#/Order/DSHOrder";
|
const DAISHENHE_URL = "https://caplos.aircas.ac.cn/lxyweb/kjwebAdmin/#/Order/DSHOrder";
|
||||||
const YISHENHE_URL = "https://caplos.aircas.ac.cn/lxyweb/kjwebAdmin/#/Order/YSHOrder";
|
const YISHENHE_URL = "https://caplos.aircas.ac.cn/lxyweb/kjwebAdmin/#/Order/YSHOrder";
|
||||||
// const DQYSERVER_URL = "https://caplos.aircas.ac.cn/dqweb";
|
// const DQYSERVER_URL = "https://caplos.aircas.ac.cn/dqweb";
|
||||||
const DQYSERVER_URL = "http://192.168.1.205:8089";
|
const DQYSERVER_URL = "http://192.168.1.243:8089";
|
||||||
const LXYSERVER_URL = "https://caplos.aircas.ac.cn/lxyweb";
|
const LXYSERVER_URL = "https://caplos.aircas.ac.cn/lxyweb";
|
|
@ -17,6 +17,7 @@
|
||||||
popper-class="date-style"
|
popper-class="date-style"
|
||||||
value-format=" yyyy-MM-dd HH:mm:ss"
|
value-format=" yyyy-MM-dd HH:mm:ss"
|
||||||
format="yyyy-MM-dd HH:mm:ss"
|
format="yyyy-MM-dd HH:mm:ss"
|
||||||
|
@change="getDate"
|
||||||
>
|
>
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -241,6 +242,10 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getDate(){
|
||||||
|
this.searchForm.submitDate = this.searchForm.submitDate.join(',');
|
||||||
|
console.log(this.searchForm.submitDate,'this.searchForm.submitDate');
|
||||||
|
},
|
||||||
// 根据卫星选择载荷
|
// 根据卫星选择载荷
|
||||||
bindLoad(val) {
|
bindLoad(val) {
|
||||||
const item = this.loadOptions.filter(
|
const item = this.loadOptions.filter(
|
||||||
|
|
|
@ -141,6 +141,7 @@
|
||||||
// getSamplesByLayer,
|
// getSamplesByLayer,
|
||||||
// } from "@/api/pendingOrder";
|
// } from "@/api/pendingOrder";
|
||||||
import {
|
import {
|
||||||
|
getCoverTypes,
|
||||||
getSamplesList,
|
getSamplesList,
|
||||||
getSampleData,
|
getSampleData,
|
||||||
getSamplesByLayer,
|
getSamplesByLayer,
|
||||||
|
@ -258,7 +259,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.funcOpt = this.configration.funcOpt;
|
this.funcOpt = this.configration.funcOpt;
|
||||||
// this.getCoverType();
|
this.getCoverType();
|
||||||
this.getSqlData();
|
this.getSqlData();
|
||||||
this.initParam();
|
this.initParam();
|
||||||
},
|
},
|
||||||
|
|
|
@ -14,7 +14,8 @@ const prefix = "D:/deveEnvironment/nginx-1.18.0/html/microwaveData/sampleExcel";
|
||||||
//旧版本地址
|
//旧版本地址
|
||||||
// const newPrefix = "D:/deveEnvironment/nginx-1.18.0/html/microwaveData/sampleExcelNew";
|
// const newPrefix = "D:/deveEnvironment/nginx-1.18.0/html/microwaveData/sampleExcelNew";
|
||||||
//新版本地址
|
//新版本地址
|
||||||
const newPrefix = "D:/WorkTools/apache-tomcat-9.0.93/webapps/microwaveData/sampleExcel";
|
// const newPrefix = "D:/WorkTools/apache-tomcat-9.0.93/webapps/microwaveData/sampleExcel";
|
||||||
|
const newPrefix = "D:/WorkTools/JDK8/apache-tomcat-8/webapps/microwaveData/sampleExcel";
|
||||||
|
|
||||||
const url = {
|
const url = {
|
||||||
otgSamplesPath: `${newPrefix}/otgSamples.xlsx`, //正射1
|
otgSamplesPath: `${newPrefix}/otgSamples.xlsx`, //正射1
|
||||||
|
@ -34,7 +35,7 @@ const serverUrl = DQYSERVER_URL;
|
||||||
const langServerUrl = LXYSERVER_URL;
|
const langServerUrl = LXYSERVER_URL;
|
||||||
const urlprefix = {
|
const urlprefix = {
|
||||||
// pdfUrlPrefix: `${serverUrl}/microwaveData/pdf/`,
|
// pdfUrlPrefix: `${serverUrl}/microwaveData/pdf/`,
|
||||||
pdfUrlPrefix: `http://192.168.1.205:8081/microwaveData/pdf/`,
|
pdfUrlPrefix: `http://192.168.1.243:8081/microwaveData/pdf/`,
|
||||||
samePoiImgsUrl: `${serverUrl}/microwaveData/samePoiImgs/`,
|
samePoiImgsUrl: `${serverUrl}/microwaveData/samePoiImgs/`,
|
||||||
geoserverUrl: `${serverUrl}/geoserver/gwc/service/wmts`,
|
geoserverUrl: `${serverUrl}/geoserver/gwc/service/wmts`,
|
||||||
otgGeoServerUrl: `${serverUrl}/geoserver/gwc/service/wmts`,
|
otgGeoServerUrl: `${serverUrl}/geoserver/gwc/service/wmts`,
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { Message } from "element-ui";
|
||||||
// create an axios instance
|
// create an axios instance
|
||||||
const service = axios.create({
|
const service = axios.create({
|
||||||
baseURL: process.env.VUE_APP_MICROWAVE_API, // url = base url + request url
|
baseURL: process.env.VUE_APP_MICROWAVE_API, // url = base url + request url
|
||||||
// baseURL: 'http://192.168.1.205:8086/macApi/', // url = base url + request url
|
// baseURL: 'http://192.168.1.243:8086/macApi/', // url = base url + request url
|
||||||
timeout: 5000000 // request timeout
|
timeout: 5000000 // request timeout
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -339,7 +339,9 @@ export default {
|
||||||
var smpVal = undefined;
|
var smpVal = undefined;
|
||||||
var featureMapData = [];
|
var featureMapData = [];
|
||||||
const pdType = this.productSubType;
|
const pdType = this.productSubType;
|
||||||
|
console.log(this.$refs.otgCorrectionPanel,'$refs.otgCorrectionPanel');
|
||||||
|
console.log(this.$refs.qualitativePanel,'$refs.qualitativePanel');
|
||||||
|
console.log(this.$refs.soilMositurePanel,'$refs.soilMositurePanel');
|
||||||
if (pdType === productSubTypeVal.ACS_ORTHOPHOTO) {
|
if (pdType === productSubTypeVal.ACS_ORTHOPHOTO) {
|
||||||
smpVal = this.$refs.otgCorrectionPanel;
|
smpVal = this.$refs.otgCorrectionPanel;
|
||||||
} else if (
|
} else if (
|
||||||
|
@ -353,6 +355,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.sampleList = smpVal.multipleSelection;
|
this.sampleList = smpVal.multipleSelection;
|
||||||
|
|
||||||
// if (featureMapData !== [] || featureMapData.length !== 0)
|
// if (featureMapData !== [] || featureMapData.length !== 0)
|
||||||
// this.updateCoverType(featureMapData);
|
// this.updateCoverType(featureMapData);
|
||||||
const orderId = this.orderId;
|
const orderId = this.orderId;
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
<div class="daichuli1" v-if="groudClassShow">
|
<div class="daichuli1" v-if="groudClassShow">
|
||||||
<div class="box1">
|
<div class="box1">
|
||||||
<span class="sp1"></span><span class="sp2">{{
|
<span class="sp1"></span><span class="sp2">{{
|
||||||
orderMsg.productSubClassId == 39
|
orderMsg.productSubClassId == 6
|
||||||
? "地表覆盖类型表"
|
? "地表覆盖类型表"
|
||||||
: "植被物候类型表"
|
: "植被物候类型表"
|
||||||
}}</span>
|
}}</span>
|
||||||
|
@ -150,17 +150,8 @@
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import cu from "@/lib/cesiumUtils";
|
import cu from "@/lib/cesiumUtils";
|
||||||
// 廊信院接口
|
|
||||||
import {
|
|
||||||
getOrderMsg,
|
|
||||||
getPendingProductMsg,
|
|
||||||
updateOrderStage,
|
|
||||||
getSamplesList,
|
|
||||||
getUserInfo,
|
|
||||||
getFeatureMap,
|
|
||||||
} from "@/api/lang/pendingOrder";
|
|
||||||
// 环球星云内部接口
|
// 环球星云内部接口
|
||||||
import { getOrderAndProduct, getOrderSamples, updateFeature, getProductMetaMsg, orderFeedback } from '@/api/pendingOrder';
|
import { getOrderAndProduct, getOrderSamples, updateFeature, getProductMetaMsg, orderFeedback, updateOrderStage } from '@/api/pendingOrder';
|
||||||
import { productSubTypeVal } from "@/lib/contract.js";
|
import { productSubTypeVal } from "@/lib/contract.js";
|
||||||
import qs from "qs";
|
import qs from "qs";
|
||||||
import ProductInfo from "../../../components/productInfo/index";
|
import ProductInfo from "../../../components/productInfo/index";
|
||||||
|
@ -286,6 +277,8 @@ export default {
|
||||||
// localStorage.setItem("userId", self.userId);
|
// localStorage.setItem("userId", self.userId);
|
||||||
// localStorage.setItem("userName", self.userName);
|
// localStorage.setItem("userName", self.userName);
|
||||||
// }
|
// }
|
||||||
|
self.userId = localStorage.getItem("userId");
|
||||||
|
self.userName = localStorage.getItem("userName");
|
||||||
const orderId = (self.orderId = this.$route.query.orderId);
|
const orderId = (self.orderId = this.$route.query.orderId);
|
||||||
const productId = (self.productId = this.$route.query.productId);
|
const productId = (self.productId = this.$route.query.productId);
|
||||||
const orderCode = (self.orderCode = this.$route.query.orderCode);
|
const orderCode = (self.orderCode = this.$route.query.orderCode);
|
||||||
|
@ -306,8 +299,11 @@ export default {
|
||||||
getProductMetaMsg(JSON.stringify({ dataPath: res.data.tifPath })).then((res) => {
|
getProductMetaMsg(JSON.stringify({ dataPath: res.data.tifPath })).then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
const pm = (self.productMsg = res.data);
|
const pm = (self.productMsg = res.data);
|
||||||
|
console.log(pm,'pm');
|
||||||
|
|
||||||
const om = self.orderMsg;
|
const om = self.orderMsg;
|
||||||
|
console.log(om,'om');
|
||||||
|
|
||||||
// 订单基本信息
|
// 订单基本信息
|
||||||
self.orderData = [];
|
self.orderData = [];
|
||||||
self.orderData.push({
|
self.orderData.push({
|
||||||
|
@ -348,9 +344,10 @@ export default {
|
||||||
cu.addlayer(geoWS, geoLN);
|
cu.addlayer(geoWS, geoLN);
|
||||||
cu.flyToLayerRect(minLon, minLat, maxLon, maxLat);
|
cu.flyToLayerRect(minLon, minLat, maxLon, maxLat);
|
||||||
const proSubId = om.productSubClassId;
|
const proSubId = om.productSubClassId;
|
||||||
|
console.log(proSubId,'proSubId');
|
||||||
|
|
||||||
// 加载地物关联信息
|
// 加载地物关联信息
|
||||||
if (proSubId === 39) {
|
if (proSubId === 6) {
|
||||||
self.groudClassShow = true;
|
self.groudClassShow = true;
|
||||||
document.cookie = 'KJInspect-Token=' + self.token
|
document.cookie = 'KJInspect-Token=' + self.token
|
||||||
updateFeature(self.userId, orderId, self.token).then(res => {
|
updateFeature(self.userId, orderId, self.token).then(res => {
|
||||||
|
@ -366,7 +363,7 @@ export default {
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (proSubId === 47) {
|
} else if (proSubId === 12) {
|
||||||
self.groudClassShow = true;
|
self.groudClassShow = true;
|
||||||
self.groudClassData = JSON.parse(pm.microwaveDataJson).vegetationPhenology;
|
self.groudClassData = JSON.parse(pm.microwaveDataJson).vegetationPhenology;
|
||||||
}
|
}
|
||||||
|
@ -386,8 +383,8 @@ export default {
|
||||||
},
|
},
|
||||||
inspection() {
|
inspection() {
|
||||||
let param = {
|
let param = {
|
||||||
// userId: this.userId,
|
userId: this.userId,
|
||||||
// userName: this.userName,
|
userName: this.userName,
|
||||||
// token: this.token,
|
// token: this.token,
|
||||||
orderId: this.orderId,
|
orderId: this.orderId,
|
||||||
orderCode: this.orderCode,
|
orderCode: this.orderCode,
|
||||||
|
@ -457,19 +454,14 @@ export default {
|
||||||
});
|
});
|
||||||
this.imgLocalUrl = null;
|
this.imgLocalUrl = null;
|
||||||
this.dialogFormVisible = false;
|
this.dialogFormVisible = false;
|
||||||
window.location.href = DAICHULI_URL;
|
// window.location.href = DAICHULI_URL;
|
||||||
// updateOrderStage(
|
const up = new FormData();
|
||||||
// qs.stringify(
|
up.append("orderId", this.orderMsg.id)
|
||||||
// {
|
up.append("orderStatus", 3)
|
||||||
// orderId: this.orderId,
|
up.append("userId", this.userId)
|
||||||
// orderStatus: 3,
|
updateOrderStage(up).then(res => {
|
||||||
// userId: this.userId,
|
if (res.code === 200) this.$router.push({ name: '待处理的检验订单' });
|
||||||
// },
|
})
|
||||||
// { indices: false }
|
|
||||||
// )
|
|
||||||
// ).then(uoRes => {
|
|
||||||
// if (uoRes.code == 200 && uoRes.success)
|
|
||||||
// });
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
@ -509,7 +501,7 @@ export default {
|
||||||
},
|
},
|
||||||
// 下载产品数据
|
// 下载产品数据
|
||||||
downLoadPro() {
|
downLoadPro() {
|
||||||
const zipPath = this.productMsg.filePath;
|
const zipPath = this.orderMsg.filePath;
|
||||||
if (zipPath !== null || zipPath !== undefined) {
|
if (zipPath !== null || zipPath !== undefined) {
|
||||||
const pdfName = zipPath.substr(zipPath.lastIndexOf("/") + 1); //截取文件名称字符串
|
const pdfName = zipPath.substr(zipPath.lastIndexOf("/") + 1); //截取文件名称字符串
|
||||||
if ("download" in document.createElement("a")) {
|
if ("download" in document.createElement("a")) {
|
||||||
|
|
|
@ -137,6 +137,7 @@ export default {
|
||||||
getOrderList() {
|
getOrderList() {
|
||||||
const searchVal = this.$refs.orderSearchPanel;
|
const searchVal = this.$refs.orderSearchPanel;
|
||||||
const sf = searchVal.searchForm;
|
const sf = searchVal.searchForm;
|
||||||
|
// if(sf.submitDate !== '') sf.submitDate = sf.submitDate.join(',');
|
||||||
sf.page = this.pageForm.page;
|
sf.page = this.pageForm.page;
|
||||||
sf.limit = this.pageForm.limit;
|
sf.limit = this.pageForm.limit;
|
||||||
sf.status = [8];
|
sf.status = [8];
|
||||||
|
|
|
@ -22,7 +22,7 @@ module.exports = {
|
||||||
open: false,
|
open: false,
|
||||||
proxy: {
|
proxy: {
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
target: "http://192.168.1.205:8086",
|
target: "http://192.168.1.243:8086",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
["^" + process.env.VUE_APP_BASE_API]: ""
|
["^" + process.env.VUE_APP_BASE_API]: ""
|
||||||
|
@ -30,14 +30,14 @@ module.exports = {
|
||||||
},
|
},
|
||||||
[process.env.VUE_APP_MICROWAVE_API]: {
|
[process.env.VUE_APP_MICROWAVE_API]: {
|
||||||
// target: "http://124.16.188.131:18086/macApi",
|
// target: "http://124.16.188.131:18086/macApi",
|
||||||
target: "http://192.168.1.205:8086/macApi",
|
target: "http://192.168.1.243:8086/macApi",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
["^" + process.env.VUE_APP_MICROWAVE_API]: ""
|
["^" + process.env.VUE_APP_MICROWAVE_API]: ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[process.env.VUE_APP_REALITY_API]: {
|
[process.env.VUE_APP_REALITY_API]: {
|
||||||
target: "http://192.168.1.205:18092/microwave",
|
target: "http://192.168.1.243:18092/microwave",
|
||||||
// target: "https://124.16.188.131:28092/microwave",
|
// target: "https://124.16.188.131:28092/microwave",
|
||||||
// target: "http://192.168.1.227:18092/microwave",
|
// target: "http://192.168.1.227:18092/microwave",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
|
@ -46,7 +46,7 @@ module.exports = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[process.env.VUE_APP_FILE_API]: {
|
[process.env.VUE_APP_FILE_API]: {
|
||||||
target: "http://192.168.1.205:18093/file",
|
target: "http://192.168.1.243:18093/file",
|
||||||
// target: "https://124.16.188.131:28093/file",
|
// target: "https://124.16.188.131:28093/file",
|
||||||
// target: "http://192.168.1.227:18093/file",
|
// target: "http://192.168.1.227:18093/file",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
|
|
Loading…
Reference in New Issue