From 9eaf78aae2edc65b5ae46b75caf0ab8ceb16aa65 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 23 Feb 2022 11:19:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E4=BD=8D=E9=81=AE=E6=8C=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppVillagersCircle/commentList.vue | 26 +++++++++++++-------- src/apps/AppVillagersCircle/infoDetail.vue | 2 +- 2 files changed, 17 insertions(+), 11 deletions(-) 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 @@ -
+
驳回发布