Merge branch 'feat/cprj-146' of https://github.com/dikstub-rssa/simrs-fe into feat/cprj-146
This commit is contained in:
@@ -46,6 +46,7 @@ const isLoading = reactive<DataTableLoader>({
|
||||
})
|
||||
|
||||
async function getDiagnoses() {
|
||||
isLoading.isTableLoading = true
|
||||
const resp = await xfetch(`/api/v1/soapi/${recordId}`)
|
||||
if (resp.success) {
|
||||
diagnoses.value = (resp.body as Record<string, any>).data
|
||||
|
||||
@@ -103,7 +103,7 @@ watch(
|
||||
(val) => {
|
||||
if (val) {
|
||||
if (val === 'early-medical-assessment') {
|
||||
typeCode.value = 'early-medic'
|
||||
typeCode.value = 'early'
|
||||
} else if (val === 'rehab-medical-assessment') {
|
||||
typeCode.value = 'early-rehab'
|
||||
} else if (val === 'function-assessment') {
|
||||
|
||||
Reference in New Issue
Block a user