fix: 自测bug修复。
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user