diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 1632822d9..db8f12688 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1646,13 +1646,13 @@ module.exports = { ifanupgrademayaffectvehiclesafety:'当执行升级可能影响车辆安全时,应在升级执行过程中通过技术手段确保车辆安全', iftheimplementationoftheupgradaffectsdrivingsafety:'若升级的执行影响驾驶安全,至少应满足:\n' + '\n' + - '(a)确保升级执行期间无法驾驶车辆;\n' + + '(a)确保升级执行期间无法驾驶车辆;\n' + '\n' + '(b)确保驾驶员不能使用任何可能影响车辆安全或成功执行升级的车辆功能', ensurethatthevehicleisinasafecondition:'若升级失败或中断,车辆能够恢复到以前的可用版本,或确保车辆处于安全状态。', priortotheexecutionoftheupgrade:'在升级执行前,应告知车辆用户升级信息,告知的信息应包括:\n' + '\n' + - '(a)升级目的;\n' + + '(a)升级目的;\n' + '\n' + '(b)车辆功能升级所实施的任何变更;\n' + '\n' + @@ -1663,9 +1663,9 @@ module.exports = { '(e)可能帮助车辆用户安全执行升级的任何指导信息。', afterperformingtheupgrade:'在执行升级后,车辆应:\n' + '\n' + - '(a))告知车辆用户车辆升级的结果(成功或失败);\n' + + '(a)告知车辆用户车辆升级的结果(成功或失败);\n' + '\n' + - '(b)若升级成功,告知车辆用户已实施的变更,用户手册(如果适用)的任何相关更新。', + '(b)若升级成功,告知车辆用户已实施的变更,用户手册(如果适用)的任何相关更新。', upgradepacketprotectionmeasures:'升级包保护措施', otaupgradedsecuritymeasuresforvehicles:'车辆OTA升级安全措施', authenticityandintegrityprotectionmechanism:'真实性、完整性保护机制(可多选)', @@ -1762,7 +1762,7 @@ module.exports = { notifiestheuseroftheupgradesuccessorfailure:'告知用户升级成功或失败', informimplementationchanges:'告知实施的变更', allupdatestotheusermanualareinformed:'告知了对用户手册的全部更新内容', - usernotificationmode:'告知用户方式', + usernotificationmode:'告知用户方式(可多选)', userinformstherelevantfile:'用户告知相关文件', taskname:'任务名称', updatereleasetime:'升级发布时间', diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/auxiliaryupgradehavechanged.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/auxiliaryupgradehavechanged.vue index 3738deba4..94d70de89 100644 --- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/auxiliaryupgradehavechanged.vue +++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/auxiliaryupgradehavechanged.vue @@ -46,11 +46,11 @@ - + - + diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradehavechanged.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradehavechanged.vue index b09c81b94..69ba8eaba 100644 --- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradehavechanged.vue +++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradehavechanged.vue @@ -27,11 +27,11 @@ - + - + diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/usernotification.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/usernotification.vue index ee65f5406..3e4680d34 100644 --- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/usernotification.vue +++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/usernotification.vue @@ -12,71 +12,150 @@ + {{$t('beforetheupgrade')}} - {{$t('totalquantity')}} + {{$t('pgradepurpose')}} - + + v-model='formInline.sjmd' + :placeholder="$t('pleaseEnter')"> - - - {{$t('dateofproduction')}} + {{$t('vehiclefunctionalityasaresultofsoftwareupgradeactivities')}} - - + + - - - {{$t('VINcodelist')}} + {{$t('estimatedupgradeexecutionTime')}} - - + + - - - - - - - - - - + {{$t('upgradeexecutionperiodasksifthevehicleisusable')}} - - - {{ (formInline.VINcodelist === 'null' || formInline.VINcodelist === '' || - formInline.VINcodelist == null) ? $t('clickUpload') : $t('viewUploadedFiles') + + + + + + + + + {{$t('vehiclefeaturesthatarenotavailableduringupgradeexecution')}} + + + + + + + + + + {{$t('vehicleusersafelyperformtheupgrade')}} + + + + + + + {{$t('aftertheupgrade')}} + + + + {{$t('notifiestheuseroftheupgradesuccessorfailure')}} + + + + {{ $t('yes') }} + {{ $t('not') }} + + + + + + + + {{$t('informimplementationchanges')}} + + + + {{ $t('yes') }} + {{ $t('not') }} + + + + + + + + {{$t('allupdatestotheusermanualareinformed')}} + + + + {{ $t('yes') }} + {{ $t('not') }} + + + + + + + + {{$t('usernotificationmode')}} + + + + + + + + + + {{$t('allupdatestotheusermanualareinformed')}} + + + + {{ (formInline.xgwj === 'null' || formInline.xgwj === '' || + formInline.xgwj == null) ? $t('uploadattachment') : $t('viewUploadedFiles') }} @@ -90,18 +169,21 @@ {{$t('last')}} {{$t('next')}} + @@ -150,7 +244,7 @@ export default { \ No newline at end of file diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/other.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/other.vue index 4b96a15e4..0002405fb 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/other.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/other.vue @@ -39,6 +39,7 @@ export default { confirmLoading: false, disabled: false, queryParam:{}, + flag:'', rules:{ sjbbhcs:[ { max: 500,message:'最多只能添加500个字符',trigger:'blur'} @@ -67,8 +68,10 @@ export default { save(){ this.$refs.ruleForm.validate( valid =>{ if (valid) { + this.flag = 1 postAction('/ota/otaBaCxQt/add',{otaId:localStorage.getItem('otaId'),...this.queryParam}).then(res=>{ console.log(res); + this.$message.success(this.$t('SavedSuccessfully')) }) } else { return false; @@ -81,10 +84,13 @@ export default { }, submit(){ this.save() - this.$router.push({ - path: '/vehicleregistration', - query: {} - }) + if(this.flag == 1){ + this.$router.push({ + path: '/vehicleregistration', + query: {} + }) + } + }, }, diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/recordparameters.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/recordparameters.vue index ebd14e91e..277fe7021 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/recordparameters.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/recordparameters.vue @@ -949,6 +949,7 @@ export default { kzq:this.dataSourceList }).then( res => { console.log(res); + this.$message.success(this.$t('SavedSuccessfully')) }) }, diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/safetyPrecautions.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/safetyPrecautions.vue index 43fd556fa..a4de6370e 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/safetyPrecautions.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/safetyPrecautions.vue @@ -244,6 +244,7 @@ import ImportFile from '@/components/ImportFileData/index' obj.zmclList = this.fileList.uploadName postAction('/ota/otaBaCxAqcs/add',obj).then(res =>{ console.log(res); + this.$message.success(this.$t('SavedSuccessfully')) }) }, last(){ diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/upgradedonline.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/upgradedonline.vue index f009851ba..5121c9a8e 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/upgradedonline.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/upgradedonline.vue @@ -21,7 +21,7 @@ style="margin-bottom: 20px" > - + @@ -32,7 +32,7 @@ - + @@ -87,8 +87,10 @@ {{ (fileList === 'null' || fileList === '' || fileList == null) ? $t('uploadattachment') : $t('viewUploadedFiles') }} - 注:附件包括测试项目清单、测试报告.测试标准或技术规范 - 支持doc/docx/pdf格式,大小50M以内 + + 注:附件包括测试项目清单、测试报告.测试标准或技术规范 + 支持doc/docx/pdf格式,大小50M以内 + @@ -456,6 +458,7 @@ import uploadFileOta from '@/components/uploadFileOta/file' save(){ postAction('/ota/otaBaCxKsjxtmccs/add',{otaId:localStorage.getItem('otaId'),list:this.dataSource,fj:this.fileList}).then(res => { console.log(res); + this.$message.success(this.$t('SavedSuccessfully')) }) } } @@ -481,4 +484,8 @@ import uploadFileOta from '@/components/uploadFileOta/file' ::v-deep .ant-table-row-cell-ellipsis .ant-table-column-title { white-space: pre-wrap!important; } + ::v-deep .ant-table-row:first-child { + background: #fff !important; + opacity: 3.9 !important; + } \ No newline at end of file
注:附件包括测试项目清单、测试报告.测试标准或技术规范
支持doc/docx/pdf格式,大小50M以内