From 1154207954b8aa079c552a6f2c34c322fa501546 Mon Sep 17 00:00:00 2001 From: huangli865118801 <865118801@qq.com> Date: Fri, 6 Aug 2021 10:31:24 +0800 Subject: [PATCH] ddd --- .../firstInspectionInfo.vue | 8 +++--- pages/tcqInfo/tcqInfo.vue | 25 +++++++++++-------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/pages/firstInspectionInfo/firstInspectionInfo.vue b/pages/firstInspectionInfo/firstInspectionInfo.vue index db76a70..d0bd14d 100644 --- a/pages/firstInspectionInfo/firstInspectionInfo.vue +++ b/pages/firstInspectionInfo/firstInspectionInfo.vue @@ -67,10 +67,10 @@ {{item.name}} - + - + {{info.sampling}} @@ -85,10 +85,10 @@ {{item}} - + - + {{info.basis}} diff --git a/pages/tcqInfo/tcqInfo.vue b/pages/tcqInfo/tcqInfo.vue index 7fc3082..f92ffa8 100644 --- a/pages/tcqInfo/tcqInfo.vue +++ b/pages/tcqInfo/tcqInfo.vue @@ -37,16 +37,16 @@ 时间段: 2021-07-15 --> - + - + @@ -121,7 +121,7 @@ froms: { item: [], plan_id: '', - model: '', + //model: '', frequency: 0, //班次 remake: '' //,备注 }, @@ -144,11 +144,10 @@ this.productId = e.product_id; this.froms.plan_id = this.pId; this.CyInfo = JSON.parse(decodeURIComponent(e.planInfo)); - this.froms.model = this.CyInfo.product_size; this.power = this.userInfo.power - //this.getArr(); + this.getArr(); - if (this.CyInfo.check != 0 && this.type != 1) { + if (this.type == 2||this.type == 3) { this.getInfo(); }else{ this.getConfig(); @@ -172,7 +171,7 @@ } }) - console.log("xinshuzu", this.jurisdiction) + //console.log("xinshuzu", this.jurisdiction) }, isMenu(title) { return this.jurisdiction.includes(title); @@ -227,10 +226,13 @@ }).then(res => { this.info = res; this.froms.plan_id = this.pId; - this.froms.model = res.model; + //this.froms.model = res.model; this.froms.frequency = res.frequency; this.froms.remake = res.remake; + // this.configSet=res.CheckTcqMsg; + this.getConfig(); + console.log("选项",this.configSet) }); }, bindline: function(e) { @@ -276,7 +278,8 @@ this.$functions.confirm('是否确定操作?').then(res => { tcqCheckSure({ plan_id: this.info.plan_id, - play_id: this.info.play_id + play_id: this.info.play_id, + id:this.id }).then(res => { this.$functions.success('操作成功').then(() => { uni.navigateBack({});