diff --git a/src/api/system/examitems/index.ts b/src/api/system/examitems/index.ts index 56031c16..5f94a4a4 100644 --- a/src/api/system/examitems/index.ts +++ b/src/api/system/examitems/index.ts @@ -29,6 +29,11 @@ export const examitemsApi = { return await request.get({ url: `/examitems/examitems/get?id=` + id }) }, + // 查询检查部位集合 + getexamitemslist: async () => { + return await request.get({ url: `/examitems/examitems/getlist`}) + }, + // 新增检查部位 createexamitems: async (data: examitemsVO) => { return await request.post({ url: `/examitems/examitems/create`, data }) diff --git a/src/views/system/examitems/index.vue b/src/views/system/examitems/index.vue index baf080f3..28e3ad63 100644 --- a/src/views/system/examitems/index.vue +++ b/src/views/system/examitems/index.vue @@ -153,6 +153,8 @@ const getList = async () => { const data = await examitemsApi.getexamitemsPage(queryParams) list.value = data.list total.value = data.total + const da= await examitemsApi.getexamitemslist() + console.log(da) } finally { loading.value = false }