diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index ceb06b6ac..af8955b5e 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -594,7 +594,7 @@ module.exports = { labelAreaDeleted: 'If it is deleted, All label items under the display area will be deleted', searchInResults: 'Search In Results', searchContent: 'Search Content', - viewFile: 'View File', + viewFile: 'View', fileFormatIncorrect: 'The file format is incorrect', pleaseUploadFile: 'Please upload the file', documentSplitList: 'Document Split List Display', @@ -1523,7 +1523,7 @@ module.exports = { VINcodeupload:'VIN code upload', Tasknode:'Task Node', Taskresponsibilityrecognition:'Task responsibility recognition', - uploadattachment:'Upload attachment', + uploadattachment:'Upload', Processhistory:'Process history', resultofhandling:'Result of handling', cause:'cause', diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/safetyPrecautions.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/safetyPrecautions.vue index 398a0da8a..46b817dbf 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/safetyPrecautions.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/safetyPrecautions.vue @@ -202,8 +202,10 @@ import ImportFile from '@/components/ImportFileData/index' // this.dataSource[2].info= Number(res.result.sjsbcs)== 0 ? undefined :Number(res.result.sjsbcs) this.dataSource[2].info= res.result.sjsbcs this.dataSource[3].info= res.result.xxaqjz + if(res.result.zmclList){ + console.log(this.dataSource[0].certifyingmaterials = this.$t('viewFile')) + } this.fileList.uploadName = res.result.zmclList - this.fileList.certifyingmaterials = this.$t('viewFile') this.$refs.uploadFile.perentHandleFunc(this.fileList.uploadName) this.$forceUpdate() this.loading = false diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/upgradeRequirements.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/upgradeRequirements.vue index 7485d89bd..d2ad38e2f 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/upgradeRequirements.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/upgradeRequirements.vue @@ -221,12 +221,10 @@ export default { this.dataSource[7].relevantverification=Number(res.result.sjsbaq) this.dataSource[8].relevantverification=Number(res.result.sjgg) this.dataSource[9].relevantverification=Number(res.result.sjzt) + if(res.result.zmclList){ + console.log(this.dataSource[0].certifyingmaterials = this.$t('viewFile')) + } this.fileList.uploadName = res.result.zmclList - this.$nextTick(() => { - this.fileList.certifyingmaterials = this.$t('viewFile') - }) - this.fileList.certifyingmaterials = this.$t('viewFile') - console.log(this.fileList) this.$refs.uploadFile.perentHandleFunc(this.fileList.uploadName) this.$forceUpdate() })