From d317ece1d23eb3c228ce56ce44ddb6e004ea7019 Mon Sep 17 00:00:00 2001 From: yuekuo Date: Wed, 29 Mar 2023 10:15:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E6=9D=9F=E5=8D=87=E7=BA=A7=E5=AF=B9?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../upgradeactivity/components/upgradecompletion.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/jero-web/src/views/otamanagement/upgradeactivity/components/upgradecompletion.vue b/jero-web/src/views/otamanagement/upgradeactivity/components/upgradecompletion.vue index 8b1479d10..3fa22b2c4 100644 --- a/jero-web/src/views/otamanagement/upgradeactivity/components/upgradecompletion.vue +++ b/jero-web/src/views/otamanagement/upgradeactivity/components/upgradecompletion.vue @@ -152,6 +152,7 @@ {{ (formInline.ssjlfj === 'null' || formInline.ssjlfj === '' || formInline.ssjlfj == null) ? $t('clickUpload') : $t('viewUploadedFiles') @@ -243,10 +244,17 @@ export default { this.showButton=true } this.record=record - this.visible = true this.confirmLoading = false - console.log('555',record); + console.log('555',record); + getAction('/ota/otaBaSjJssj/queryByOtaId',{otaId:this.record.id}).then(res=>{ + if(res.code==200){ + this.formInline=res.result ==null? {list:[{}]} :res.result + if(res.result.list==null ||res.result.list.length==0){ + this.formInline.list=[{}] + } + } + }) this.$nextTick(() => { this.formInline = { ...this.formInline } this.$refs.ruleForm.clearValidate()