This commit is contained in:
shijingjing
2022-02-18 10:43:46 +08:00
parent 7c295176fa
commit 869611d1bc
4 changed files with 26 additions and 12 deletions

View File

@@ -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;

View File

@@ -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()
},

View File

@@ -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()

View File

@@ -24,16 +24,16 @@
<span>{{ data.gpsDesc }}</span>
</span>
</div>
<div class="comment">
<div class="comment" v-if="data.comments">
<div class="comment-list">
<div class="title">评论:</div>
<div class="item">
<span class="avatar">桃白白:</span>为什么不带上我为什么不带上我呢为什么不带上我呢为什么不带上我呢为什么不带上我呢为什么不带上我呢
<span class="avatar">桃白白:</span>为什么不带上我
</div>
</div>
</div>
<div class="readOnly" v-if="data.status==2">
<div class="readOnly" v-if="data.status != 0">
<div class="item">
<div>审核结果</div>
<div>不通过</div>
@@ -54,7 +54,7 @@
<div style="height: 56px;"></div>
<div class="btn" v-if="data.status != 2">
<div class="btn" v-if="data.status == 0">
<div class="reject" @click="toReject">驳回发布</div>
<div class="agree" @click="agree">同意发布</div>
</div>
@@ -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 = "村民圈审核"