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