车型备案 保存提示语
This commit is contained in:
@@ -356,6 +356,7 @@ import { message } from 'ant-design-vue'
|
|||||||
postAction('/ota/otaBaCxJbxx/add',{ otaId:localStorage.getItem('otaId'),...this.form}).then( res => {
|
postAction('/ota/otaBaCxJbxx/add',{ otaId:localStorage.getItem('otaId'),...this.form}).then( res => {
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
localStorage.setItem('otaId', res.result.otaId)
|
localStorage.setItem('otaId', res.result.otaId)
|
||||||
|
this.$message.success(this.$t('SavedSuccessfully'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -363,6 +363,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
|||||||
save(){
|
save(){
|
||||||
postAction('/ota/otaBaCxKsjjsmccs/add',{otaId:localStorage.getItem('otaId'),list:this.dataSource,fj:this.fileList}).then(res =>{
|
postAction('/ota/otaBaCxKsjjsmccs/add',{otaId:localStorage.getItem('otaId'),list:this.dataSource,fj:this.fileList}).then(res =>{
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
this.$message.success(this.$t('SavedSuccessfully'))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
last(){
|
last(){
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
postAction('/ota/otaBaCxQt/add',{otaId:localStorage.getItem('otaId'),...this.queryParam}).then(res=>{
|
postAction('/ota/otaBaCxQt/add',{otaId:localStorage.getItem('otaId'),...this.queryParam}).then(res=>{
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
this.$message.success(this.$t('SavedSuccessfully'))
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -949,6 +949,7 @@ export default {
|
|||||||
kzq:this.dataSourceList
|
kzq:this.dataSourceList
|
||||||
}).then( res => {
|
}).then( res => {
|
||||||
console.log(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
|
obj.zmclList = this.fileList.uploadName
|
||||||
postAction('/ota/otaBaCxAqcs/add',obj).then(res =>{
|
postAction('/ota/otaBaCxAqcs/add',obj).then(res =>{
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
this.$message.success(this.$t('SavedSuccessfully'))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
last(){
|
last(){
|
||||||
|
|||||||
@@ -291,6 +291,7 @@ export default {
|
|||||||
obj.zmclList = this.fileList.uploadName
|
obj.zmclList = this.fileList.uploadName
|
||||||
postAction('/ota/otaBaCxZxsjyq/add', obj).then(res => {
|
postAction('/ota/otaBaCxZxsjyq/add', obj).then(res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
this.$message.success(this.$t('SavedSuccessfully'))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
last() {
|
last() {
|
||||||
|
|||||||
@@ -456,6 +456,7 @@ import uploadFileOta from '@/components/uploadFileOta/file'
|
|||||||
save(){
|
save(){
|
||||||
postAction('/ota/otaBaCxKsjxtmccs/add',{otaId:localStorage.getItem('otaId'),list:this.dataSource,fj:this.fileList}).then(res => {
|
postAction('/ota/otaBaCxKsjxtmccs/add',{otaId:localStorage.getItem('otaId'),list:this.dataSource,fj:this.fileList}).then(res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
this.$message.success(this.$t('SavedSuccessfully'))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user