更新方法放开

tykong-cidian
duxiaoning 2023-01-16 09:58:48 +08:00
parent 7286766b4e
commit 26fdb03552
1 changed files with 19 additions and 19 deletions

View File

@ -275,22 +275,22 @@ export default {
self.geoLayerName = pm.geoLayerName;
self.tifPath = pm.ftpPath;
// //
// getAnalyseMethod(self.orderId).then((res) => {
// // console.log('',res);
// if (res.code === 200) {
// let truthFun = res.data.default;
// if (res.data.selected.length !== 0) truthFun = res.data.selected;
// if (truthFun.length !== 0) {
// const tfArr = [];
// for (let i in truthFun) {
// tfArr.push(truthFun[i].id);
// }
// self.formInline.truthCheckFun = tfArr;
// self.truthFun = true;
// }
// }
// });
//
getAnalyseMethod(self.orderId).then((res) => {
// console.log('',res);
if (res.code === 200) {
let truthFun = res.data.default;
if (res.data.selected.length !== 0) truthFun = res.data.selected;
if (truthFun.length !== 0) {
const tfArr = [];
for (let i in truthFun) {
tfArr.push(truthFun[i].id);
}
self.formInline.truthCheckFun = tfArr;
self.truthFun = true;
}
}
});
//
if (om.processMethods !== null) {
@ -362,10 +362,10 @@ export default {
return false;
}
//
// const allSampleData = smpVal.allSampleData;
// this.addCotSamples(this.sampleList,allSampleData,orderId)
const allSampleData = smpVal.allSampleData;
this.addCotSamples(this.sampleList,allSampleData,orderId)
//
// this.updateTruthFun(orderId, tcf);
this.updateTruthFun(orderId, tcf);
this.checkRealityWait = true;
//