This commit is contained in:
liuye
2023-05-12 11:03:42 +08:00
parent 61e513f45b
commit b2ee7fafac

View File

@@ -47,8 +47,8 @@
<u-gap height="48"/> <u-gap height="48"/>
</AiStep> </AiStep>
</AiGroup> </AiGroup>
<AiEvaluation v-if="currentTab=='1'" :bid="info.id" type="show"/> <AiEvaluation v-if="currentTab=='1' && showEvaluation" :bid="info.id" type="show"/>
<AiEvaluation v-if="info.eventStatus > 1" v-model="evaluation" class="fixed-bottom bg-fff" :bid="info.id"> <AiEvaluation v-if="info.eventStatus > 1 && showEvaluation" v-model="evaluation" class="fixed-bottom bg-fff" :bid="info.id">
<div class="bottomBtn">去评价</div> <div class="bottomBtn">去评价</div>
</AiEvaluation> </AiEvaluation>
</div> </div>
@@ -64,6 +64,7 @@ export default {
currentTab: 0, currentTab: 0,
evaluation: {}, evaluation: {},
id: '', id: '',
showEvaluation: false
// tabList: [{name:'办理进度'},{name:'我的评价'}] // tabList: [{name:'办理进度'},{name:'我的评价'}]
} }
}, },
@@ -92,11 +93,11 @@ export default {
} }
}, },
onShow() { onShow() {
this.showEvaluation = false
this.getInfo() this.getInfo()
}, },
onLoad(query) { onLoad(query) {
this.id = query.id this.id = query.id
this.getInfo()
this.$dict.load(['clapEventStatus', 'residentEventSource']) this.$dict.load(['clapEventStatus', 'residentEventSource'])
}, },
methods: { methods: {
@@ -111,6 +112,7 @@ export default {
if (res.data.eventStatus > 1) { if (res.data.eventStatus > 1) {
this.result = res.data.processList[0] this.result = res.data.processList[0]
} }
this.showEvaluation = true
} }
}).finally(() => this.$hideLoading()) }).finally(() => this.$hideLoading())
}, },