|
|
@ -171,6 +171,7 @@ export default { |
|
|
|
|
|
|
|
} |
|
|
|
this.formType=typeid |
|
|
|
|
|
|
|
console.log(this.formData,"5164"); |
|
|
|
this.endLoading(); |
|
|
|
this.setDefaultReleaseTime() |
|
|
@ -258,7 +259,7 @@ export default { |
|
|
|
this.$refs['ref_form'].validate((valid, messageObj) => { |
|
|
|
this.formData.agencyName= this.agencyName |
|
|
|
this.formData.agencyId= this.agencyId |
|
|
|
this.formData.status= 0 |
|
|
|
this.formData.status= 1 |
|
|
|
console.log("this.formData看看里面村的什么",this.formData) |
|
|
|
if (!valid) { |
|
|
|
app.util.validateRule(messageObj) |
|
|
@ -274,7 +275,6 @@ export default { |
|
|
|
let url = '/actual/base/communityPublicity/update' |
|
|
|
this.formData.sendMsg= this.formData.sendMsg? 1:0 |
|
|
|
this.formData.top= this.formData.top? 1:0 |
|
|
|
console.log(this.formData.top); |
|
|
|
console.log(this.formData,"formData"); |
|
|
|
const { data, code, msg } = await requestPost(url, this.formData) |
|
|
|
if (code === 0) { |
|
|
|