Commit 8e7ebecc authored by 盖献康's avatar 盖献康

bug(67351) - 检查项目下拉框

parent 89b8021a
...@@ -25,6 +25,15 @@ export function listItemByType(query) { ...@@ -25,6 +25,15 @@ export function listItemByType(query) {
}) })
} }
// 根据检查类型(医院自有服务、预约外部服务)查询检查项目 - 检查管理
export function listByTypeUseInCheck(query) {
return request({
url: '/business/item/listByTypeUseInCheck',
method: 'get',
params: query
})
}
// 查询治疗/检查项目管理详细 // 查询治疗/检查项目管理详细
export function getItem(id) { export function getItem(id) {
return request({ return request({
......
...@@ -459,7 +459,7 @@ ...@@ -459,7 +459,7 @@
<script> <script>
import { getManage, delManage, addManage, updateManage, listCheckManage, selectCheckAll } from '@/api/business/manage' import { getManage, delManage, addManage, updateManage, listCheckManage, selectCheckAll } from '@/api/business/manage'
import { deviceUseInSubscribeList, listReservationDevice } from '@/api/business/device' import { deviceUseInSubscribeList, listReservationDevice } from '@/api/business/device'
import { listItemByType, listPlatformItem } from '@/api/business/item' import { listByTypeUseInCheck, listPlatformItem } from '@/api/business/item'
import { parseTime } from '@/utils/ruoyi' import { parseTime } from '@/utils/ruoyi'
import { updateCheck } from '@/api/business/mdeicalRecord' import { updateCheck } from '@/api/business/mdeicalRecord'
import { signHospitalMessage } from '@/api/business/hospital' import { signHospitalMessage } from '@/api/business/hospital'
...@@ -745,7 +745,7 @@ export default { ...@@ -745,7 +745,7 @@ export default {
}, },
// 根据检查类型(医院自有服务、预约外部服务)查询检查项目 // 根据检查类型(医院自有服务、预约外部服务)查询检查项目
getItemByType(itemType) { getItemByType(itemType) {
listItemByType({ itemType: itemType }).then(res => { listByTypeUseInCheck({ itemType: itemType }).then(res => {
this.checkItemOptions = res.rows this.checkItemOptions = res.rows
if (this.checkItemOptions.length > 0) { if (this.checkItemOptions.length > 0) {
this.checkItemOptions.unshift({ id: '', name: '全部' }) this.checkItemOptions.unshift({ id: '', name: '全部' })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment