|
|
@ -85,10 +85,11 @@ |
|
|
|
{{ item.eventContent }} |
|
|
|
</span> |
|
|
|
<div class="flex flex-end flex-center gray m-top10 font-size13"> |
|
|
|
<div class="flex flex-center"><img src="@/assets/images/icons/resi.png" |
|
|
|
class="img_16 m-right7" alt=""><span>参与 {{ item.total }}</span></div> |
|
|
|
<div class="flex flex-center" @click="handelClicsupport(item.eventId)"><img src="@/assets/images/icons/support.png" alt="" |
|
|
|
class="img_16 m-right7"><span>支持 {{ item.supportNum }}</span></div> |
|
|
|
<div class="flex flex-center"><img src="@/assets/images/icons/resi.png" class="img_16 m-right7" alt=""> |
|
|
|
<span>参与 {{ item.total }}</span></div> |
|
|
|
<div class="flex flex-center" @click="handelClicsupport1(item.eventId)"> |
|
|
|
<img src="@/assets/images/icons/support.png" alt="" class="img_16 m-right7"> |
|
|
|
<span>支持 {{ item.supportNum }}</span></div> |
|
|
|
<div class="flex flex-center" @click="handelClicopposeNum(item.eventId)" ><img src="@/assets/images/icons/oppose.png" alt="" |
|
|
|
class="img_16 m-right7"><span>反对 {{ item.opposeNum }}</span></div> |
|
|
|
</div> |
|
|
@ -136,11 +137,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import registerDialog from '@/components/registerDialog'; |
|
|
|
<<<<<<< HEAD |
|
|
|
import { communityActivity,icEventOldDiscuss,handelClicsupport} from '@/api/home'; |
|
|
|
======= |
|
|
|
import { communityActivity, icEventOldDiscuss, advertisingTag, communityPublicity } from '@/api/home'; |
|
|
|
>>>>>>> b487435718ed41dce92441a54126caa0d073f824 |
|
|
|
import { communityActivity, icEventOldDiscuss, advertisingTag, communityPublicity,handelClicsupport } from '@/api/home'; |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
@ -175,20 +172,16 @@ export default { |
|
|
|
activityList: [], |
|
|
|
eventList: [], |
|
|
|
showRegister: false, |
|
|
|
<<<<<<< HEAD |
|
|
|
userId:"" |
|
|
|
======= |
|
|
|
tagList: [], |
|
|
|
tagActive: 'new', |
|
|
|
tagId: null, |
|
|
|
PublicityList:[] |
|
|
|
>>>>>>> b487435718ed41dce92441a54126caa0d073f824 |
|
|
|
}; |
|
|
|
}, |
|
|
|
created() { |
|
|
|
console.log(this.$store.state.app); |
|
|
|
this.agencyId = this.$store.state.app.agencyId; |
|
|
|
this.userId = this.$store.state.app.appId; |
|
|
|
this.userId = this.$store.state.app.userInfo.id; |
|
|
|
this.communityActivity()//获取轮播图与活动列表 |
|
|
|
this.icEventOldDiscuss()//获取居民议事列表 |
|
|
|
this.advertisingTag()//获取社区讯息菜单 |
|
|
@ -204,10 +197,11 @@ export default { |
|
|
|
} |
|
|
|
console.log(parm); |
|
|
|
let res = await handelClicsupport(parm) |
|
|
|
|
|
|
|
this.icEventOldDiscuss() |
|
|
|
|
|
|
|
}, |
|
|
|
async handelClicsupport(data){ |
|
|
|
async handelClicsupport1(data){ |
|
|
|
let parm = { |
|
|
|
eventId:data, |
|
|
|
agencyId: this.agencyId, |
|
|
|