像元级处理模型设置算法更新
parent
de52c2d645
commit
d7cc554e67
|
@ -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]);
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -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 (
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue