cmq
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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()
|
||||
},
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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 = "村民圈审核"
|
||||
|
||||
Reference in New Issue
Block a user