-
{{ (formInline.fileKey === 'null' || formInline.fileKey === '' ||
- formInline.fileKey == null) ? $t('clickUpload') : $t('viewUploadedFiles')
+ {{ (fileList === 'null' || fileList === '' ||
+ fileList == null) ? $t('clickUpload') : $t('viewUploadedFiles')
}}
注:附件包括测试项目清单、测试报告.测试标准或技术规范
支持doc/docx/pdf格式,大小50M以内
@@ -296,39 +296,11 @@ import ImportFile from '@/components/ImportFileData/index'
handleModule() {
downloadFile('ota/otaBaCxKsjjsmccs/exportTemplate', '车型及功能备案' + '.zip', {})
},
- getList() {
- let queryParam = JSON.parse(JSON.stringify(this.queryParam))
- Object.keys(queryParam).forEach(val => {
- if (queryParam[val] instanceof Array) {
- queryParam[val] = queryParam[val].join(',')
- }
- })
- let query = {
- pageNo: this.pageNo,
- pageSize: this.pageSize,
- ...queryParam
- }
- this.loading = true
- getAction(this.url.list, query).then((res) => {
- if (res.success) {
- if (res.result.current > 1 && res.result.records.length == 0) {
- this.pageNo = 1
- this.getList()
- return
- }
- this.dataSource = res.result.records || []
- this.total = res.result.total
- this.loading = false
- } else {
- this.loading = false
- }
- })
- },
clickButtonToUpload(item) {
this.$refs.uploadFile.perentHandleFunc()
this.$refs.uploadFile.visible = true
this.uploadName = item
- getAction('sys/common/getFileInfos', { id: this.formInline[item] }).then((res) => {
+ getAction('sys/common/getFileInfos', { id: item }).then((res) => {
if (res.success) {
this.$refs.uploadFile.perentHandleFunc(res.result)
} else {
diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/other.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/other.vue
index 03c949871..4b96a15e4 100644
--- a/jero-web/src/views/otamanagement/vehicleinformation/components/other.vue
+++ b/jero-web/src/views/otamanagement/vehicleinformation/components/other.vue
@@ -81,6 +81,10 @@ export default {
},
submit(){
this.save()
+ 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 884ef6542..a76624515 100644
--- a/jero-web/src/views/otamanagement/vehicleinformation/components/recordparameters.vue
+++ b/jero-web/src/views/otamanagement/vehicleinformation/components/recordparameters.vue
@@ -934,26 +934,6 @@ export default {
this.fileList.uploadName = attIdList
this.fileList.certifyingmaterials = this.$t('viewFile')
},
- getList() {
- let queryParam = JSON.parse(JSON.stringify(this.queryParam))
- Object.keys(queryParam).forEach(val => {
- if (queryParam[val] instanceof Array) {
- queryParam[val] = queryParam[val].join(',')
- }
- })
- let query = {
- ...queryParam
- }
- getAction(this.url.list, query).then((res) => {
- if (res.success) {
- if (res.result.current > 1 && res.result.records.length == 0) {
- this.getList()
- return
- }
- } else {
- }
- })
- },
save(){
let arr =[]
this.dataSource.map(item=>{
diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/safetyPrecautions.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/safetyPrecautions.vue
index f1ecd09e2..ce1d9efe7 100644
--- a/jero-web/src/views/otamanagement/vehicleinformation/components/safetyPrecautions.vue
+++ b/jero-web/src/views/otamanagement/vehicleinformation/components/safetyPrecautions.vue
@@ -22,12 +22,12 @@
style="margin-bottom: 20px"
>
-
@@ -190,9 +190,6 @@ import ImportFile from '@/components/ImportFileData/index'
downloadFile('ota/otaBaCxAqcs/exportTemplate', '车型及功能备案' + '.zip', {})
},
getData(){
- if(this.$route.query.type == 1){
- return
- }
let otaIdT=localStorage.getItem('otaIdT')
if(otaIdT==null){
otaIdT=''
@@ -200,10 +197,11 @@ import ImportFile from '@/components/ImportFileData/index'
getAction('/ota/otaBaCxAqcs/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
if(res.code == 200){
- this.dataSource[0].info = Number(res.result.bhjz) == 0 ? undefined :Number(res.result.bhjz)
- this.dataSource[1].info =Number(res.result.fsxjz)== 0 ? undefined :Number(res.result.fsxjz)
- this.dataSource[2].info= Number(res.result.sjsbcs)== 0 ? undefined :Number(res.result.sjsbcs)
- this.dataSource[3].info=Number(res.result.xxaqjz)== 0 ? undefined :Number(res.result.xxaqjz)
+ this.dataSource[0].info = res.result.bhjz
+ this.dataSource[1].info =res.result.fsxjz
+ // 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
this.fileList.uploadName = res.result.zmclList
this.fileList.certifyingmaterials = this.$t('viewFile')
this.$refs.uploadFile.perentHandleFunc(this.fileList.uploadName)
@@ -236,32 +234,6 @@ import ImportFile from '@/components/ImportFileData/index'
this.$refs.uploadFile.visible = true
},
- getList() {
- let queryParam = JSON.parse(JSON.stringify(this.queryParam))
- Object.keys(queryParam).forEach(val => {
- if (queryParam[val] instanceof Array) {
- queryParam[val] = queryParam[val].join(',')
- }
- })
- let query = {
- pageNo: this.pageNo,
- pageSize: this.pageSize,
- ...queryParam
- }
- // this.loading = true
- getAction(this.url.list, query).then((res) => {
- if (res.success) {
- if (res.result.current > 1 && res.result.records.length == 0) {
- this.pageNo = 1
- this.getList()
- return
- }
- this.loading = false
- } else {
- this.loading = false
- }
- })
- },
save(){
let obj={}
obj.otaId=localStorage.getItem('otaId'),
diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/upgradeRequirements.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/upgradeRequirements.vue
index 35c5f5d6c..335b566a8 100644
--- a/jero-web/src/views/otamanagement/vehicleinformation/components/upgradeRequirements.vue
+++ b/jero-web/src/views/otamanagement/vehicleinformation/components/upgradeRequirements.vue
@@ -205,9 +205,6 @@ export default {
downloadFile('ota/otaBaCxZxsjyq/exportTemplate', '车型及功能备案' + '.zip', {})
},
getData(){
- if(this.$route.query.type == 1){
- return
- }
console.log(localStorage.getItem('otaId'));
let otaIdT=localStorage.getItem('otaIdT')
if(otaIdT==null){
diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/upgradedonline.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/upgradedonline.vue
index afc3b71c8..839ff8c15 100644
--- a/jero-web/src/views/otamanagement/vehicleinformation/components/upgradedonline.vue
+++ b/jero-web/src/views/otamanagement/vehicleinformation/components/upgradedonline.vue
@@ -305,9 +305,6 @@ import uploadFileOta from '@/components/uploadFileOta/file'
downloadFile('ota/otaBaCxKsjxtmccs/exportTemplate', '车型及功能备案' + '.zip', {})
},
getData(){
- if(this.$route.query.type == 1){
- return
- }
let otaIdT=localStorage.getItem('otaIdT')
if(otaIdT==null){
otaIdT=''
diff --git a/jero-web/src/views/otamanagement/vehicleinformation/index.vue b/jero-web/src/views/otamanagement/vehicleinformation/index.vue
index a96283306..c91ca4f3b 100644
--- a/jero-web/src/views/otamanagement/vehicleinformation/index.vue
+++ b/jero-web/src/views/otamanagement/vehicleinformation/index.vue
@@ -179,6 +179,8 @@ export default {
},
bussLogList(val) {
let query = {
+ pageNo: this.pageNohistory,
+ pageSize: this.pageSizehistory,
otaId:localStorage.getItem('otaId')
}
this.loading = true
diff --git a/jero-web/src/views/otamanagement/vehicleregistration/index.vue b/jero-web/src/views/otamanagement/vehicleregistration/index.vue
index 4a24be7d3..b04be3ace 100644
--- a/jero-web/src/views/otamanagement/vehicleregistration/index.vue
+++ b/jero-web/src/views/otamanagement/vehicleregistration/index.vue
@@ -383,9 +383,7 @@ export default {
localStorage.removeItem('otaIdT')
this.$router.push({
path: '/vehicleinformation',
- query: {
- type:1,
- }
+ query: {}
})
},
viewProcessClick(row) {