动态心电模块上传时候更新报告状态
This commit is contained in:
parent
f865e40dfe
commit
9f99f7094b
@ -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) => {
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user