This commit is contained in:
yuekuo
2023-03-25 19:36:14 +08:00
parent 743efb0193
commit 77b3916d15
@@ -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;