修改心电图工作台保存逻辑
This commit is contained in:
parent
ebe935974c
commit
caeaeaaf66
@ -807,12 +807,11 @@ async function save() {
|
|||||||
examineFormVO.value.diagDoctorId = Profilevo.value.doctorID
|
examineFormVO.value.diagDoctorId = Profilevo.value.doctorID
|
||||||
examineFormVO.value.reportstatus = '已分析'
|
examineFormVO.value.reportstatus = '已分析'
|
||||||
await PatientexamlistApi.examineupdatelist(examineFormVO.value)
|
await PatientexamlistApi.examineupdatelist(examineFormVO.value)
|
||||||
//查询主表数据
|
|
||||||
await getPatientexamlist(keyid.value)
|
|
||||||
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
|
||||||
|
|
||||||
message.alertSuccess('保存成功')
|
|
||||||
//生成pdf
|
//生成pdf
|
||||||
saveFormVO.value.regId = id.value
|
saveFormVO.value.regId = id.value
|
||||||
saveFormVO.value.examId = rowinfo.value.examId
|
saveFormVO.value.examId = rowinfo.value.examId
|
||||||
@ -823,6 +822,9 @@ async function save() {
|
|||||||
saveFormVO.value.diagtime = queryParams.value.doctorDiagTime
|
saveFormVO.value.diagtime = queryParams.value.doctorDiagTime
|
||||||
saveFormVO.value.ecgJsonDataFilePath = queryParams.value.ecgJsonDataFilePath
|
saveFormVO.value.ecgJsonDataFilePath = queryParams.value.ecgJsonDataFilePath
|
||||||
await EcganalysisparasApi.SaveEcgPdf(saveFormVO.value)
|
await EcganalysisparasApi.SaveEcgPdf(saveFormVO.value)
|
||||||
|
//查询主表数据
|
||||||
|
await getPatientexamlist(keyid.value)
|
||||||
|
message.alertSuccess('保存成功')
|
||||||
emit('success')
|
emit('success')
|
||||||
|
|
||||||
//ElMessage.info('开始保存pdf')
|
//ElMessage.info('开始保存pdf')
|
||||||
@ -888,9 +890,7 @@ function printclose() {
|
|||||||
function print() {
|
function print() {
|
||||||
//isprintimage.value = false
|
//isprintimage.value = false
|
||||||
isdiagshow.value = false
|
isdiagshow.value = false
|
||||||
if (false && !queryParams.value.autoDiagTime) {
|
if (applyFormVO.value && applyFormVO.value.reportstatus != '已审核') {
|
||||||
message.alertError('请保存后再进行打印')
|
|
||||||
} else if (rowinfo.value && rowinfo.value.reportstatus != '已审核') {
|
|
||||||
message.alertError('请审核后再进行打印')
|
message.alertError('请审核后再进行打印')
|
||||||
} else {
|
} else {
|
||||||
//isprintimage.value = true
|
//isprintimage.value = true
|
||||||
|
@ -108,10 +108,10 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-form-item label="危急值内容:" label-width="100px">
|
<el-form-item label="危急值内容:" label-width="100px">
|
||||||
<el-input v-model="warintinfo.warningContent" type="textarea" rows="3" />
|
<el-input v-model="warintinfo.warningContent" type="textarea" rows="3" :readonly="isreadonly"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="备注:" label-width="100px">
|
<el-form-item label="备注:" label-width="100px">
|
||||||
<el-input v-model="warintinfo.remark" type="textarea" rows="2" />
|
<el-input v-model="warintinfo.remark" type="textarea" rows="2" :readonly="isreadonly"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@ -123,12 +123,12 @@
|
|||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="7">
|
<el-col :span="7">
|
||||||
<el-form-item label="接报医生:">
|
<el-form-item label="接报医生:">
|
||||||
<el-input v-model="receivename" />
|
<el-input v-model="receivename" :readonly="isreadonly" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="7">
|
<el-col :span="7">
|
||||||
<el-form-item label="处理医生:">
|
<el-form-item label="处理医生:">
|
||||||
<el-input v-model="dealname" />
|
<el-input v-model="dealname" :readonly="isreadonly"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
@ -138,12 +138,13 @@
|
|||||||
type="datetime"
|
type="datetime"
|
||||||
placeholder="检查时间"
|
placeholder="检查时间"
|
||||||
style="width: 190px"
|
style="width: 190px"
|
||||||
|
:readonly="isreadonly"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-form-item label="备注:">
|
<el-form-item label="备注:">
|
||||||
<el-input v-model="warintinfo.readremark" type="textarea" rows="2" disabledz />
|
<el-input v-model="warintinfo.readremark" type="textarea" rows="2" disabledz :readonly="isreadonly"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@ -174,6 +175,7 @@ const issaveshow = ref(false) //是否显示保存按钮
|
|||||||
const receivename = ref() //接受医生
|
const receivename = ref() //接受医生
|
||||||
const dealname = ref() //处理医生
|
const dealname = ref() //处理医生
|
||||||
const isshowwjztime = ref(false) //是否显示确认危急值时间
|
const isshowwjztime = ref(false) //是否显示确认危急值时间
|
||||||
|
const isreadonly=ref<any>(false)//
|
||||||
const opendiag = async (row) => {
|
const opendiag = async (row) => {
|
||||||
//赋值传递过来的患者数据
|
//赋值传递过来的患者数据
|
||||||
rowinfo.value = row
|
rowinfo.value = row
|
||||||
@ -202,6 +204,7 @@ const opendiag = async (row) => {
|
|||||||
receivename.value = Profilevo.value.nickname
|
receivename.value = Profilevo.value.nickname
|
||||||
dealname.value = Profilevo.value.nickname
|
dealname.value = Profilevo.value.nickname
|
||||||
dialogVisible.value = true
|
dialogVisible.value = true
|
||||||
|
isreadonly.value= issaveshow.value?true:false
|
||||||
}
|
}
|
||||||
//确认
|
//确认
|
||||||
async function save() {
|
async function save() {
|
||||||
@ -216,6 +219,7 @@ async function save() {
|
|||||||
issaveshow.value = true
|
issaveshow.value = true
|
||||||
await WarningApi.sendMessage('144',rowinfo.value.pname)
|
await WarningApi.sendMessage('144',rowinfo.value.pname)
|
||||||
message.alertSuccess('确认成功')
|
message.alertSuccess('确认成功')
|
||||||
|
isreadonly.value=true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user