From 26fdb0355235c337d92426e1e2b05d00e0099b9f Mon Sep 17 00:00:00 2001 From: duxiaoning <17621883433@163.com> Date: Mon, 16 Jan 2023 09:58:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=B9=E6=B3=95=E6=94=BE?= =?UTF-8?q?=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Daichuli/Feedback/Inspection/index.vue | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) 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; // 真实性校验方法