diff --git a/src/apps/AppIntegralAudit/AppIntegralAudit.vue b/src/apps/AppIntegralAudit/AppIntegralAudit.vue index 771482da..fd4d1b53 100644 --- a/src/apps/AppIntegralAudit/AppIntegralAudit.vue +++ b/src/apps/AppIntegralAudit/AppIntegralAudit.vue @@ -62,6 +62,8 @@ export default { methods: { tabClick(index) { this.current=1 + this.type = '', + this.applyIntegralType = '' this.integralList=[] this.tabIndex = index this.getList() @@ -181,6 +183,7 @@ export default { .card-name { margin-top: 30px; display: flex; + // justify-content: space-between; height: 50px; line-height: 50px; font-size: 28px; diff --git a/src/apps/AppVillagersCircle/AppVillagersCircle.vue b/src/apps/AppVillagersCircle/AppVillagersCircle.vue index 11231bdd..ec46e4ad 100644 --- a/src/apps/AppVillagersCircle/AppVillagersCircle.vue +++ b/src/apps/AppVillagersCircle/AppVillagersCircle.vue @@ -52,6 +52,7 @@ export default { }, onLoad() { this.$dict.load('villagerCircleTopic','auditStatus').then(()=>{ + this.current = 1 this.getList() }) }, @@ -59,6 +60,8 @@ export default { tabClick(index) { this.tabIndex = index this.current = 1, + this.topic = '', + this.topicType = '', this.villagerList = [], this.getList() }, diff --git a/src/apps/AppVillagersCircle/Reject.vue b/src/apps/AppVillagersCircle/Reject.vue index 909f7209..c05b83a9 100644 --- a/src/apps/AppVillagersCircle/Reject.vue +++ b/src/apps/AppVillagersCircle/Reject.vue @@ -26,7 +26,6 @@ export default { onLoad(o) { this.id = o.id this.pass = o.pass - // console.log(o); }, methods: { submit() { @@ -37,6 +36,7 @@ export default { opinion: this.value } }).then(() => { + this.$u.toast('保存成功') uni.$emit('update') setTimeout(()=>{ uni.navigateBack() diff --git a/src/apps/AppVillagersCircle/detail.vue b/src/apps/AppVillagersCircle/detail.vue index 55180be5..d7a5c21f 100644 --- a/src/apps/AppVillagersCircle/detail.vue +++ b/src/apps/AppVillagersCircle/detail.vue @@ -24,16 +24,16 @@ {{ data.gpsDesc }} -
+
评论:
- 桃白白:为什么不带上我呢!为什么不带上我呢!为什么不带上我呢!为什么不带上我呢!为什么不带上我呢!为什么不带上我呢! + 桃白白:为什么不带上我
-
+
审核结果
不通过
@@ -54,7 +54,7 @@
-
+
驳回发布
同意发布
@@ -77,7 +77,7 @@ export default { this.$dict.load('villagerCircleTopic').then(()=>{ this.id = o.id this.getDetail() - this.getComment() + // this.getComment() }) }, methods: { @@ -94,15 +94,23 @@ export default { } }) }, - getComment() { - this.$http.post('/app/appvillagercirclecomment/list').then((res)=>{ - console.log(res); - }) - }, toReject() { uni.navigateTo({url: `./Reject?id=${this.data.id}&pass=0`}) }, - agree() {} + agree() { + this.$http.post('/app/appvillagercircleinfo/examine',null, { + params: { + id: this.id, + pass: 1, + } + }).then(() => { + this.$u.toast('发布成功') + uni.$emit('update') + setTimeout(()=>{ + uni.navigateBack() + }) + }) + } }, onShow() { document.title = "村民圈审核"