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