更换字典

This commit is contained in:
shijingjing
2022-08-24 15:59:10 +08:00
parent efc9714abb
commit 9894cecb74

View File

@@ -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)
}) })
}, },