This commit is contained in:
花有清香月有阴
2022-01-07 18:31:42 +08:00
4 changed files with 17 additions and 9 deletions

View File

@@ -136,7 +136,11 @@ export default {
uni.$emit('updateDeatil') uni.$emit('updateDeatil')
uni.$emit('getListInit') uni.$emit('getListInit')
setTimeout(() => { setTimeout(() => {
if(this.status == 1) {
uni.navigateBack({delta: 2})
}else {
uni.navigateBack() uni.navigateBack()
}
},600) },600)
} }
}) })

View File

@@ -114,7 +114,7 @@
<div class="doIt" @click="doItShow = true">我来受理</div> <div class="doIt" @click="doItShow = true">我来受理</div>
</div> </div>
<div class="endDoIt" v-if="data.eventStatus == 1" @click="toContent(3)">前往办理</div> <div class="endDoIt" v-if="data.eventStatus == 1 && data.rightType == 0" @click="toContent(3)">前往办理</div>
</div> </div>
<u-modal v-model="doItShow" :mask-close-able="true" z-index="99" content="确定受理该事件?" :show-cancel-button="true" @confirm="doThings"></u-modal> <u-modal v-model="doItShow" :mask-close-able="true" z-index="99" content="确定受理该事件?" :show-cancel-button="true" @confirm="doThings"></u-modal>

View File

@@ -52,7 +52,7 @@
</div> </div>
</div> </div>
<div class="submitType">提交方式</div> <div class="submitType">投票方式</div>
<div class="summitOpt"> <div class="summitOpt">
<div class="leftopt" @click="opts = 0" :class="!opts ? 'current' : ''">单选</div> <div class="leftopt" @click="opts = 0" :class="!opts ? 'current' : ''">单选</div>

View File

@@ -67,12 +67,12 @@
</div> </div>
</div> </div>
<div class="votePeople"> <div class="votePeople" v-if="data.type === '1'">
<div class="leftPeople">23人参与投票</div> <div class="leftPeople">{{ data.voteCount }}人参与投票</div>
<div class="right"> <div class="right">
<span>查看详情</span> <span @click="toUserList">查看详情</span>
<u-icon name="arrow-right" color="#999" @click="toUserList"></u-icon> <u-icon name="arrow-right" color="#999"></u-icon>
</div> </div>
</div> </div>
@@ -307,7 +307,10 @@ export default {
.then((res) => { .then((res) => {
if (res?.code == 0) { if (res?.code == 0) {
this.$u.toast('结束公示成功!') this.$u.toast('结束公示成功!')
setTimeout(() => {
this.getDetail() this.getDetail()
}, 600)
} }
}) })
}) })
@@ -324,6 +327,7 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.Detail { .Detail {
padding-bottom: 40px; padding-bottom: 40px;
background: #F6F7F9;
.end-btn { .end-btn {
position: fixed; position: fixed;
@@ -538,7 +542,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-top: 8px; margin-top: 16px;
height: 112px; height: 112px;
padding: 0 32px 0 52px; padding: 0 32px 0 52px;
background: #fff; background: #fff;