|
|
|
@ -50,7 +50,7 @@ |
|
|
|
tagName: '', |
|
|
|
marde:'', |
|
|
|
id:'', |
|
|
|
status:null, |
|
|
|
status:'', |
|
|
|
online:false |
|
|
|
|
|
|
|
|
|
|
|
@ -64,14 +64,15 @@ |
|
|
|
|
|
|
|
methods: { |
|
|
|
handleOnlineRegistration(value) { |
|
|
|
// console.log(value) |
|
|
|
console.log(value) |
|
|
|
if (value) { |
|
|
|
this.online = true; |
|
|
|
this.status = 0; |
|
|
|
this.status = 1; |
|
|
|
} else { |
|
|
|
this.online = false; |
|
|
|
this.status = 1; |
|
|
|
this.status = 0; |
|
|
|
} |
|
|
|
console.log( this.status); |
|
|
|
}, |
|
|
|
async initForm(activityId){ |
|
|
|
console.log('activityIddetailShow',activityId) |
|
|
|
@ -80,9 +81,11 @@ |
|
|
|
this.id = activityId.id |
|
|
|
this.tagName = activityId.tagName |
|
|
|
if(activityId.status === 0){ |
|
|
|
this.online = true |
|
|
|
}else { |
|
|
|
this.online = false |
|
|
|
this.status = activityId.status |
|
|
|
}else { |
|
|
|
this.online = true |
|
|
|
this.status = activityId.status |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -101,11 +104,15 @@ |
|
|
|
|
|
|
|
}, |
|
|
|
async addActivity () { |
|
|
|
|
|
|
|
if (this.marde === 'edi') { |
|
|
|
console.log(this.marde) |
|
|
|
let url = '/actual/base/advertisingTag/update' |
|
|
|
console.log(this.status) |
|
|
|
let parmer = { |
|
|
|
tagName:this.tagName, |
|
|
|
status: this.status, |
|
|
|
id: this.id |
|
|
|
} |
|
|
|
const { data, code, msg, internalMsg } = await requestPost(url, parmer) |
|
|
|
|
|
|
|
|