diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/thetargetvehicleofthisupgrade.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/thetargetvehicleofthisupgrade.vue index 67b396f2d..4367f3867 100644 --- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/thetargetvehicleofthisupgrade.vue +++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/thetargetvehicleofthisupgrade.vue @@ -144,6 +144,8 @@ export default { this.formInline.vinList=res.result.vinList this.formInline.csv=res.result.csv this.formInline.dateofproduction=[] + res.result.scrqks=res.result.scrqks == null ? "" : res.result.scrqks + res.result.scrqjs=res.result.scrqjs == null ? "" : res.result.scrqjs this.formInline.dateofproduction.push(res.result.scrqks) this.formInline.dateofproduction.push(res.result.scrqjs) this.formInline.id = res.result.vinList @@ -159,8 +161,13 @@ export default { obj.zsl = this.formInline.zsl obj.csv = this.formInline.csv if(this.formInline.dateofproduction){ - obj.scrqks = this.formInline.dateofproduction[0] - obj.scrqjs = this.formInline.dateofproduction[1] + if(this.formInline.dateofproduction.length>0){ + obj.scrqks = this.formInline.dateofproduction[0] + obj.scrqjs = this.formInline.dateofproduction[1] + }else{ + obj.scrqks='' + obj.scrqjs ='' + } }else{ obj.scrqks='' obj.scrqjs ='' diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment copy.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment copy.vue deleted file mode 100644 index fb6045b3d..000000000 --- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment copy.vue +++ /dev/null @@ -1,541 +0,0 @@ - - - - - - - - - - {{$t('templateDownload')}} - - - - - - {{$t('upgradePurpose')}} - - - - - - - - {{$t('impactassessmentofupgradeactivities')}} - - - {{$t('correspondingvehicletype')}} - {{$t('technicalperformancechanges')}} - {{$t('technicalstandardsandsafetytechnicalconditions')}} - {{$t('autoautonomousdrivingfunction')}} - - - - - {{ $t('yes') }} - {{ $t('not') }} - - - - - {{ $t('yes') }} - {{ $t('not') }} - - - - - {{ $t('yes') }} - {{ $t('not') }} - - - - - {{ $t('yes') }} - {{ $t('not') }} - - - - - - {{ (form.bgfj === 'null' || form.bgfj === '' || - form.bgfj == null) ? $t('uploadattachment') : $t('viewUploadedFiles') - }} - - {{$t('notetwo')}} - {{$t('format')}} - - - - - {{$t('vehiclepriortothereleaseoftheupgrade')}} - {{$t('conditionsareupgradesperformed')}} - {{$t('upgradefailureorinterruption')}} - {{$t('upgradeactivitiesaffectvehiclesafety')}} - {{$t('upgradeactivityprovidesuserconfirmationoptions')}} - {{$t('upgradepackagetest')}} - {{$t('reliabilityofonlineupgradeactivities')}} - - - - - {{ $t('yes') }} - {{ $t('not') }} - - - - - - - - - - - {{ $t('yes') }} - {{ $t('not') }} - - - - - {{ $t('yes') }} - {{ $t('not') }} - - - - - - - - {{ $t('yes') }} - {{ $t('not') }} - - - - - - {{ (form.clfj === 'null' || form.clfj === '' || - form.clfj == null) ? $t('uploadattachment') : $t('viewUploadedFiles') - }} - - {{$t('notethree')}} - {{$t('format')}} - - - - - {{$t('preservation')}} - {{$t('last')}} - {{$t('next')}} - - - - - - - - \ No newline at end of file diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradetargetmodel.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradetargetmodel.vue index 08939f295..e4f9fb135 100644 --- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradetargetmodel.vue +++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradetargetmodel.vue @@ -67,7 +67,7 @@ {{$t('Modelandfunctionrecord')}} - + {{ item.ggpc }} @@ -314,8 +314,12 @@ import ImportFile from '@/components/ImportFileData/index' this.form.cpsb = item.cpsb this.form.cpmc = item.cpmc this.form.cpxh = item.cpxh - this.form.babh = item.cpdjbh - } + getAction('/ota/otaBaCxJbxx/queryByOtaId',{otaIdT:'',otaId:item.id}).then(res=>{ + this.form.dllx1=res.result.dllx1 + this.form.dllx2=res.result.dllx2 + this.$forceUpdate() + }) + } }) this.$forceUpdate() },