This commit is contained in:
liuye
2022-04-20 16:18:05 +08:00
parent 057cfc7656
commit e4a7065e85

View File

@@ -1,5 +1,9 @@
<template>
<div class="detail">
<div class="flex mar-b16">
<div class="label">审核状态</div>
<div class="value" :class="`status${form.status}`">{{$dict.getLabel('partyFourLinkageStatus', form.status)}}</div>
</div>
<div class="flex mar-b16">
<div class="label">党员信息</div>
<div class="value">{{form.partyName}}</div>
@@ -44,7 +48,9 @@ export default {
},
onLoad(option) {
this.id = option.id
this.getDetail()
this.$dict.load('partyFourLinkageStatus').then(() => {
this.getDetail()
})
uni.$on('reload', () => {
this.getDetail()
})
@@ -134,6 +140,15 @@ export default {
color: #fff;
}
}
.status0{
color: #FF883C;
}
.status1{
color: #2EA222;
}
.status2{
color: #F46;
}
}
</style>