diff --git a/jero-web/src/views/otamanagement/upgradeactivity/components/maintenance.vue b/jero-web/src/views/otamanagement/upgradeactivity/components/maintenance.vue index 8440de293..14f819761 100644 --- a/jero-web/src/views/otamanagement/upgradeactivity/components/maintenance.vue +++ b/jero-web/src/views/otamanagement/upgradeactivity/components/maintenance.vue @@ -36,10 +36,10 @@ @@ -76,7 +76,7 @@ export default { visible: false, confirmLoading: false, formInline: { - batjs:'', + batjsj:'', }, rules: { // listConfirmation: [ @@ -129,7 +129,7 @@ export default { // } // ] }, - ids: [] + ids: '' } }, mounted() { @@ -137,11 +137,12 @@ export default { methods: { edit(row) { if(row instanceof Array){ - this.ids = row + this.ids = row.join(',') }else{ this.formInline.bazt = row.bazt - this.formInline.batjs = row.batjs + this.formInline.batjsj = row.batjsj this.formInline.bz = row.bz + this.ids = row.id } this.visible = true this.$nextTick(() => { @@ -153,12 +154,10 @@ export default { if (valid) { let query = { ...this.formInline, - id:this.ids.join(',') + ids:this.ids.join(',') } this.confirmLoading = true - postAction('ota/otaBaSjList/batchRecord', { - recordList :query - }).then((res) => { + postAction('ota/otaBaSjList/batchRecord', query).then((res) => { if (res.success) { this.$message.success(this.$t('OperationSuccessful')) this.visible = false @@ -174,9 +173,9 @@ export default { }, handleCancel() { this.formInline = { - batjs:'' + batjsj:'' } - this.ids = [] + this.ids = '' this.visible = false }, dateChange(item) { diff --git a/jero-web/src/views/otamanagement/upgradeactivity/index.vue b/jero-web/src/views/otamanagement/upgradeactivity/index.vue index 9cf5e3567..f163e5aa2 100644 --- a/jero-web/src/views/otamanagement/upgradeactivity/index.vue +++ b/jero-web/src/views/otamanagement/upgradeactivity/index.vue @@ -281,7 +281,7 @@ export default { align: 'left', ellipsis: true, width: 140, - dataIndex: 'batjs' + dataIndex: 'batjsj' }, { title: this.$t('createTime'), diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue index 9e79b9c0e..d8798f0aa 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue @@ -2,10 +2,9 @@
- - {{$t('dataimport')}} +
-
+
{{$t('templateDownload')}}
@@ -22,7 +21,8 @@ - + + {{ item.ggpc }} @@ -219,12 +219,15 @@ \ No newline at end of file diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/upgradeRequirements.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/upgradeRequirements.vue index 3ea04b37c..cec918278 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/upgradeRequirements.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/upgradeRequirements.vue @@ -2,12 +2,11 @@
- - {{ $t('dataimport') }} +
-
- - {{ $t('templateDownload') }} +
+ + {{$t('templateDownload')}}