other
This commit is contained in:
@@ -56,14 +56,16 @@ export default {
|
||||
otaIdT=''
|
||||
}
|
||||
getAction('/ota/otaBaCxQt/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
|
||||
console.log(res);
|
||||
if(res.code==200){
|
||||
this.queryParam=res.result
|
||||
}
|
||||
})
|
||||
},
|
||||
save(){
|
||||
this.$refs.ruleForm.validate( valid =>{
|
||||
if (valid) {
|
||||
postAction('/ota/otaBaCxQt/add',{otaId:localStorage.getItem('otaId'),...this.queryParam}).then(res=>{
|
||||
console.log(res);
|
||||
console.log(res);
|
||||
})
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user