diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue index cd90629ce..9e79b9c0e 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue @@ -20,14 +20,11 @@ {{$t('selectTheVehicleTemplate')}} - + + + + + @@ -38,6 +35,7 @@ { + if(res.code==200){ + this.selectList=[] + let obj={} + res.result.map(item=>{ + obj.id=item.id + obj.ggpc=item.ggpc + this.selectList.push(obj) + }) + } + }) + }, next(){ this.save() this.$emit('basicInformationForm') }, save(){ - postAction('/ota/otaBaCxJbxx/add',this.form).then( res => { + + postAction('/ota/otaBaCxJbxx/add',{otaId:this.otaId,...this.form}).then( res => { console.log(res); }) }, diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/beupgradedonline.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/beupgradedonline.vue index 6a017d7dd..50b8a68c9 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/beupgradedonline.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/beupgradedonline.vue @@ -23,11 +23,11 @@ style="margin-bottom: 20px" > - + - + {{ $t('yes') }} {{ $t('not') }} @@ -50,35 +50,35 @@ - + - + - + - + - + - + - + - + - + - + @@ -94,7 +94,7 @@
- {{$t('preservation')}} + {{$t('preservation')}} {{$t('last')}} {{$t('next')}}
@@ -115,7 +115,32 @@ return { dataSource: [ { - } + gnmc:'前向碰撞预警(FCW)' + }, + { + gnmc:'车道偏离预警(LDW)' + }, + { + gnmc:'百区监测(BSD)' + }, + { + gnmc:'驻员疲劳篮澳CDFM)' + }, + { + gnmc:'自动紧急制动(AEB)' + }, + { + gnmc:'自适应巡航控制(ACC)' + }, + { + gnmc:'自适应巡航控制(ACC)' + }, + { + gnmc:'智能泊车辅助(IPA)' + }, + { + gnmc:'交通拥堵辅助(TJA)' + }, ], loading: false, disable:false, @@ -283,10 +308,17 @@ } }) }, + save(){ + postAction('',{otaId:this.otaId,list:this.dataSource}).then(res =>{ + console.log(res); + }) + }, last(){ + this.save() this.$emit('beupgradedonlineup') }, next(){ + this.save() this.$emit('beupgradedonlinedown') }, uploadSuccess(data) { @@ -305,7 +337,7 @@ }, //中间加 addlineAtMid(record){ - let obj = {} + let obj = {gnmc:record.gnmc} this.dataSource.splice(this.dataSource.indexOf(record)+1,0,obj) }, //最后一行加 diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/other.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/other.vue index 8dd986423..fa475255b 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/other.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/other.vue @@ -1,17 +1,17 @@