diff --git a/src/api/applyregistration/exampartManage/index.ts b/src/api/applyregistration/exampartManage/index.ts index c7bddaaf..1a894b65 100644 --- a/src/api/applyregistration/exampartManage/index.ts +++ b/src/api/applyregistration/exampartManage/index.ts @@ -24,4 +24,8 @@ export const ExampartManageApi = { delete: async (id: any) => { return await request.delete({ url: `/test/exampart/delete?id=` + id }) }, + getexampartlist: async () => { + return await request.get({ url: `/test/exampart/getlist` }) + }, + } diff --git a/src/views/system/doctor/Form.vue b/src/views/system/doctor/Form.vue index ef420e72..642f14bc 100644 --- a/src/views/system/doctor/Form.vue +++ b/src/views/system/doctor/Form.vue @@ -29,7 +29,12 @@ - + @@ -90,12 +95,13 @@ import { Api, VO, baseFile } from '@/api/system/doctor' import { error } from 'console' import type { UploadProps, UploadUserFile } from 'element-plus' import { OrgApi } from '@/api/system/org' - +import { DepartmentApi } from '@/api/system/department' //存放base64 const imageBase64 = ref() //存放要上传的文件名称 const imagefilename = ref() - +//科室数据 +const fordepartementData = ref([]) /** 医生管理 表单 */ defineOptions({ name: 'Form' }) //机构数据 @@ -138,7 +144,8 @@ const open = async (type: string, id?: number) => { resetForm() // 获取机构字典数据 fororglistData.value=await OrgApi.getOrglist() - + //科室字典 + fordepartementData.value = await DepartmentApi.getDepartmentList() // 修改时,设置数据 if (id) { formLoading.value = true diff --git a/src/views/system/examitems/examitemsForm.vue b/src/views/system/examitems/examitemsForm.vue index ec9d94a9..07de925a 100644 --- a/src/views/system/examitems/examitemsForm.vue +++ b/src/views/system/examitems/examitemsForm.vue @@ -40,7 +40,14 @@ /> - + + + @@ -84,12 +91,14 @@