修改心电审核逻辑
This commit is contained in:
parent
b1b4d0a63b
commit
def2e553a4
@ -88,10 +88,9 @@ export const PatientexamlistApi = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// 超声审核
|
// 超声审核
|
||||||
examine: async (id: String) => {
|
examine: async (id: String, doctorname: string, doctorid: string) => {
|
||||||
return await request.get({ url: `/tblist/patientexamlist/examine?id=` + id })
|
return await request.get({ url: `/tblist/patientexamlist/examine?id=${id}&doctorname=${doctorname}&doctorid=${doctorid}` })
|
||||||
},
|
},
|
||||||
|
|
||||||
// dicom数据同步
|
// dicom数据同步
|
||||||
dicomDataSync: async () => {
|
dicomDataSync: async () => {
|
||||||
return await request.get({ url: `/tblist/patientexamlist/dicomDataSync` })
|
return await request.get({ url: `/tblist/patientexamlist/dicomDataSync` })
|
||||||
|
|||||||
@ -25,10 +25,10 @@
|
|||||||
<div style="font-size: 20px; color: aliceblue; margin-top: 6px; margin-left: -10px">
|
<div style="font-size: 20px; color: aliceblue; margin-top: 6px; margin-left: -10px">
|
||||||
<span>{{ rowinfo.pname }}</span>
|
<span>{{ rowinfo.pname }}</span>
|
||||||
<span style="margin-left: 10px"> {{ rowinfo.gender }}</span>
|
<span style="margin-left: 10px"> {{ rowinfo.gender }}</span>
|
||||||
<span style="margin-left: 10px"> {{ age + '岁' }}</span>
|
<!-- <span style="margin-left: 10px"> {{ age + '岁' }}</span> -->
|
||||||
<span style="margin-left: 10px"> 检查编号:{{ rowinfo.examId }}</span>
|
<span style="margin-left: 10px"> 检查编号:{{ rowinfo.examId }}</span>
|
||||||
<span style="margin-left: 10px">
|
<span style="margin-left: 10px">
|
||||||
检查日期:{{ formatDate(rowinfo.examDate, 'YYYY-MM-DD HH:mm:ss') }}</span
|
检查日期:{{ rowinfo.examDate ? formatDate(new Date(rowinfo.examDate), 'YYYY-MM-DD') : '' }}</span
|
||||||
>
|
>
|
||||||
<span style="margin-left: 10px">检查机构: {{ rowinfo.orgName }}</span>
|
<span style="margin-left: 10px">检查机构: {{ rowinfo.orgName }}</span>
|
||||||
</div>
|
</div>
|
||||||
@ -668,6 +668,7 @@ import ECGApplyforRepair from '@/views/ECG/ECGModify/ECGApplyforRepair.vue'
|
|||||||
import useClipboard from 'vue-clipboard3' //复制组件
|
import useClipboard from 'vue-clipboard3' //复制组件
|
||||||
import ECGSB from '@/views/ECG/ECGSB.vue'
|
import ECGSB from '@/views/ECG/ECGSB.vue'
|
||||||
import { ElLoading } from 'element-plus'
|
import { ElLoading } from 'element-plus'
|
||||||
|
import { log } from 'console'
|
||||||
|
|
||||||
const { toClipboard } = useClipboard()
|
const { toClipboard } = useClipboard()
|
||||||
const emit = defineEmits(['success']) // 定义 success 事件,用于操作成功后的回调
|
const emit = defineEmits(['success']) // 定义 success 事件,用于操作成功后的回调
|
||||||
@ -740,6 +741,8 @@ const open = async (row: any) => {
|
|||||||
rowinfo.value = row
|
rowinfo.value = row
|
||||||
const data = await EcganalysisparasApi.getexamIDdata(rowinfo.value.examId, orgid.value)
|
const data = await EcganalysisparasApi.getexamIDdata(rowinfo.value.examId, orgid.value)
|
||||||
queryParams.value = data
|
queryParams.value = data
|
||||||
|
console.log(data)
|
||||||
|
console.log(queryParams.value)
|
||||||
if (
|
if (
|
||||||
queryParams.value.ecgJsonDataFilePath &&
|
queryParams.value.ecgJsonDataFilePath &&
|
||||||
(queryParams.value.ecgJsonDataFilePath.toUpperCase().endsWith('.BMP') ||
|
(queryParams.value.ecgJsonDataFilePath.toUpperCase().endsWith('.BMP') ||
|
||||||
@ -763,7 +766,8 @@ const open = async (row: any) => {
|
|||||||
ElMessage.warning('数据格式有误')
|
ElMessage.warning('数据格式有误')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
snapshotTime.value = formattedDate(queryParams.value.snapshotTime)
|
// snapshotTime.value = formattedDate(queryParams.value.snapshotTime)
|
||||||
|
snapshotTime.value = queryParams.value.snapshotTime ? formatDate(new Date(queryParams.value.snapshotTime), 'YYYY-MM-DD') : ''
|
||||||
await getlogininfo()
|
await getlogininfo()
|
||||||
await getPatientexamlist(keyid.value)
|
await getPatientexamlist(keyid.value)
|
||||||
calculateAge(row.birthday)
|
calculateAge(row.birthday)
|
||||||
@ -799,7 +803,7 @@ async function process() {
|
|||||||
if (applyFormVO.value.reportstatus === '已分析') {
|
if (applyFormVO.value.reportstatus === '已分析') {
|
||||||
// 审核确认
|
// 审核确认
|
||||||
await message.delConfirm('是否进行审核操作', '审核')
|
await message.delConfirm('是否进行审核操作', '审核')
|
||||||
const response = await PatientexamlistApi.examine(keyid.value)
|
const response = await PatientexamlistApi.examine(keyid.value,Profilevo.value.doctorname,Profilevo.value.doctorID)
|
||||||
if (response) {
|
if (response) {
|
||||||
message.alertSuccess('审核成功')
|
message.alertSuccess('审核成功')
|
||||||
await getPatientexamlist(keyid.value)
|
await getPatientexamlist(keyid.value)
|
||||||
@ -894,7 +898,7 @@ const save = async () => {
|
|||||||
queryParams.value = data
|
queryParams.value = data
|
||||||
|
|
||||||
//生成pdf
|
//生成pdf
|
||||||
saveFormVO.value.regId = id.value
|
/* saveFormVO.value.regId = id.value
|
||||||
saveFormVO.value.examId = rowinfo.value.examId
|
saveFormVO.value.examId = rowinfo.value.examId
|
||||||
saveFormVO.value.orgId = orgid.value
|
saveFormVO.value.orgId = orgid.value
|
||||||
saveFormVO.value.name = rowinfo.value.pname
|
saveFormVO.value.name = rowinfo.value.pname
|
||||||
@ -922,7 +926,7 @@ const save = async () => {
|
|||||||
doctorId: Profilevo.value.doctorID,
|
doctorId: Profilevo.value.doctorID,
|
||||||
doctorName: Profilevo.value.doctorname
|
doctorName: Profilevo.value.doctorname
|
||||||
})
|
})
|
||||||
}
|
} */
|
||||||
//查询主表数据
|
//查询主表数据
|
||||||
await getPatientexamlist(keyid.value)
|
await getPatientexamlist(keyid.value)
|
||||||
loading.close()
|
loading.close()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user