This commit is contained in:
ChenQiuYu 2025-05-28 13:16:38 +08:00
parent 5aa3206279
commit 5b69488743
2 changed files with 57 additions and 54 deletions

View File

@ -3,25 +3,25 @@ export namespace API {
export namespace Log {
export const List = 'charge/log/list'//收费记录;
export const ReportWithDays = 'charge/log/reportWithDays'//每日收费报表;
export const ListByDatetime = 'charge/log/listByDatetime'//获取收退费记录;
export const ListByPatientId = 'charge/log/listByPatientId'//病人付费记录;
export const ListByDatetime = 'charge/log/listByDatetime'//获取收退费记录;
}
export namespace Order {
export const List = 'charge/order/list'//查询list 只有订单信息;
export const Save = 'charge/order/save'//保存收费订单;
export const Complete = 'charge/order/complete'//完成订单;
export const GetByDiagnosisCode = 'charge/order/getByDiagnosisCode'//根据诊断code和状态获取诊断信息;
export const GetPrintInfoByCode = 'charge/order/getPrintInfoByCode'//根据订单号获取订单详情,小票打印用;
export const ListWithDetail = 'charge/order/listWithDetail'//查询list 带详情;
export const Refund = 'charge/order/refund';
export const GetByCode = 'charge/order/getByCode'//根据code查询订单详情;
export const Refund = 'charge/order/refund';
export const GetPrintInfoByCode = 'charge/order/getPrintInfoByCode'//根据订单号获取订单详情,小票打印用;
export const GetByDiagnosisCode = 'charge/order/getByDiagnosisCode'//根据诊断code和状态获取诊断信息;
}
export namespace Social {
export const PrePay = 'charge/social/prePay'//医保预支付;
export const Upload = 'charge/social/upload'//医保上传支付明细;
export const RealPay = 'charge/social/realPay'//医保真实支付;
export const Upload = 'charge/social/upload'//医保上传支付明细;
}
}
@ -47,9 +47,9 @@ export namespace API {
}
export namespace File {
export const GetImage = 'common/file/getImage'//获取图片;
export const Download = 'common/file/download'//下载文件;
export const Upload = 'common/file/upload'//上传文件;
export const Download = 'common/file/download'//下载文件;
export const GetImage = 'common/file/getImage'//获取图片;
export const UploadToTemp = 'common/file/uploadToTemp'//上传临时文件;
}
@ -69,8 +69,8 @@ export namespace API {
export namespace Diagnosis {
export namespace Base {
export const Save = 'diagnosis/base/save'//保存诊断;
export const GetByDiagnosisCode = 'diagnosis/base/getByDiagnosisCode'//获取诊断信息;
export const GetRegistrationDetail = 'diagnosis/base/getRegistrationDetail'//获取挂号信息;
export const GetByDiagnosisCode = 'diagnosis/base/getByDiagnosisCode'//获取诊断信息;
export const ListByPatient = 'diagnosis/base/listByPatient'//查询患者病历;
export const GetByRegisId = 'diagnosis/base/getByRegisId'//根据挂单号回显病历详情;
export const ChargeQueueList = 'diagnosis/base/ChargeQueueList'//获取收费队列;
@ -81,21 +81,21 @@ export namespace API {
export namespace Goods {
export namespace Cate {
export const List = 'goods/cate/list'//根据type获取商品二级分类列表;
export const Del = 'goods/cate/del'//删除二级分类;
export const Save = 'goods/cate/save'//保存二级分类;
export const Del = 'goods/cate/del'//删除二级分类;
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 Search = 'goods/base/search'//商品搜索一键建档内的搜索;
export const ReturnInit = 'goods/base/returnInit'//商品重新初始化医保库存;
export const AddIdCode = 'goods/base/addIdCode'//商品添加标识码;
export const EnableSale = 'goods/base/enableSale'//起售商品;
export const DetailWithSearch = 'goods/base/DetailWithSearch'//商品搜索;
export const GetByCateId = 'goods/base/getByCateId'//获取二级分类绑定的商品数量;
export const EnableSale = 'goods/base/enableSale'//起售商品;
export const DisableSale = 'goods/base/disableSale'//停售商品;
export const DetailWithSearch = 'goods/base/DetailWithSearch'//商品搜索;
export const AddIdCode = 'goods/base/addIdCode'//商品添加标识码;
}
}
@ -116,11 +116,11 @@ export namespace API {
export namespace Goods {
export const Log = 'inventory/goods/log'//获取库存日志;
export const Update = 'inventory/goods/update'//修改库存采购信息;
export const GetByGoodsId = 'inventory/goods/getByGoodsId'//获取商品库存信息 根据goodsId;
export const ListByOrderCode = 'inventory/goods/listByOrderCode'//获取采购单信息 根据code;
export const ListByGoodsId = 'inventory/goods/listByGoodsId'//获取商品库存信息 根据goodsId;
export const ListByIds = 'inventory/goods/listByIds'//根据库存id集合获取库存信息;
export const Statistics = 'inventory/goods/statistics'//库存统计;
export const ListByGoodsId = 'inventory/goods/listByGoodsId'//获取商品库存信息 根据goodsId;
export const GetByGoodsId = 'inventory/goods/getByGoodsId'//获取商品库存信息 根据goodsId;
export const ListByIds = 'inventory/goods/listByIds'//根据库存id集合获取库存信息;
export const ListByOrderCode = 'inventory/goods/listByOrderCode'//获取采购单信息 根据code;
}
export namespace Order {
@ -129,9 +129,9 @@ export namespace API {
export const Create = 'inventory/order/create'//创建采购单;
export const Detail = 'inventory/order/detail'//获取采购单详情;
export const Refund = 'inventory/order/refund'//采购单退货;
export const AddGoods = 'inventory/order/addGoods'//采购单修改时 添加采购的商品;
export const FromExcel = 'inventory/order/fromExcel'//采购一键导入解析excel;
export const ToExcel = 'inventory/order/toExcel'//采购一键导入生成excel;
export const FromExcel = 'inventory/order/fromExcel'//采购一键导入解析excel;
export const AddGoods = 'inventory/order/addGoods'//采购单修改时 添加采购的商品;
}
export namespace Supplier {
@ -144,15 +144,15 @@ export namespace API {
export namespace Item {
export namespace Base {
export const Get = 'item/base/get'//获取项目详情;
export const Del = 'item/base/del'//删除项目;
export const Search = 'item/base/search'//搜索项目;
export const List = 'item/base/list'//获取非组套列表;
export const DeleteGroup = 'item/base/deleteGroup'//删除组套;
export const Del = 'item/base/del'//删除项目;
export const GetGroup = 'item/base/getGroup'//获取组套;
export const Add = 'item/base/add'//添加项目;
export const Edit = 'item/base/edit'//修改项目;
export const SaveGroup = 'item/base/saveGroup'//保存组套;
export const List = 'item/base/list'//获取非组套列表;
export const GroupList = 'item/base/groupList'//获取组套列表;
export const DeleteGroup = 'item/base/deleteGroup'//删除组套;
export const Edit = 'item/base/edit'//修改项目;
}
}
@ -161,20 +161,20 @@ export namespace API {
export namespace Member {
export const Get = 'organization/member/get'//获取成员信息;
export const List = 'organization/member/list'//分页查询成员列表;
export const Del = 'organization/member/del'//删除成员;
export const Save = 'organization/member/save'//保存成员信息;
export const Search = 'organization/member/search'//搜索成员;
export const Del = 'organization/member/del'//删除成员;
export const ListBySectionId = 'organization/member/listBySectionId'//获取当前科室的所有医生;
}
export namespace Section {
export const Get = 'organization/section/get'//获取科室信息;
export const Add = 'organization/section/add'//添加科室;
export const Get = 'organization/section/get'//获取科室信息;
export const List = 'organization/section/list';
export const Del = 'organization/section/del'//删除科室;
export const AllList = 'organization/section/allList'//获取所有科室;
export const ListByMemberId = 'organization/section/listByMemberId'//获取当前成员的所属科室;
export const Del = 'organization/section/del'//删除科室;
export const Edit = 'organization/section/edit'//修改科室信息;
export const ListByMemberId = 'organization/section/listByMemberId'//获取当前成员的所属科室;
}
}
@ -183,9 +183,9 @@ export namespace API {
export namespace Base {
export const Get = 'patient/base/get'//获取患者信息;
export const Update = 'patient/base/update'//修改患者信息;
export const Del = 'patient/base/del'//删除患者;
export const Create = 'patient/base/create'//创建患者;
export const Search = 'patient/base/search'//搜索患者;
export const Del = 'patient/base/del'//删除患者;
export const ChangeLevel = 'patient/base/changeLevel'//改变会员等级;
export const List = 'patient/base/list'//分页查询患者列表;
}
@ -197,24 +197,24 @@ export namespace API {
export namespace LevelConfig {
export const Get = 'patient/levelConfig/get'//根据leveId获取会员等级配置;
export const Del = 'patient/levelConfig/del'//删除一个会员等级配置;
export const Save = 'patient/levelConfig/save'//保存会员等级配置;
export const Create = 'patient/levelConfig/create'//新增会员等级配置;
export const Del = 'patient/levelConfig/del'//删除一个会员等级配置;
export const Edit = 'patient/levelConfig/edit'//修改会员等级配置;
export const List = 'patient/levelConfig/list'//分页查询会员等级配置;
}
export namespace Registration {
export const Get = 'patient/registration/get'//获取挂号信息 根据挂号id;
export const Add = 'patient/registration/add'//挂号;
export const Get = 'patient/registration/get'//获取挂号信息 根据挂号id;
export const List = 'patient/registration/list'//分页查询挂号列表;
export const Del = 'patient/registration/del'//删除挂号信息;
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 ListByType = 'patient/registration/listByType'//挂号信息分页搜索;
export const Edit = 'patient/registration/edit'//修改挂号信息;
}
}
@ -234,13 +234,14 @@ export namespace API {
export namespace Directory {
export const Search = 'social/directory/search'//搜索目录信息;
export const Get_doc_list = 'social/directory/get_doc_list'//获取目录列表;
export const GetByCode = 'social/directory/getByCode'//根据医保码,获取医保商品信息;
export const Download = 'social/directory/download'//下载目录;
export const GetItemByCode = 'social/directory/getItemByCode'//根据医保码,获取医保服务项目信息;
export const Column_list = 'social/directory/column_list'//获取目录列 列表;
export const _data = 'social/directory'//下载目录;
export const GetByCode = 'social/directory/getByCode'//根据医保码,获取医保商品信息;
export const SearchProducer = 'social/directory/searchProducer'//搜索企业信息;
export const SyncToMongo = 'social/directory/syncToMongo'//同步到MongoDB;
export const ItemSearch = 'social/directory/itemSearch'//服务项目搜索;
export const Get_doc_list = 'social/directory/get_doc_list'//获取目录列表;
}
export namespace Directory_limit {
@ -267,32 +268,32 @@ export namespace API {
export namespace Reconciliation {
export const List = 'social/reconciliation/list'//医保-对账列表;
export const HistoryList = 'social/reconciliation/historyList'//自动对账历史记录列表;
export const DoDetail = 'social/reconciliation/doDetail'//明细对账;
export const DoTotal = 'social/reconciliation/doTotal'//对总账;
export const HistoryList = 'social/reconciliation/historyList'//自动对账历史记录列表;
export const Reversal = 'social/reconciliation/reversal'//冲正;
}
export namespace Upload {
export const Get3501List = 'social/upload/get3501List'//分页查询 商品初始化数据;
export const Get3502List = 'social/upload/get3502List'//分页查询 商品库存变更记录;
export const Get3505List = 'social/upload/get3505List'//获取3505列表;
export const GetNotDoNumber = 'social/upload/getNotDoNumber'//获取进销存 3501-3506 未上报数量;
export const QuickUpload = 'social/upload/quickUpload'//进销存一键上报接口;
export const Get3502List = 'social/upload/get3502List'//分页查询 商品库存变更记录;
export const Get3503List = 'social/upload/get3503List'//分页查询 库存采购数据;
export const QuickUpload = 'social/upload/quickUpload'//进销存一键上报接口;
export const Get3501List = 'social/upload/get3501List'//分页查询 商品初始化数据;
}
}
export namespace Statistics {
export namespace Base {
export const GoodsStatistics = 'statistics/base/goodsStatistics'//商品统计;
export const GetRevenueOverview = 'statistics/base/getRevenueOverview'//营收概况;
export const NumberEarlyWarning = 'statistics/base/numberEarlyWarning'//库存预警;
export const ExpiryDateWarning = 'statistics/base/expiryDateWarning'//有效期预警;
export const GoodsStatistics = 'statistics/base/goodsStatistics'//商品统计;
export const GetRevenueOverview = 'statistics/base/getRevenueOverview'//营收概况;
export const GetPayOverview = 'statistics/base/getPayOverview'//经营概况;
export const GetQueueCount = 'statistics/base/getQueueCount'//获取收费队列 就诊队列数量;
export const SalePerson = 'statistics/base/salePerson'//销售人员统计;
export const GetQueueCount = 'statistics/base/getQueueCount'//获取收费队列 就诊队列数量;
export const GetSalesVolumeOverview = 'statistics/base/getSalesVolumeOverview'//销售人次趋势;
}

View File

@ -75,7 +75,7 @@
unlink-panels
/>
<div class="default-btn startBtn" @click="update1312(1)"
:style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : ''}">
:style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : '',cursor: showBtn ? 'not-allowed' : 'pointer'}">
开始更新
</div>
</div>
@ -85,7 +85,7 @@
{{ tip }}
</div>
<div class="demo-progress">
<el-progress v-if="tip" :stroke-width="30" :percentage="percent"
<el-progress v-if="tip" :text-inside="true" :stroke-width="30" :percentage="percent"
/>
</div>
</div>
@ -104,7 +104,7 @@
unlink-panels
/>
<div class="default-btn startBtn" @click="update1318(1)"
:style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : ''}"
:style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : '',cursor: showBtn ? 'not-allowed' : 'pointer'}"
>
开始更新
</div>
@ -133,7 +133,7 @@
unlink-panels
/>
<div class="default-btn startBtn" @click="update1319(1)"
:style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : ''}">
:style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : '',cursor: showBtn ? 'not-allowed' : 'pointer'}">
开始更新
</div>
</div>
@ -198,7 +198,6 @@ let tableData: any = ref([])
let content: any = ref(null);
const showBtn = ref(false)
const percent = ref(0)
const percentage = ref<any>(0)
let update1312 = (current_page: number) => {
showBtn.value = true
if (current_page == 1) {
@ -212,11 +211,12 @@ let update1312 = (current_page: number) => {
let number = res.number;
if (current_page < pages && isUpdate1312.value) {
current_page++
percent.value = Math.floor((current_page / pages) * 10000)
percent.value = Math.floor((current_page / pages) * 100)
tip.value = "开始更新第:" + current_page + "/" + pages;
update1312(current_page);
} else {
tip.value = "所有更新已完成"
showBtn.value = false
close()
}
@ -311,7 +311,7 @@ const start_type = () => {
})
}
let download = (ver: any, type: any) => {
post(API.Social.Disease.Download, {ver: ver, type: type}).then((res: any) => {
post(API.Social.Directory.Download, {ver: ver, type: type}).then((res: any) => {
if (res == null || res == "") {
UpdateDirectoryLoading.value = false;
ElNotification({
@ -338,8 +338,10 @@ const close = () => {
isUpdate1312.value = false
isUpdate1318.value = false
isUpdate1319.value = false
isSynchronizedCacheBox.value = false
tip.value = ""
percent.value = 100
percent.value = 0
init()
}
const update1318 = (current_page: number) => {
showBtn.value = true
@ -354,7 +356,7 @@ const update1318 = (current_page: number) => {
let number = res.number;
if (current_page < pages && isUpdate1318.value) {
current_page++
percent.value = Math.floor((current_page / pages) * 10000)
percent.value = Math.floor((current_page / pages) * 100)
tip.value = "开始更新第:" + current_page + "/" + pages;
update1318(current_page);
} else {
@ -376,7 +378,7 @@ const update1319 = (current_page: number) => {
let number = res.number;
if (current_page < pages && isUpdate1319.value) {
current_page++
percent.value = Math.floor((current_page / pages) * 10000)
percent.value = Math.floor((current_page / pages) * 100)
tip.value = "开始更新第:" + current_page + "/" + pages;
update1318(current_page);
} else {
@ -392,7 +394,7 @@ const syncCache = () => {
if (syncCachePage.value == 1) {
tip_message.value = "开始同步第1页";
}
post(API.Social.Directory_version.Get_current, {page: syncCachePage.value}).then((res: any) => {
post(API.Social.Directory.SyncToMongo, {page: syncCachePage.value}).then((res: any) => {
if (res.total_page) {
syncCacheTotalPage.value = res.total_page
}