动态心电模块上传时候更新报告状态

This commit is contained in:
lxd 2025-07-17 23:21:57 +08:00
parent f865e40dfe
commit 9f99f7094b
2 changed files with 13 additions and 0 deletions

View File

@ -66,6 +66,13 @@ export const ecgdataApi = {
upecgfilename: async (data: any) => {
return await request.put({ url: `/system/ecgdata/upecgfilename`, data })
},
//更新心电图的报告生成状态
upisreportgenerated: async (id: number, isreportgenerated: number) => {
return await request.get({
url:
`/system/ecgdata/upisreportgenerated?id=` + id + '&isreportgenerated=' + isreportgenerated
})
},
// 删除心电图动态数据
deleteecgdata: async (id: number) => {

View File

@ -1382,6 +1382,8 @@ const handleUpload = async (row: any) => {
ElMessage.success('文件上传成功')
if (sipdffile === '存在') {
//
//
await ecgdataApi.upisreportgenerated(row.id, 1)
}
//
getList()
@ -2179,10 +2181,12 @@ onMounted(async () => {
stroke-dasharray: 1, 150;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 90, 150;
stroke-dashoffset: -35;
}
100% {
stroke-dasharray: 90, 150;
stroke-dashoffset: -124;
@ -2275,12 +2279,14 @@ onMounted(async () => {
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(64, 158, 255, 0.12);
}
&.is-active,
&[aria-pressed='true'] {
border-color: #409eff;
background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
color: #1a73e8;
}
.drive-label {
font-size: 22px;
font-weight: bold;