From d5ef3977436d9774226cd9fd0eaef1bb73732258 Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Wed, 31 Jul 2024 10:59:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=A3=80=E6=9F=A5=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=AD=97=E5=85=B8=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/examitems/index.ts | 5 +++++ src/views/system/examitems/index.vue | 2 ++ 2 files changed, 7 insertions(+) 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 }