像元级处理模型设置算法更新

tykong-cidian
陈荣宏 2024-09-01 17:22:25 +08:00
parent de52c2d645
commit d7cc554e67
4 changed files with 14 additions and 2 deletions

View File

@ -443,6 +443,7 @@ export default {
} }
}, },
changeSampleFun(sfVal) { changeSampleFun(sfVal) {
this.$store.commit("setSampleFunArr",sfVal);
// //
if (Array.isArray(sfVal)) { if (Array.isArray(sfVal)) {
const ssf = Number(sfVal[0]); const ssf = Number(sfVal[0]);

View File

@ -6,6 +6,7 @@ const state = {
breadListState: [], // 面包屑列表数据 breadListState: [], // 面包屑列表数据
pixelFun:null, pixelFun:null,
sampleFun:null, sampleFun:null,
sampleFunArr:[],
altRange:null altRange:null
}; };
@ -23,6 +24,9 @@ export default new Vuex.Store({
}, },
setAltRange(getters, val){ setAltRange(getters, val){
getters.altRange=val getters.altRange=val
},
setSampleFunArr(getters, val){
getters.sampleFunArr=val
} }
} }
}); });

View File

@ -659,6 +659,13 @@ export default {
this.$store.commit("setPixelFun", null); this.$store.commit("setPixelFun", null);
this.$store.commit("setAltRange", null); this.$store.commit("setAltRange", null);
}, },
watch:{
"$store.state.sampleFunArr":{
handler:function(newVal,oldVal){
this.pixelFun = "";
}
}
},
computed: { computed: {
hasPixelFun: function () { hasPixelFun: function () {
return ( return (

View File

@ -35,7 +35,7 @@ module.exports = {
} }
}, },
[process.env.VUE_APP_REALITY_API]: { [process.env.VUE_APP_REALITY_API]: {
target: "http://192.168.88.199:18092/microwave", target: "http://192.168.88.3: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,
@ -44,7 +44,7 @@ module.exports = {
} }
}, },
[process.env.VUE_APP_FILE_API]: { [process.env.VUE_APP_FILE_API]: {
target: "http://192.168.88.199:18093/file", target: "http://192.168.88.3: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,