增加检查项目字典接口

This commit is contained in:
lxd 2024-07-31 10:59:10 +08:00
parent f1d586c0cf
commit d5ef397743
2 changed files with 7 additions and 0 deletions

View File

@ -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 })

View File

@ -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
}