车型备案 保存提示语

This commit is contained in:
zyx.net
2023-03-26 16:21:18 +08:00
parent d4abc4f3ce
commit 5ea8d4d516
7 changed files with 7 additions and 0 deletions
@@ -356,6 +356,7 @@ import { message } from 'ant-design-vue'
postAction('/ota/otaBaCxJbxx/add',{ otaId:localStorage.getItem('otaId'),...this.form}).then( res => {
if(res.code == 200){
localStorage.setItem('otaId', res.result.otaId)
this.$message.success(this.$t('SavedSuccessfully'))
}
})
}
@@ -363,6 +363,7 @@ import ImportFile from '@/components/ImportFileData/index'
save(){
postAction('/ota/otaBaCxKsjjsmccs/add',{otaId:localStorage.getItem('otaId'),list:this.dataSource,fj:this.fileList}).then(res =>{
console.log(res);
this.$message.success(this.$t('SavedSuccessfully'))
})
},
last(){
@@ -69,6 +69,7 @@ export default {
if (valid) {
postAction('/ota/otaBaCxQt/add',{otaId:localStorage.getItem('otaId'),...this.queryParam}).then(res=>{
console.log(res);
this.$message.success(this.$t('SavedSuccessfully'))
})
} else {
return false;
@@ -949,6 +949,7 @@ export default {
kzq:this.dataSourceList
}).then( res => {
console.log(res);
this.$message.success(this.$t('SavedSuccessfully'))
})
},
@@ -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(){
@@ -291,6 +291,7 @@ export default {
obj.zmclList = this.fileList.uploadName
postAction('/ota/otaBaCxZxsjyq/add', obj).then(res => {
console.log(res);
this.$message.success(this.$t('SavedSuccessfully'))
})
},
last() {
@@ -456,6 +456,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'))
})
}
}