lijinlong
吕天方 1 year ago
parent 215fdd3dcc
commit 0bdab59134

@ -4,7 +4,7 @@ const TokenKey = 'Admin-Token'
const AccessToken = 'X-Access-Token' const AccessToken = 'X-Access-Token'
Cookies.set(AccessToken,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MDMwOTkxMTYsInVzZXJuYW1lIjoi6LW15YWtIn0.GwJMwZTBCtjTbG0K-cTV72OJXBxI4VsrSgeBaCCjQM4')
export function getAccessToken() { export function getAccessToken() {
return Cookies.get(AccessToken) return Cookies.get(AccessToken)
} }

@ -1460,15 +1460,14 @@ export default {
this.formInline.reportEventObj.audioUrl = this.baseUrl + this.formInline.reportEventObj.audioUrl; this.formInline.reportEventObj.audioUrl = this.baseUrl + this.formInline.reportEventObj.audioUrl;
this.formInline.reportEventObj.meshOccurs = this.formInline.reportEventObj.meshOccurs.join(','); this.formInline.reportEventObj.meshOccurs = this.formInline.reportEventObj.meshOccurs.join(',');
console.log(this.formInline); console.log(this.formInline);
eventSaveData(this.formInfo,{formData:this.formInline}).then(res=>{
console.log(res,'===================res');
if(res.code == 200 && res.success == true) {
this.$refs.dialog5.Close();
}
})
} }
}) })
// eventSaveData(this.formInfo,{formData:this.formInline}).then(res=>{
// console.log(res,'===================res');
// if(res.code == 200 && res.success == true) {
// this.$refs.dialog5.Close();
// }
// })
}, },
}, },
} }

Loading…
Cancel
Save