增加检查项目字典接口
This commit is contained in:
parent
f1d586c0cf
commit
d5ef397743
@ -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 })
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user