diff --git a/src/apps/AppVillagersCircle/commentList.vue b/src/apps/AppVillagersCircle/commentList.vue index f08dd7d8..e66dbc3b 100644 --- a/src/apps/AppVillagersCircle/commentList.vue +++ b/src/apps/AppVillagersCircle/commentList.vue @@ -47,7 +47,7 @@ export default { current: 1, topic: '', topicType: '', - data: {}, + data: [], list:[] } }, @@ -71,13 +71,27 @@ export default { this.data = [], this.getList() }, + + confirmTypeSelect(e) { + this.topic = e[0].value, + this.topicType = e[0].label + this.current = 1, + this.data = [], + this.getList() + }, getList() { + var villagerCircleInfo = { + topic: this.topic, + } this.$http.post('/app/appvillagercirclecomment/list?current=1&size=10',null,{ params: { current: 1, size: 10, - auditType: this.tabIndex==0? '': this.tabIndex==1? 0 : 1 + villagerCircleInfo: villagerCircleInfo, + content: this.content, + auditType: this.tabIndex==0? '': this.tabIndex==1? 0 : 1, + } }).then(res=>{ if(res?.data) { @@ -86,14 +100,6 @@ export default { }) }, - confirmTypeSelect(e) { - this.topic = e[0].value, - this.topicType = e[0].label - this.current = 1, - this.villagerList = [], - this.getList() - }, - toDetail(item) { uni.navigateTo({url: `./commentDetail?id=${item.id}`}) } diff --git a/src/apps/AppVillagersCircle/infoDetail.vue b/src/apps/AppVillagersCircle/infoDetail.vue index c52d4179..6f6cd1d4 100644 --- a/src/apps/AppVillagersCircle/infoDetail.vue +++ b/src/apps/AppVillagersCircle/infoDetail.vue @@ -61,7 +61,7 @@ -
+
驳回发布