dev
This commit is contained in:
parent
b75d9bd6f6
commit
9d584330dc
|
|
@ -1,295 +1,296 @@
|
||||||
export namespace API {
|
export namespace API {
|
||||||
// 收费模块
|
|
||||||
export namespace Charge {
|
export namespace Charge {
|
||||||
export const Log = {
|
export namespace Log {
|
||||||
list: '/charge/log/list', // 收费记录
|
export const List = 'charge/log/list'//收费记录;
|
||||||
reportWithDays: '/charge/log/reportWithDays', // 每日收费报表
|
export const ReportWithDays = 'charge/log/reportWithDays'//每日收费报表;
|
||||||
listByDatetime: '/charge/log/listByDatetime', // 获取收退费记录
|
export const ListByPatientId = 'charge/log/listByPatientId'//病人付费记录;
|
||||||
listByPatientId: '/charge/log/listByPatientId' // 病人付费记录
|
export const ListByDatetime = 'charge/log/listByDatetime'//获取收退费记录;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const Order = {
|
export namespace Order {
|
||||||
list: '/charge/order/list', // 查询list 只有订单信息
|
export const List = 'charge/order/list'//查询list 只有订单信息;
|
||||||
save: '/charge/order/save', // 保存收费订单
|
export const Save = 'charge/order/save'//保存收费订单;
|
||||||
complete: '/charge/order/complete', // 完成订单
|
export const Complete = 'charge/order/complete'//完成订单;
|
||||||
refund: '/charge/order/refund', //
|
export const GetPrintInfoByCode = 'charge/order/getPrintInfoByCode'//根据订单号获取订单详情,小票打印用;
|
||||||
getPrintInfoByCode: '/charge/order/getPrintInfoByCode', // 根据订单号获取订单详情,小票打印用
|
export const GetByCode = 'charge/order/getByCode'//根据code查询订单详情;
|
||||||
getByDiagnosisCode: '/charge/order/getByDiagnosisCode', // 根据诊断code和状态获取诊断信息
|
export const Refund = 'charge/order/refund';
|
||||||
getByCode: '/charge/order/getByCode', // 根据code查询订单详情
|
export const ListWithDetail = 'charge/order/listWithDetail'//查询list 带详情;
|
||||||
listWithDetail: '/charge/order/listWithDetail' // 查询list 带详情
|
export const GetByDiagnosisCode = 'charge/order/getByDiagnosisCode'//根据诊断code和状态获取诊断信息;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
export namespace Social {
|
||||||
|
export const PrePay = 'charge/social/prePay'//医保预支付;
|
||||||
|
export const RealPay = 'charge/social/realPay'//医保真实支付;
|
||||||
|
export const Upload = 'charge/social/upload'//医保上传支付明细;
|
||||||
|
}
|
||||||
|
|
||||||
export const Social = {
|
|
||||||
prePay: 'charge/social/prePay', // 医保预支付
|
|
||||||
realPay: 'charge/social/realPay', // 医保真实支付
|
|
||||||
upload: 'charge/social/upload' // 医保上传支付明细
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 通用模块
|
|
||||||
export namespace Common {
|
export namespace Common {
|
||||||
export const Auth = {
|
export namespace Auth {
|
||||||
get: '/common/auth/get', // 获取认证信息
|
export const Get = 'common/auth/get'//获取认证信息;
|
||||||
set: '/common/auth/set', // 设置认证信息
|
export const Set = 'common/auth/set'//设置认证信息;
|
||||||
check: '/common/auth/check' //
|
export const Check = 'common/auth/check';
|
||||||
};
|
}
|
||||||
|
|
||||||
export const Config = {
|
export namespace Config {
|
||||||
get: '/common/config/get', // 根据key获取配置信息
|
export const Get = 'common/config/get'//根据key获取配置信息;
|
||||||
list: '/common/config/list', // 查询配置信息
|
export const List = 'common/config/list'//查询配置信息;
|
||||||
getAll: '/common/config/getAll', // 查询所有配置信息
|
export const GetAll = 'common/config/getAll'//查询所有配置信息;
|
||||||
edit: '/common/config/edit', // 修改配置信息
|
export const SavePrinter = 'common/config/savePrinter'//保存打印机配置;
|
||||||
savePrinter: '/common/config/savePrinter', // 保存打印机配置
|
export const Edit = 'common/config/edit'//修改配置信息;
|
||||||
getPrintConfig: '/common/config/getPrintConfig' // 获取打印机配置
|
export const GetPrintConfig = 'common/config/getPrintConfig'//获取打印机配置;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const Log = {
|
export namespace Log {
|
||||||
list: '/common/log/list' // 查询操作日志
|
export const List = 'common/log/list'//查询操作日志;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const File = {
|
export namespace File {
|
||||||
download: (token: string) => `common/file/download/${token}`, // 下载文件
|
export const GetImage = 'common/file/getImage'//获取图片;
|
||||||
uploadToTemp: 'common/file/uploadToTemp', // 上传临时文件
|
export const Download = 'common/file/download'//下载文件;
|
||||||
upload: 'common/file/upload', // 上传文件
|
export const Upload = 'common/file/upload'//上传文件;
|
||||||
getImage: (fileName: string) => `common/file/getImage/${fileName}` // 获取图片
|
export const UploadToTemp = 'common/file/uploadToTemp'//上传临时文件;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const ManagerUser = {
|
export namespace ManagerUser {
|
||||||
list: '/common/ManagerUser/list', // 所有人员信息
|
export const List = 'common/ManagerUser/list'//所有人员信息;
|
||||||
_data: '/common/ManagerUser/' // 登录
|
export const Verify = 'common/ManagerUser/verify'//验证token;
|
||||||
};
|
export const Login = 'common/ManagerUser/login'//登录;
|
||||||
|
}
|
||||||
|
|
||||||
|
export namespace Sign {
|
||||||
|
export const SignOut = 'common/sign/signOut'//医保签退;
|
||||||
|
export const SignIn = 'common/sign/signIn'//医保签到;
|
||||||
|
}
|
||||||
|
|
||||||
export const Sign = {
|
|
||||||
out: '/common/sign/out', // 医保签退
|
|
||||||
in: '/common/sign/in' // 医保签到
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 诊断模块
|
|
||||||
export namespace Diagnosis {
|
export namespace Diagnosis {
|
||||||
export const Base = {
|
export namespace Base {
|
||||||
save: '/diagnosis/base/save', // 保存诊断
|
export const Save = 'diagnosis/base/save'//保存诊断;
|
||||||
getRegistrationDetail: '/diagnosis/base/getRegistrationDetail', // 获取挂号信息
|
export const GetByDiagnosisCode = 'diagnosis/base/getByDiagnosisCode'//获取诊断信息;
|
||||||
getByDiagnosisCode: '/diagnosis/base/getByDiagnosisCode', // 获取诊断信息
|
export const GetByRegisId = 'diagnosis/base/getByRegisId'//根据挂单号回显病历详情;
|
||||||
ChargeQueueList: '/diagnosis/base/ChargeQueueList', // 获取收费队列
|
export const ChargeQueueList = 'diagnosis/base/ChargeQueueList'//获取收费队列;
|
||||||
listByPatient: '/diagnosis/base/listByPatient', // 查询患者病历
|
export const ListByPatient = 'diagnosis/base/listByPatient'//查询患者病历;
|
||||||
getByRegisId: '/diagnosis/base/getByRegisId' // 根据挂单号回显病历详情
|
export const GetRegistrationDetail = 'diagnosis/base/getRegistrationDetail'//获取挂号信息;
|
||||||
};
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 商品模块
|
|
||||||
export namespace Goods {
|
export namespace Goods {
|
||||||
export const Cate = {
|
export namespace Cate {
|
||||||
list: '/goods/cate/list', // 根据type获取商品二级分类列表
|
export const List = 'goods/cate/list'//根据type获取商品二级分类列表;
|
||||||
save: '/goods/cate/save', // 保存二级分类
|
export const Save = 'goods/cate/save'//保存二级分类;
|
||||||
del: '/goods/cate/del', // 删除二级分类
|
export const Del = 'goods/cate/del'//删除二级分类;
|
||||||
getAllList: '/goods/cate/getAllList' // 获取所有分类
|
export const GetAllList = 'goods/cate/getAllList'//获取所有分类;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
export namespace Base {
|
||||||
|
export const Get = 'goods/base/get'//根据商品id获取商品;
|
||||||
|
export const Save = 'goods/base/save'//商品建档或修改;
|
||||||
|
export const Search = 'goods/base/search'//商品搜索一键建档内的搜索;
|
||||||
|
export const ReturnInit = 'goods/base/returnInit'//商品重新初始化医保库存;
|
||||||
|
export const DetailWithSearch = 'goods/base/DetailWithSearch'//商品搜索;
|
||||||
|
export const EnableSale = 'goods/base/enableSale'//起售商品;
|
||||||
|
export const DisableSale = 'goods/base/disableSale'//停售商品;
|
||||||
|
export const AddIdCode = 'goods/base/addIdCode'//商品添加标识码;
|
||||||
|
export const GetByCateId = 'goods/base/getByCateId'//获取二级分类绑定的商品数量;
|
||||||
|
}
|
||||||
|
|
||||||
export const Base = {
|
|
||||||
get: '/goods/base/get', // 根据商品id获取商品
|
|
||||||
save: '/goods/base/save', // 商品建档或修改
|
|
||||||
search: '/goods/base/search', // 商品搜索一键建档内的搜索
|
|
||||||
disableSale: '/goods/base/disableSale', // 停售商品
|
|
||||||
addIdCode: '/goods/base/addIdCode', // 商品添加标识码
|
|
||||||
enableSale: '/goods/base/enableSale', // 起售商品
|
|
||||||
returnInit: '/goods/base/returnInit', // 商品重新初始化医保库存
|
|
||||||
getByCateId: '/goods/base/getByCateId', // 获取二级分类绑定的商品数量
|
|
||||||
DetailWithSearch: '/goods/base/DetailWithSearch' // 商品搜索
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 库存模块
|
|
||||||
export namespace Inventory {
|
export namespace Inventory {
|
||||||
export const Apply = {
|
export namespace Apply {
|
||||||
list: '/inventory/apply/list', // 分页查询领用单
|
export const List = 'inventory/apply/list'//分页查询领用单;
|
||||||
create: '/inventory/apply/create', // 创建领用单并领用
|
export const Create = 'inventory/apply/create'//创建领用单并领用;
|
||||||
getDetail: '/inventory/apply/getDetail' // 获取领用单详情
|
export const GetDetail = 'inventory/apply/getDetail'//获取领用单详情;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const Check = {
|
export namespace Check {
|
||||||
list: '/inventory/check/list', // 盘点列表分页查询
|
export const List = 'inventory/check/list'//盘点列表分页查询;
|
||||||
save: '/inventory/check/save', // 保存盘点记录
|
export const Save = 'inventory/check/save'//保存盘点记录;
|
||||||
getDetail: '/inventory/check/getDetail' // 获取盘点单详情
|
export const GetDetail = 'inventory/check/getDetail'//获取盘点单详情;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const Goods = {
|
export namespace Goods {
|
||||||
log: '/inventory/goods/log', // 获取库存日志
|
export const Log = 'inventory/goods/log'//获取库存日志;
|
||||||
update: '/inventory/goods/update', // 修改库存采购信息
|
export const Update = 'inventory/goods/update'//修改库存采购信息;
|
||||||
listByIds: '/inventory/goods/listByIds', // 根据库存id集合获取库存信息
|
export const Statistics = 'inventory/goods/statistics'//库存统计;
|
||||||
statistics: '/inventory/goods/statistics', // 库存统计
|
export const GetByGoodsId = 'inventory/goods/getByGoodsId'//获取商品库存信息 根据goodsId;
|
||||||
getByGoodsId: '/inventory/goods/getByGoodsId', // 获取商品库存信息 根据goodsId
|
export const ListByOrderCode = 'inventory/goods/listByOrderCode'//获取采购单信息 根据code;
|
||||||
listByGoodsId: '/inventory/goods/listByGoodsId', // 获取商品库存信息 根据goodsId
|
export const ListByIds = 'inventory/goods/listByIds'//根据库存id集合获取库存信息;
|
||||||
listByOrderCode: '/inventory/goods/listByOrderCode' // 获取采购单信息 根据code
|
export const ListByGoodsId = 'inventory/goods/listByGoodsId'//获取商品库存信息 根据goodsId;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const Order = {
|
export namespace Order {
|
||||||
update: '/inventory/order/update', // 更新采购单基本信息
|
export const Update = 'inventory/order/update'//更新采购单基本信息;
|
||||||
list: '/inventory/order/list', // 分页查询采购单
|
export const List = 'inventory/order/list'//分页查询采购单;
|
||||||
create: '/inventory/order/create', // 创建采购单
|
export const Create = 'inventory/order/create'//创建采购单;
|
||||||
detail: '/inventory/order/detail', // 获取采购单详情
|
export const Refund = 'inventory/order/refund'//采购单退货;
|
||||||
refund: '/inventory/order/refund', // 采购单退货
|
export const Detail = 'inventory/order/detail'//获取采购单详情;
|
||||||
toExcel: '/inventory/order/toExcel', // 采购一键导入,生成excel
|
export const ToExcel = 'inventory/order/toExcel'//采购一键导入,生成excel;
|
||||||
fromExcel: '/inventory/order/fromExcel', // 采购一键导入,解析excel
|
export const FromExcel = 'inventory/order/fromExcel'//采购一键导入,解析excel;
|
||||||
addGoods: '/inventory/order/addGoods' // 采购单修改时 添加采购的商品
|
export const AddGoods = 'inventory/order/addGoods'//采购单修改时 添加采购的商品;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
export namespace Supplier {
|
||||||
|
export const List = 'inventory/supplier/list'//分页查询供货商;
|
||||||
|
export const Save = 'inventory/supplier/save'//保存供货商;
|
||||||
|
}
|
||||||
|
|
||||||
export const Supplier = {
|
|
||||||
list: '/inventory/supplier/list', // 分页查询供货商
|
|
||||||
save: '/inventory/supplier/save' // 保存供货商
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 项目模块
|
|
||||||
export namespace Item {
|
export namespace Item {
|
||||||
export const get = '/item/get'; // 获取项目详情
|
export const Get = 'item/get'//获取项目详情;
|
||||||
export const search = '/item/search'; // 搜索项目
|
export const Search = 'item/search'//搜索项目;
|
||||||
export const del = '/item/del'; // 删除项目
|
export const Del = 'item/del'//删除项目;
|
||||||
export const list = '/item/list'; // 获取非组套列表
|
export const Edit = 'item/edit'//修改项目;
|
||||||
export const deleteGroup = '/item/deleteGroup'; // 删除组套
|
export const GroupList = 'item/groupList'//获取组套列表;
|
||||||
export const edit = '/item/edit'; // 修改项目
|
export const GetGroup = 'item/getGroup'//获取组套;
|
||||||
export const groupList = '/item/groupList'; // 获取组套列表
|
export const Add = 'item/add'//添加项目;
|
||||||
export const add = '/item/add'; // 添加项目
|
export const DeleteGroup = 'item/deleteGroup'//删除组套;
|
||||||
export const getGroup = '/item/getGroup'; // 获取组套
|
export const SaveGroup = 'item/saveGroup'//保存组套;
|
||||||
export const saveGroup = '/item/saveGroup'; // 保存组套
|
export const List = 'item/list'//获取非组套列表;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 组织模块
|
|
||||||
export namespace Organization {
|
export namespace Organization {
|
||||||
export const Member = {
|
export namespace Member {
|
||||||
get: '/organization/member/get', // 获取成员信息
|
export const Get = 'organization/member/get'//获取成员信息;
|
||||||
list: '/organization/member/list', // 分页查询成员列表
|
export const List = 'organization/member/list'//分页查询成员列表;
|
||||||
save: '/organization/member/save', // 保存成员信息
|
export const Save = 'organization/member/save'//保存成员信息;
|
||||||
search: '/organization/member/search', // 搜索成员
|
export const Search = 'organization/member/search'//搜索成员;
|
||||||
del: '/organization/member/del', // 删除成员
|
export const Del = 'organization/member/del'//删除成员;
|
||||||
listBySectionId: '/organization/member/listBySectionId' // 获取当前科室的所有医生
|
export const ListBySectionId = 'organization/member/listBySectionId'//获取当前科室的所有医生;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
export namespace Section {
|
||||||
|
export const Add = 'organization/section/add'//添加科室;
|
||||||
|
export const Get = 'organization/section/get'//获取科室信息;
|
||||||
|
export const List = 'organization/section/list';
|
||||||
|
export const AllList = 'organization/section/allList'//获取所有科室;
|
||||||
|
export const Del = 'organization/section/del'//删除科室;
|
||||||
|
export const Edit = 'organization/section/edit'//修改科室信息;
|
||||||
|
export const ListByMemberId = 'organization/section/listByMemberId'//获取当前成员的所属科室;
|
||||||
|
}
|
||||||
|
|
||||||
export const Section = {
|
|
||||||
add: '/organization/section/add', // 添加科室
|
|
||||||
get: '/organization/section/get', // 获取科室信息
|
|
||||||
list: '/organization/section/list', //
|
|
||||||
allList: '/organization/section/allList', // 获取所有科室
|
|
||||||
del: '/organization/section/del', // 删除科室
|
|
||||||
edit: '/organization/section/edit', // 修改科室信息
|
|
||||||
listByMemberId: '/organization/section/listByMemberId' // 获取当前成员的所属科室
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 患者模块
|
|
||||||
export namespace Patient {
|
export namespace Patient {
|
||||||
export const Base = {
|
export namespace Base {
|
||||||
get: '/patient/base/get', // 获取患者信息
|
export const Get = 'patient/base/get'//获取患者信息;
|
||||||
update: '/patient/base/update', // 修改患者信息
|
export const Update = 'patient/base/update'//修改患者信息;
|
||||||
create: '/patient/base/create', // 创建患者
|
export const Create = 'patient/base/create'//创建患者;
|
||||||
search: '/patient/base/search', // 搜索患者
|
export const Search = 'patient/base/search'//搜索患者;
|
||||||
del: '/patient/base/del', // 删除患者
|
export const Del = 'patient/base/del'//删除患者;
|
||||||
changeLevel: '/patient/base/changeLevel', // 改变会员等级
|
export const List = 'patient/base/list'//分页查询患者列表;
|
||||||
list: '/patient/base/list' // 分页查询患者列表
|
export const ChangeLevel = 'patient/base/changeLevel'//改变会员等级;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const Integral = {
|
export namespace Integral {
|
||||||
add: '/patient/integral/add', // 添加会员积分
|
export const Add = 'patient/integral/add'//添加会员积分;
|
||||||
list: '/patient/integral/list' // 分页查询会员积分记录
|
export const List = 'patient/integral/list'//分页查询会员积分记录;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const LevelConfig = {
|
export namespace LevelConfig {
|
||||||
get: '/patient/levelConfig/get', // 根据leveId获取会员等级配置
|
export const Get = 'patient/levelConfig/get'//根据leveId获取会员等级配置;
|
||||||
save: '/patient/levelConfig/save', // 保存会员等级配置
|
export const Save = 'patient/levelConfig/save'//保存会员等级配置;
|
||||||
create: '/patient/levelConfig/create', // 新增会员等级配置
|
export const Create = 'patient/levelConfig/create'//新增会员等级配置;
|
||||||
del: '/patient/levelConfig/del', // 删除一个会员等级配置
|
export const Del = 'patient/levelConfig/del'//删除一个会员等级配置;
|
||||||
edit: '/patient/levelConfig/edit', // 修改会员等级配置
|
export const Edit = 'patient/levelConfig/edit'//修改会员等级配置;
|
||||||
list: '/patient/levelConfig/list' // 分页查询会员等级配置
|
export const List = 'patient/levelConfig/list'//分页查询会员等级配置;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
export namespace Registration {
|
||||||
|
export const Add = 'patient/registration/add'//挂号;
|
||||||
|
export const Get = 'patient/registration/get'//获取挂号信息 根据挂号id;
|
||||||
|
export const List = 'patient/registration/list'//分页查询挂号列表;
|
||||||
|
export const Cancel = 'patient/registration/cancel'//取消挂号;
|
||||||
|
export const AllList = 'patient/registration/allList'//获取挂号信息列表;
|
||||||
|
export const Del = 'patient/registration/del'//删除挂号信息;
|
||||||
|
export const Edit = 'patient/registration/edit'//修改挂号信息;
|
||||||
|
export const ListByType = 'patient/registration/listByType'//挂号信息分页搜索;
|
||||||
|
export const ChangeStatus = 'patient/registration/changeStatus'//更改挂号单状态;
|
||||||
|
export const GetWithPatient = 'patient/registration/getWithPatient'//根据id返回挂号详细信息 包含患者信息;
|
||||||
|
}
|
||||||
|
|
||||||
export const Registration = {
|
|
||||||
add: '/patient/registration/add', // 挂号
|
|
||||||
get: '/patient/registration/get', // 获取挂号信息 根据挂号id
|
|
||||||
list: '/patient/registration/list', // 分页查询挂号列表
|
|
||||||
cancel: '/patient/registration/cancel', // 取消挂号
|
|
||||||
allList: '/patient/registration/allList', // 获取挂号信息列表
|
|
||||||
del: '/patient/registration/del', // 删除挂号信息
|
|
||||||
changeStatus: '/patient/registration/changeStatus', // 更改挂号单状态
|
|
||||||
getWithPatient: '/patient/registration/getWithPatient', // 根据id返回挂号详细信息 包含患者信息
|
|
||||||
edit: '/patient/registration/edit', // 修改挂号信息
|
|
||||||
listByType: '/patient/registration/listByType' // 挂号信息分页搜索
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 社保模块
|
|
||||||
export namespace Social {
|
export namespace Social {
|
||||||
export const Recipe = {
|
export namespace Recipe {
|
||||||
download: '/social/recipe/download' // 下载中药颗粒
|
export const Download = 'social/recipe/download'//下载中药颗粒;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const Disease = {
|
export namespace Disease {
|
||||||
download: '/social/disease/download' //
|
export const Download = 'social/disease/download';
|
||||||
};
|
}
|
||||||
|
|
||||||
export const Diagnose = {
|
export namespace Diagnose {
|
||||||
search: '/social/diagnose/search' // 诊断搜索
|
export const Search = 'social/diagnose/search'//诊断搜索;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const Directory = {
|
export namespace Directory {
|
||||||
search: '/social/directory/search', // 搜索目录信息
|
export const Search = 'social/directory/search'//搜索目录信息;
|
||||||
_data: '/social/directory/', // 同步到MongoDB
|
export const GetByCode = 'social/directory/getByCode'//根据医保码,获取医保商品信息;
|
||||||
getByCode: '/social/directory/getByCode', // 根据医保码,获取医保商品信息
|
export const Download = 'social/directory/download'//下载目录;
|
||||||
searchProducer: '/social/directory/searchProducer', // 搜索企业信息
|
export const SearchProducer = 'social/directory/searchProducer'//搜索企业信息;
|
||||||
get_doc_list: '/social/directory/get_doc_list', // 获取目录列表
|
export const Column_list = 'social/directory/column_list'//获取目录列 列表;
|
||||||
itemSearch: '/social/directory/itemSearch', // 服务项目搜索
|
export const GetItemByCode = 'social/directory/getItemByCode'//根据医保码,获取医保服务项目信息;
|
||||||
column_list: '/social/directory/column_list', // 获取目录列 列表
|
export const ItemSearch = 'social/directory/itemSearch'//服务项目搜索;
|
||||||
getItemByCode: '/social/directory/getItemByCode' // 根据医保码,获取医保服务项目信息
|
export const Get_doc_list = 'social/directory/get_doc_list'//获取目录列表;
|
||||||
};
|
export const SyncToMongo = 'social/directory/syncToMongo'//同步到MongoDB;
|
||||||
|
}
|
||||||
|
|
||||||
export const DirectoryLimit = {
|
export namespace Directory_limit {
|
||||||
get_page: '/social/directory_limit/get_page' // 分页查询目录限制信息
|
export const Get_page = 'social/directory_limit/get_page'//分页查询目录限制信息;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const DirectorySelf = {
|
export namespace Directory_self {
|
||||||
get_page: '/social/directory_self/get_page' // 分页查询自付比例信息
|
export const Get_page = 'social/directory_self/get_page'//分页查询自付比例信息;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const DirectoryUpinfo = {
|
export namespace Directory_upinfo {
|
||||||
get_page: '/social/directory_upinfo/get_page' // 分页查询更新信息
|
export const Get_page = 'social/directory_upinfo/get_page'//分页查询更新信息;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const DirectoryVersion = {
|
export namespace Directory_version {
|
||||||
list: '/social/directory_version/list', // 获取医保目录版本列表
|
export const List = 'social/directory_version/list'//获取医保目录版本列表;
|
||||||
get_current: '/social/directory_version/get_current' // 获取当前医保目录版本
|
export const Get_current = 'social/directory_version/get_current'//获取当前医保目录版本;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const Person = {
|
export namespace Person {
|
||||||
getCustomSocialInfo: '/social/person/getCustomSocialInfo', // 获取社保人员信息
|
export const GetCustomSocialInfo = 'social/person/getCustomSocialInfo'//获取社保人员信息;
|
||||||
getSocialInfoByPsnNo: '/social/person/getSocialInfoByPsnNo' // 根据社保人员编号获取医保人员信息 redis
|
export const GetSocialInfoByPsnNo = 'social/person/getSocialInfoByPsnNo'//根据社保人员编号获取医保人员信息 redis;
|
||||||
};
|
}
|
||||||
|
|
||||||
export const Reconciliation = {
|
export namespace Reconciliation {
|
||||||
list: '/social/reconciliation/list', // 医保-对账列表
|
export const List = 'social/reconciliation/list'//医保-对账列表;
|
||||||
doDetail: '/social/reconciliation/doDetail', // 明细对账
|
export const DoTotal = 'social/reconciliation/doTotal'//对总账;
|
||||||
doTotal: '/social/reconciliation/doTotal', // 对总账
|
export const HistoryList = 'social/reconciliation/historyList'//自动对账历史记录列表;
|
||||||
reversal: '/social/reconciliation/reversal', // 冲正
|
export const Reversal = 'social/reconciliation/reversal'//冲正;
|
||||||
historyList: '/social/reconciliation/historyList' // 自动对账历史记录列表
|
export const DoDetail = 'social/reconciliation/doDetail'//明细对账;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
export namespace Upload {
|
||||||
|
export const Get3501List = 'social/upload/get3501List'//分页查询 商品初始化数据;
|
||||||
|
export const Get3502List = 'social/upload/get3502List'//分页查询 商品库存变更记录;
|
||||||
|
export const Get3505List = 'social/upload/get3505List'//获取3505列表;
|
||||||
|
export const QuickUpload = 'social/upload/quickUpload'//进销存一键上报接口;
|
||||||
|
export const Get3503List = 'social/upload/get3503List'//分页查询 库存采购数据;
|
||||||
|
export const GetNotDoNumber = 'social/upload/getNotDoNumber'//获取进销存 3501-3506 未上报数量;
|
||||||
|
}
|
||||||
|
|
||||||
export const Upload = {
|
|
||||||
getNotDoNumber: '/social/upload/getNotDoNumber', // 获取进销存 3501-3506 未上报数量
|
|
||||||
get3503List: '/social/upload/get3503List', // 分页查询 库存采购数据
|
|
||||||
get3501List: '/social/upload/get3501List', // 分页查询 商品初始化数据
|
|
||||||
get3502List: '/social/upload/get3502List', // 分页查询 商品库存变更记录
|
|
||||||
get3505List: '/social/upload/get3505List', // 获取3505列表
|
|
||||||
quickUpload: '/social/upload/quickUpload' // 进销存一键上报接口
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 统计模块
|
|
||||||
export namespace Statistics {
|
export namespace Statistics {
|
||||||
export const getSalesVolumeOverview = '/statistics/getSalesVolumeOverview'; // 销售人次趋势
|
export const GetSalesVolumeOverview = 'statistics/getSalesVolumeOverview'//销售人次趋势;
|
||||||
export const numberEarlyWarning = '/statistics/numberEarlyWarning'; // 库存预警
|
export const ExpiryDateWarning = 'statistics/expiryDateWarning'//有效期预警;
|
||||||
export const goodsStatistics = '/statistics/goodsStatistics'; // 商品统计
|
export const GoodsStatistics = 'statistics/goodsStatistics'//商品统计;
|
||||||
export const expiryDateWarning = '/statistics/expiryDateWarning'; // 有效期预警
|
export const NumberEarlyWarning = 'statistics/numberEarlyWarning'//库存预警;
|
||||||
export const getRevenueOverview = '/statistics/getRevenueOverview'; // 营收概况
|
export const GetRevenueOverview = 'statistics/getRevenueOverview'//营收概况;
|
||||||
export const getPayOverview = '/statistics/getPayOverview'; // 经营概况
|
export const SalePerson = 'statistics/salePerson'//销售人员统计;
|
||||||
export const salePerson = '/statistics/salePerson'; // 销售人员统计
|
export const GetQueueCount = 'statistics/getQueueCount'//获取收费队列 就诊队列数量;
|
||||||
export const getQueueCount = '/statistics/getQueueCount'; // 获取收费队列 就诊队列数量
|
export const GetPayOverview = 'statistics/getPayOverview'//经营概况;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ import Auth from "@/components/manger/Auth.vue";
|
||||||
import {apiConfig} from "@/assets/config/apiConfig";
|
import {apiConfig} from "@/assets/config/apiConfig";
|
||||||
import type {Request, Response} from "@/utils/ws.ts";
|
import type {Request, Response} from "@/utils/ws.ts";
|
||||||
import {useWsStore} from "@/stores/wsStore.ts";
|
import {useWsStore} from "@/stores/wsStore.ts";
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
const username = ref('')
|
const username = ref('')
|
||||||
const password = ref('')
|
const password = ref('')
|
||||||
|
|
@ -40,7 +41,7 @@ const handleLogin = async () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const loginCore=async ()=>{
|
const loginCore=async ()=>{
|
||||||
let token:any=await post(apiConfig.ManagerUserLogin, {username: username.value, password: password.value},{catch_error: true})
|
let token:any=await post(API.Common.ManagerUser.Login, {username: username.value, password: password.value},{catch_error: true})
|
||||||
localStorage.setItem('token', token)
|
localStorage.setItem('token', token)
|
||||||
try{
|
try{
|
||||||
await post(apiConfig.signIn, {mac: netWork.value.mac, ip: netWork.value.ip}, {catch_error: true})
|
await post(apiConfig.signIn, {mac: netWork.value.mac, ip: netWork.value.ip}, {catch_error: true})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue