修改定性产品读取

tykong-cidian
duxiaoning 2023-12-11 20:07:54 +08:00
parent 9ba6acdfbb
commit a30a23f187
4 changed files with 22 additions and 18 deletions

View File

@ -262,7 +262,9 @@ export default {
const pdType = om.productSubClassId; const pdType = om.productSubClassId;
self.productSubType = pdType; self.productSubType = pdType;
self.featureMapData = om.landCoverTypeVOList; // self.featureMapData = om.landCoverTypeVOList;
self.featureMapData = pdType === 39 ? om.landCoverTypeVOList : JSON.parse(am.productMsg.microwaveDataJson).vegetationPhenology;
self.formInline = am.metaMsg; self.formInline = am.metaMsg;
self.orderData = am.orderData; self.orderData = am.orderData;
self.pixelNum = am.metaMsg.resRatio; self.pixelNum = am.metaMsg.resRatio;
@ -394,7 +396,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("microwaveDataJson",this.productMsg.microwaveDataJson); // formData.append("microwaveDataJson", this.productMsg.microwaveDataJson); //
checkReality(formData).then((res) => { checkReality(formData).then((res) => {
// console.log("", res); // console.log("", res);
if (res?.code === 200 && res.message === "success") { if (res?.code === 200 && res.message === "success") {

View File

@ -88,8 +88,8 @@
<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 == 39
? "地表覆盖类型表" ? "地表覆盖类型表"
: "植被物候类型表" : "植被物候类型表"
}}</span> }}</span>
</div> </div>
<el-table :data="groudClassData" :header-cell-style="{ background: '#E4E9F1' }" :cell-style="tableRowClassName" <el-table :data="groudClassData" :header-cell-style="{ background: '#E4E9F1' }" :cell-style="tableRowClassName"
@ -112,7 +112,7 @@
<div class="box1"> <div class="box1">
<span class="sp1"></span><span class="sp2">反馈信息</span> <span class="sp1"></span><span class="sp2">反馈信息</span>
</div> </div>
<hr/> <hr />
<el-form :inline="true" :model="unDeal" class="demo-form-inline" ref="feedbackForm" label-width="100px"> <el-form :inline="true" :model="unDeal" class="demo-form-inline" ref="feedbackForm" label-width="100px">
<el-form-item label="反馈结果"> <el-form-item label="反馈结果">
<el-radio-group v-model="unDeal.udMsg"> <el-radio-group v-model="unDeal.udMsg">
@ -190,8 +190,8 @@ export default {
queryParams: null, queryParams: null,
orderMsg: "", orderMsg: "",
userId: null, userId: null,
userName:null, userName: null,
token:null, token: null,
orderId: null, orderId: null,
productMsg: "", productMsg: "",
pageshow: true, pageshow: true,
@ -278,8 +278,8 @@ export default {
if (userMsg.code === 200) { if (userMsg.code === 200) {
self.userId = userMsg.data.userid; self.userId = userMsg.data.userid;
self.userName = userMsg.data.username; self.userName = userMsg.data.username;
localStorage.setItem("userId",self.userId); localStorage.setItem("userId", self.userId);
localStorage.setItem("userName",self.userName); localStorage.setItem("userName", self.userName);
} }
const orderId = (self.orderId = this.$route.query.orderId); const orderId = (self.orderId = this.$route.query.orderId);
getOrderMsg(orderId).then((res) => { getOrderMsg(orderId).then((res) => {
@ -335,7 +335,7 @@ export default {
// //
if (proSubId === 39 || proSubId === 47) { if (proSubId === 39 || proSubId === 47) {
self.groudClassShow = true; self.groudClassShow = true;
self.groudClassData = om.landCoverTypeVOList; self.groudClassData = proSubId === 39 ? om.landCoverTypeVOList : JSON.parse(pm.microwaveDataJson).vegetationPhenology;
} }
} }
}); });
@ -344,8 +344,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,
orderMsg: this.orderMsg, orderMsg: this.orderMsg,
productMsg: this.productMsg, productMsg: this.productMsg,
@ -362,7 +362,7 @@ export default {
this.isShow = !this.isShow; this.isShow = !this.isShow;
}, },
todaichuli() { todaichuli() {
window.location.href =`${DAICHULI_URL}?orderid=${this.orderId}&token=${this.token}`; window.location.href = `${DAICHULI_URL}?orderid=${this.orderId}&token=${this.token}`;
}, },
backpage() { backpage() {
this.$router.go(-1); this.$router.go(-1);
@ -677,7 +677,8 @@ export default {
top: 10px; top: 10px;
border: none !important; border: none !important;
} }
.unableDeal hr{
.unableDeal hr {
width: 99%; width: 99%;
position: absolute; position: absolute;
left: 0.5%; left: 0.5%;
@ -686,6 +687,7 @@ export default {
background-color: #c0c4cc; background-color: #c0c4cc;
height: 1px; height: 1px;
} }
/deep/.unableDeal .el-radio { /deep/.unableDeal .el-radio {
padding: 0 30px 0 20px; padding: 0 30px 0 20px;
} }

View File

@ -159,12 +159,12 @@ export default {
} }
}, },
changePage(orderMsg) { changePage(orderMsg) {
// 152945 153029 152946 // 153029 152946
// 153064 153073 153049 // 153064 153073 153049
// 153057 // 153057
// //
// 153079 :153086 153087 // 153079 :153086 153087 152945
this.$router.push("/orderUnprocessed?orderId=153047&token=WEB*1701824857923@4QA4_ZZX-yg000087_92ce3354ff6b48808c7bd2d9f6949046"); this.$router.push("/orderUnprocessed?orderId=153047&token=WEB*1701824857923@4QA4_ZZX-yg000087_92ce3354ff6b48808c7bd2d9f6949046");
}, },
}, },

View File

@ -36,7 +36,7 @@ module.exports = {
}, },
[process.env.VUE_APP_REALITY_API]: { [process.env.VUE_APP_REALITY_API]: {
// target: "http://124.16.188.131:28092/microwave", // target: "http://124.16.188.131:28092/microwave",
target: "http://192.168.8.121:18092/microwave", target: "http://192.168.8.181:28092/microwave",
// target: "http://192.168.1.104:18092/microwave", // target: "http://192.168.1.104:18092/microwave",
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
@ -45,7 +45,7 @@ module.exports = {
}, },
[process.env.VUE_APP_FILE_API]: { [process.env.VUE_APP_FILE_API]: {
// target: "http://124.16.188.131:28093/file", // target: "http://124.16.188.131:28093/file",
target: "http://192.168.8.121:18093/file", target: "http://192.168.8.181:28093/file",
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
["^" + process.env.VUE_APP_FILE_API]: "" ["^" + process.env.VUE_APP_FILE_API]: ""