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: { methods: {
tabClick(index) { tabClick(index) {
this.current=1 this.current=1
this.type = '',
this.applyIntegralType = ''
this.integralList=[] this.integralList=[]
this.tabIndex = index this.tabIndex = index
this.getList() this.getList()
@@ -181,6 +183,7 @@ export default {
.card-name { .card-name {
margin-top: 30px; margin-top: 30px;
display: flex; display: flex;
// justify-content: space-between;
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
font-size: 28px; font-size: 28px;

View File

@@ -52,6 +52,7 @@ export default {
}, },
onLoad() { onLoad() {
this.$dict.load('villagerCircleTopic','auditStatus').then(()=>{ this.$dict.load('villagerCircleTopic','auditStatus').then(()=>{
this.current = 1
this.getList() this.getList()
}) })
}, },
@@ -59,6 +60,8 @@ export default {
tabClick(index) { tabClick(index) {
this.tabIndex = index this.tabIndex = index
this.current = 1, this.current = 1,
this.topic = '',
this.topicType = '',
this.villagerList = [], this.villagerList = [],
this.getList() this.getList()
}, },

View File

@@ -26,7 +26,6 @@ export default {
onLoad(o) { onLoad(o) {
this.id = o.id this.id = o.id
this.pass = o.pass this.pass = o.pass
// console.log(o);
}, },
methods: { methods: {
submit() { submit() {
@@ -37,6 +36,7 @@ export default {
opinion: this.value opinion: this.value
} }
}).then(() => { }).then(() => {
this.$u.toast('保存成功')
uni.$emit('update') uni.$emit('update')
setTimeout(()=>{ setTimeout(()=>{
uni.navigateBack() uni.navigateBack()

View File

@@ -24,16 +24,16 @@
<span>{{ data.gpsDesc }}</span> <span>{{ data.gpsDesc }}</span>
</span> </span>
</div> </div>
<div class="comment"> <div class="comment" v-if="data.comments">
<div class="comment-list"> <div class="comment-list">
<div class="title">评论:</div> <div class="title">评论:</div>
<div class="item"> <div class="item">
<span class="avatar">桃白白:</span>为什么不带上我为什么不带上我呢为什么不带上我呢为什么不带上我呢为什么不带上我呢为什么不带上我呢 <span class="avatar">桃白白:</span>为什么不带上我
</div> </div>
</div> </div>
</div> </div>
<div class="readOnly" v-if="data.status==2"> <div class="readOnly" v-if="data.status != 0">
<div class="item"> <div class="item">
<div>审核结果</div> <div>审核结果</div>
<div>不通过</div> <div>不通过</div>
@@ -54,7 +54,7 @@
<div style="height: 56px;"></div> <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="reject" @click="toReject">驳回发布</div>
<div class="agree" @click="agree">同意发布</div> <div class="agree" @click="agree">同意发布</div>
</div> </div>
@@ -77,7 +77,7 @@ export default {
this.$dict.load('villagerCircleTopic').then(()=>{ this.$dict.load('villagerCircleTopic').then(()=>{
this.id = o.id this.id = o.id
this.getDetail() this.getDetail()
this.getComment() // this.getComment()
}) })
}, },
methods: { methods: {
@@ -94,15 +94,23 @@ export default {
} }
}) })
}, },
getComment() {
this.$http.post('/app/appvillagercirclecomment/list').then((res)=>{
console.log(res);
})
},
toReject() { toReject() {
uni.navigateTo({url: `./Reject?id=${this.data.id}&pass=0`}) 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() { onShow() {
document.title = "村民圈审核" document.title = "村民圈审核"