新增科室录入菜单,科室录入界面相关,增加科室录入信息相关接口文件

This commit is contained in:
Euni4U 2025-02-20 16:04:58 +08:00
parent 071f4eb48a
commit 7d73323383
5 changed files with 3002 additions and 1 deletions

View File

@ -0,0 +1,59 @@
import request from '@/config/axios'
// 患者信息 VO
export interface PatientVO {
id: number // 主键
medicalSn: string // 体检编号
pname: string // 患者姓名
gender: string // 性别
birthday: Date // 出生日期
cardType: string // 证件类型
cardId: string // 证件ID
nationality: string // 国籍
nation: string // 民族
race: string // 人种
phoneNum: string // 电话
status: number // 0患者登记1:已检查2放弃3挂起择日检4已汇总5终检审核6报告已取
reportType: string // 0电子报告 1个人自取 2公司自取 3邮寄
createTime: Date // 信息创建日期
medicalDateTime: Date // 体检登记日期 体检日期
chargeType: string // 收费方式:现金 微信 刷卡 支票 免费等,从字典表里取
totalPrice: number // 实际收款金额
headPicUrl: string // 头像图片路径
summaryResult: string // 汇总分析结果
auditor: string // 审核人
auditorTime: Date // 审核时间
}
// 患者信息 API
export const PatientApi = {
// 查询患者信息分页
getPatientPage: async (params: any) => {
return await request.get({ url: `/inspect/patient/page`, params })
},
// 查询患者信息详情
getPatient: async (id: number) => {
return await request.get({ url: `/inspect/patient/get?id=` + id })
},
// 新增患者信息
createPatient: async (data: PatientVO) => {
return await request.post({ url: `/inspect/patient/create`, data })
},
// 修改患者信息
updatePatient: async (data: PatientVO) => {
return await request.put({ url: `/inspect/patient/update`, data })
},
// 删除患者信息
deletePatient: async (id: number) => {
return await request.delete({ url: `/inspect/patient/delete?id=` + id })
},
// 导出患者信息 Excel
exportPatient: async (params) => {
return await request.download({ url: `/inspect/patient/export-excel`, params })
},
}

View File

@ -0,0 +1,65 @@
import request from '@/config/axios'
// 患者体检项目 VO
export interface PatientitemsVO {
id: number // 主键
medicalSn: string // 体检编号
itemName: string // 检查项目名称
itemCode: string // 项目代号
price: number // 项目单价
discountedPrice: number // 折扣价
discounted: number // 折扣 百分比
sectionID: string // 科室ID
examDescription: string // 检查所见
itemResult: string // 检查结论
unit: string // 项目单位
highValue: number // 取值上限
lowValue: number // 取值下限
itemStatus: string // 0未检 1已检 2放弃 3挂起择日检(待查)
createTime: Date // 创建时间
positive: string // 是否阳性 1阳性
inspectdoctor: string // 检查医生
inspecttime: Date // 检查时间
}
// 患者体检项目 API
export const PatientitemsApi = {
// 查询患者体检项目分页
getPatientitemsPage: async (params: any) => {
return await request.get({ url: `/Inspect/patientitems/page`, params })
},
// 查询患者体检项目详情
getPatientitems: async (id: number) => {
return await request.get({ url: `/Inspect/patientitems/get?id=` + id })
},
// 新增患者体检项目
createPatientitems: async (data: PatientitemsVO) => {
return await request.post({ url: `/Inspect/patientitems/create`, data })
},
//批量新增患者体检项目
createPatientitemsBatch: async (data: PatientitemsVO[]) => {
return await request.post({ url: `/Inspect/patientitems/batchcreate`, data })
},
// 修改患者体检项目
updatePatientitems: async (data: PatientitemsVO) => {
return await request.put({ url: `/Inspect/patientitems/update`, data })
},
//批量修改患者体检项目
updatePatientitemsBatch: async (data: PatientitemsVO[]) => {
return await request.put({ url: `/Inspect/patientitems/batchupdate`, data })
},
// 删除患者体检项目
deletePatientitems: async (id: number) => {
return await request.delete({ url: `/Inspect/patientitems/delete?id=` + id })
},
// 导出患者体检项目 Excel
exportPatientitems: async (params) => {
return await request.download({ url: `/Inspect/patientitems/export-excel`, params })
},
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@
<div class="search-input">
<el-input
v-model="searchKeyword"
placeholder="请输入关键字"
placeholder="请输入套餐名称"
:prefix-icon="Search"
@input="handleSearch"
/>