diff --git a/src/views/Daichuli/Feedback/Inspection/index.vue b/src/views/Daichuli/Feedback/Inspection/index.vue index 5c9939e..dfb1b83 100644 --- a/src/views/Daichuli/Feedback/Inspection/index.vue +++ b/src/views/Daichuli/Feedback/Inspection/index.vue @@ -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; // 真实性校验方法