更换字典
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<span :style="{color: /[03]/.test(info.type) ? '#42D784' : '#FF4466'}">{{
|
||||
$dict.getLabel('epidemicMemberType', info.type)
|
||||
$dict.getLabel('epidemicRecentPersonType', info.type)
|
||||
}}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -195,7 +195,7 @@ export default {
|
||||
|
||||
onLoad(query) {
|
||||
this.$loading()
|
||||
this.$dict.load(['epidemicRecentHealth', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicMemberType', 'epidemicRecentTestResult']).then(() => {
|
||||
this.$dict.load(['epidemicRecentHealth', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicRecentPersonType', 'epidemicRecentTestResult']).then(() => {
|
||||
this.getInfo(query.id)
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user