fix: 自测bug修复。

This commit is contained in:
tianyongbao
2025-01-04 16:23:34 +08:00
parent 56b4223daa
commit 28ba06cb52
2 changed files with 5 additions and 0 deletions

View File

@@ -199,6 +199,7 @@ function getData() {
form.value = res.data
// 就医类型
getDicts('doctor_type').then(result => {
typeList.value =[result.data]
form.value.typeName=dictStr(form.value.type, result.data)
})
})

View File

@@ -221,18 +221,22 @@ function getData() {
form.value = res.data
form.value.medicalName=form.value.name
getDicts('mar_place').then(result => {
placeList.value =[result.data]
form.value.placeName=dictStr(form.value.place, result.data)
})
// 药品来源
getDicts('mar_resource').then(result => {
resourceList.value =[result.data]
form.value.resourceName=dictStr(form.value.resource, result.data)
})
// 药品来源
getDicts('medical_unit').then(result => {
unitList.value =[result.data]
form.value.unitName=dictStr(form.value.unit, result.data)
})
// 用药类型
getDicts('mar_type').then(result => {
marTypeList.value =[result.data]
form.value.marTypeName=dictStr(form.value.type, result.data)
})
})