|
|
|
@ -1,13 +1,8 @@ |
|
|
|
<template> |
|
|
|
<div class="archives"> |
|
|
|
<el-tooltip class="item" effect="dark" :content="cybdTitle" placement="top-start"> |
|
|
|
<el-button |
|
|
|
type="warning" |
|
|
|
:icon="cybdShow ? 'el-icon-minus' : 'el-icon-plus'" |
|
|
|
circle |
|
|
|
class="cybdbutton" |
|
|
|
@click="cybdButtonClick" |
|
|
|
/> |
|
|
|
<el-button type="warning" :icon="cybdShow ? 'el-icon-minus' : 'el-icon-plus'" circle class="cybdbutton" |
|
|
|
@click="cybdButtonClick" /> |
|
|
|
</el-tooltip> |
|
|
|
<!-- 档案内容 --> |
|
|
|
<div class="archives-content"> |
|
|
|
@ -15,28 +10,15 @@ |
|
|
|
<!-- :style="{'height': queryList.title !=='分诊' && !userData.positionList[0].positionName.includes('护士') ? '' : '100% '}" --> |
|
|
|
<div class="content-left-top"> |
|
|
|
<!-- <el-tree :data="archiveCaseCRFList" :props="defaultProps" /> --> |
|
|
|
<el-tree |
|
|
|
ref="my-tree" |
|
|
|
:data="archiveCaseCRFList" |
|
|
|
:props="defaultProps" |
|
|
|
default-expand-all |
|
|
|
:current-node-key="currentNodeKey" |
|
|
|
node-key="id" |
|
|
|
@node-click="handleMoveCopyNodeClick" |
|
|
|
> |
|
|
|
<el-tree ref="my-tree" :data="archiveCaseCRFList" :props="defaultProps" default-expand-all |
|
|
|
:current-node-key="currentNodeKey" node-key="id" @node-click="handleMoveCopyNodeClick"> |
|
|
|
|
|
|
|
<span slot-scope="{ node, data }" class="custom-tree-node"> |
|
|
|
<span v-if="node.level === 1" class="crfType">{{ data.crfType ? data.crfType : 'H5问卷调查' }}</span> |
|
|
|
<div |
|
|
|
v-if="node.level !== 1" |
|
|
|
class="tree-children" |
|
|
|
:class="data.id === currentNodeKey ? 'CRFList-list-active' : ''" |
|
|
|
@click="CRFListClick(data)" |
|
|
|
> |
|
|
|
<span |
|
|
|
class="tree-date" |
|
|
|
:class="data.id === currentNodeKey ? 'tree-date-active' : ''" |
|
|
|
>{{ data.formDate }}</span> |
|
|
|
<div v-if="node.level !== 1" class="tree-children" |
|
|
|
:class="data.id === currentNodeKey ? 'CRFList-list-active' : ''" @click="CRFListClick(data)"> |
|
|
|
<span class="tree-date" |
|
|
|
:class="data.id === currentNodeKey ? 'tree-date-active' : ''">{{ data.formDate }}</span> |
|
|
|
<p class="tree-forname">{{ data.formName }}</p> |
|
|
|
<!-- superAdmin 1为超级管理员 --> |
|
|
|
<!-- data.createName ? data.createName===userData.realName :true --> |
|
|
|
@ -45,12 +27,8 @@ |
|
|
|
(data.createDate == currentDate && !data.saveName) || |
|
|
|
positionName.join().includes('管理员') || |
|
|
|
(data.createDate === currentDate && positionName.join().includes('护士') && (data.formName.includes('问卷调查') || data.formName.includes('心理评估表')))" |
|
|
|
type="text" |
|
|
|
size="mini" |
|
|
|
class="tree-button" |
|
|
|
:class="data.id === currentNodeKey ? 'tree-button-active':''" |
|
|
|
@click.stop="deleteCRFList(data)" |
|
|
|
> |
|
|
|
type="text" size="mini" class="tree-button" |
|
|
|
:class="data.id === currentNodeKey ? 'tree-button-active':''" @click.stop="deleteCRFList(data)"> |
|
|
|
<i class="el-icon-delete" /> |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
@ -68,38 +46,21 @@ |
|
|
|
</div> |
|
|
|
<div class="comonForm-tab"> |
|
|
|
<el-tabs v-model="comonFormActive" stretch @tab-click="handleClick"> |
|
|
|
<el-tab-pane |
|
|
|
v-for="(item,index) in commeFormTabs" |
|
|
|
:key="index" |
|
|
|
:label="item.name" |
|
|
|
:name="item.name" |
|
|
|
class="comonForm-tab-Pane" |
|
|
|
> |
|
|
|
<div |
|
|
|
v-for="(commeFormItem, commeFormLIndex) in commeFormList" |
|
|
|
:key="commeFormLIndex" |
|
|
|
class="comonForm-list" |
|
|
|
@click="comonFormListClick(commeFormLIndex,commeFormItem)" |
|
|
|
> |
|
|
|
<el-tab-pane v-for="(item,index) in commeFormTabs" :key="index" :label="item.name" :name="item.name" |
|
|
|
class="comonForm-tab-Pane"> |
|
|
|
<div v-for="(commeFormItem, commeFormLIndex) in commeFormList" :key="commeFormLIndex" |
|
|
|
class="comonForm-list" @click="comonFormListClick(commeFormLIndex,commeFormItem)"> |
|
|
|
<div class="text-ellipsis"> |
|
|
|
<el-tooltip |
|
|
|
v-if="commeFormItem.name.length >= 12" |
|
|
|
class="item" |
|
|
|
effect="dark" |
|
|
|
:content="commeFormItem.name" |
|
|
|
placement="top-end" |
|
|
|
> |
|
|
|
<el-tooltip v-if="commeFormItem.name.length >= 12" class="item" effect="dark" |
|
|
|
:content="commeFormItem.name" placement="top-end"> |
|
|
|
<span>{{ commeFormItem.name }}</span> |
|
|
|
</el-tooltip> |
|
|
|
<span v-else>{{ commeFormItem.name }}</span> |
|
|
|
</div> |
|
|
|
<i |
|
|
|
v-if=" |
|
|
|
<i v-if=" |
|
|
|
positionName.join().includes('医辅') || |
|
|
|
(positionName.join().includes('护士') && commeFormItem.name==='屈光预检') || |
|
|
|
positionName.join().includes('医生')" |
|
|
|
class="el-icon-plus comonForm-icon" |
|
|
|
/> |
|
|
|
positionName.join().includes('医生')" class="el-icon-plus comonForm-icon" /> |
|
|
|
</div> |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
@ -111,231 +72,86 @@ |
|
|
|
<span class="padding-right-10">{{ patientInfoObj.patientId }}</span> |
|
|
|
<span class="padding-right-10">{{ patientInfoObj.patientName }}</span> |
|
|
|
<span class="padding-right-10">{{ patientInfoObj.patientBirthday }}</span> |
|
|
|
<span style="color:yellow;font-size:24px;">{{ patientInfoObj.patientAge < 18 ? '未满18周岁' : (patientInfoObj.patientAge > 35 ? '大于35岁' : '') }}</span> |
|
|
|
<span |
|
|
|
style="color:yellow;font-size:24px;">{{ patientInfoObj.patientAge < 18 ? '未满18周岁' : (patientInfoObj.patientAge > 35 ? '大于35岁' : '') }}</span> |
|
|
|
</div> |
|
|
|
<div class="content-right-CRF"> |
|
|
|
<div class="printFather"> |
|
|
|
<!-- :style="{width:archiveCaseCRFItem.formName==='激光角膜屈光手术同意书' ? '900px' : '900px'}" --> |
|
|
|
<div v-if="archiveCaseCRFItem.formName"> |
|
|
|
<!-- 屈光手术心理评估表 --> |
|
|
|
<before-operation-question |
|
|
|
v-if="archiveCaseCRFItem.formName==='屈光手术心理评估表'&& formFlag===0" |
|
|
|
ref="beforeOperationRef" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:form-content="H5FormList" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
/> |
|
|
|
<before-operation-question v-if="archiveCaseCRFItem.formName==='屈光手术心理评估表'&& formFlag===0" |
|
|
|
ref="beforeOperationRef" :archive-case-c-r-f-item="archiveCaseCRFItem" :save-eidt-title="saveEidtTitle" |
|
|
|
:form-content="H5FormList" :patient-info-obj="patientInfoObj" :user-data="userData" |
|
|
|
:role-list="roleList" :position-name="positionName" :current-url="currentUrl" /> |
|
|
|
<!-- 眼科病史问卷调查 --> |
|
|
|
<eye-question |
|
|
|
v-if="archiveCaseCRFItem.formName==='眼科病史问卷调查'&& formFlag===0" |
|
|
|
ref="eyeQuestionRef" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:form-content="H5FormList" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
/> |
|
|
|
<qgyj |
|
|
|
v-if="archiveCaseCRFItem.formName==='屈光预检'&& formFlag===0" |
|
|
|
ref="qgyjRef" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:opera-id="archiveCaseCRFItem.operaId" |
|
|
|
:patient-id="patientId" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<qg-dzbl |
|
|
|
v-if="(archiveCaseCRFItem.formName.includes('屈光电子病历')) && formFlag===0" |
|
|
|
ref="qgdzbldRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<fzbl |
|
|
|
v-if="archiveCaseCRFItem.formName==='门诊病历' && formFlag===0" |
|
|
|
ref="fzblRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<safety-checklist |
|
|
|
v-if="archiveCaseCRFItem.formName.includes('手术安全核查表')&& formFlag===0" |
|
|
|
ref="safetyChecklistRef" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:opera-id="archiveCaseCRFItem.operaId" |
|
|
|
:patient-id="patientId" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<operation-nursing-record |
|
|
|
v-if="archiveCaseCRFItem.formName.includes('手术护理记录单')&& formFlag===0" |
|
|
|
ref="operationNursingRecordRef" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:patient-id="patientId" |
|
|
|
:opera-id="archiveCaseCRFItem.operaId" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<operationPlan |
|
|
|
v-if="archiveCaseCRFItem.formName==='手术计划'&& formFlag===0" |
|
|
|
ref="operationPlanRef" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:patient-id="patientId" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<operationRecord |
|
|
|
v-if="archiveCaseCRFItem.formName==='手术记录'&& formFlag===0" |
|
|
|
ref="operationRecordRef" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:opera-id="archiveCaseCRFItem.operaId" |
|
|
|
:patient-id="patientId" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<operationedCheckRecord |
|
|
|
v-if="archiveCaseCRFItem.formName==='术后检查记录表'&& formFlag===0" |
|
|
|
ref="operationedCheckRecordRef" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<talkRecord |
|
|
|
v-if="archiveCaseCRFItem.formName==='激光角膜屈光手术同意书'&& formFlag===0" |
|
|
|
ref="talkRecordRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<consenBookZfzJgzl |
|
|
|
v-if="archiveCaseCRFItem.formName==='准分子激光治疗性角膜切削术同意书'&& formFlag===0" |
|
|
|
ref="consenBookZfzJgzlRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<consentBookJmjl |
|
|
|
v-if="archiveCaseCRFItem.formName==='角膜交联术治疗同意书'&& formFlag===0" |
|
|
|
ref="consentBookJmjlRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<shouquanBook |
|
|
|
v-if="archiveCaseCRFItem.formName==='告知书/授权书'&& formFlag===0" |
|
|
|
ref="shouquanBookRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<payDemandNote |
|
|
|
v-if="archiveCaseCRFItem.formName==='特需医疗服务患者知情同意书'&& formFlag===0" |
|
|
|
ref="payDemandNoteRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" |
|
|
|
page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
@load="loading=false" |
|
|
|
/> |
|
|
|
<eye-question v-if="archiveCaseCRFItem.formName==='眼科病史问卷调查'&& formFlag===0" ref="eyeQuestionRef" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" :save-eidt-title="saveEidtTitle" |
|
|
|
:form-content="H5FormList" :patient-info-obj="patientInfoObj" :user-data="userData" |
|
|
|
:role-list="roleList" :position-name="positionName" :current-url="currentUrl" /> |
|
|
|
<qgyj v-if="archiveCaseCRFItem.formName==='屈光预检'&& formFlag===0" ref="qgyjRef" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" page-title="档案" :save-eidt-title="saveEidtTitle" |
|
|
|
:opera-id="archiveCaseCRFItem.operaId" :patient-id="patientId" :patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" :role-list="roleList" :position-name="positionName" :current-url="currentUrl" |
|
|
|
@load="loading=false" /> |
|
|
|
<qg-dzbl v-if="(archiveCaseCRFItem.formName.includes('屈光电子病历')) && formFlag===0" ref="qgdzbldRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" page-title="档案" :save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" :archive-case-c-r-f-item="archiveCaseCRFItem" :patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" :role-list="roleList" :position-name="positionName" :current-url="currentUrl" |
|
|
|
@load="loading=false" /> |
|
|
|
<fzbl v-if="archiveCaseCRFItem.formName==='门诊病历' && formFlag===0" ref="fzblRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" page-title="档案" :save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" :archive-case-c-r-f-item="archiveCaseCRFItem" :patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" :role-list="roleList" :position-name="positionName" :current-url="currentUrl" |
|
|
|
@load="loading=false" /> |
|
|
|
<safety-checklist v-if="archiveCaseCRFItem.formName.includes('手术安全核查表')&& formFlag===0" |
|
|
|
ref="safetyChecklistRef" :archive-case-c-r-f-item="archiveCaseCRFItem" page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" :opera-id="archiveCaseCRFItem.operaId" :patient-id="patientId" |
|
|
|
:patient-info-obj="patientInfoObj" :user-data="userData" :role-list="roleList" |
|
|
|
:position-name="positionName" :current-url="currentUrl" @load="loading=false" /> |
|
|
|
<operation-nursing-record v-if="archiveCaseCRFItem.formName.includes('手术护理记录单')&& formFlag===0" |
|
|
|
ref="operationNursingRecordRef" page-title="档案" :save-eidt-title="saveEidtTitle" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" :patient-id="patientId" |
|
|
|
:opera-id="archiveCaseCRFItem.operaId" :patient-info-obj="patientInfoObj" :user-data="userData" |
|
|
|
:role-list="roleList" :position-name="positionName" :current-url="currentUrl" @load="loading=false" /> |
|
|
|
<operationPlan v-if="archiveCaseCRFItem.formName==='手术计划'&& formFlag===0" ref="operationPlanRef" |
|
|
|
page-title="档案" :save-eidt-title="saveEidtTitle" :archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:patient-id="patientId" :patient-info-obj="patientInfoObj" :user-data="userData" :role-list="roleList" |
|
|
|
:position-name="positionName" :current-url="currentUrl" @load="loading=false" /> |
|
|
|
<operationRecord v-if="archiveCaseCRFItem.formName==='手术记录'&& formFlag===0" ref="operationRecordRef" |
|
|
|
page-title="档案" :save-eidt-title="saveEidtTitle" :archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:opera-id="archiveCaseCRFItem.operaId" :patient-id="patientId" :patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" :role-list="roleList" :position-name="positionName" :current-url="currentUrl" |
|
|
|
@load="loading=false" /> |
|
|
|
<operationedCheckRecord v-if="archiveCaseCRFItem.formName==='术后检查记录表'&& formFlag===0" |
|
|
|
ref="operationedCheckRecordRef" page-title="档案" :save-eidt-title="saveEidtTitle" :patient-id="patientId" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" :patient-info-obj="patientInfoObj" :user-data="userData" |
|
|
|
:role-list="roleList" :position-name="positionName" :current-url="currentUrl" @load="loading=false" /> |
|
|
|
<talkRecord v-if="archiveCaseCRFItem.formName==='激光角膜屈光手术同意书'&& formFlag===0" ref="talkRecordRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" page-title="档案" :save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" :archive-case-c-r-f-item="archiveCaseCRFItem" :patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" :role-list="roleList" :position-name="positionName" :current-url="currentUrl" |
|
|
|
@load="loading=false" /> |
|
|
|
<consenBookZfzJgzl v-if="archiveCaseCRFItem.formName==='准分子激光治疗性角膜切削术同意书'&& formFlag===0" |
|
|
|
ref="consenBookZfzJgzlRef" :patient-inifo-h5="patientInifoH5" page-title="档案" |
|
|
|
:save-eidt-title="saveEidtTitle" :patient-id="patientId" :archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:patient-info-obj="patientInfoObj" :user-data="userData" :role-list="roleList" |
|
|
|
:position-name="positionName" :current-url="currentUrl" @load="loading=false" /> |
|
|
|
<consentBookJmjl v-if="archiveCaseCRFItem.formName==='角膜交联术治疗同意书'&& formFlag===0" ref="consentBookJmjlRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" page-title="档案" :save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" :archive-case-c-r-f-item="archiveCaseCRFItem" :patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" :role-list="roleList" :position-name="positionName" :current-url="currentUrl" |
|
|
|
@load="loading=false" /> |
|
|
|
<shouquanBook v-if="archiveCaseCRFItem.formName==='告知书/授权书'&& formFlag===0" ref="shouquanBookRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" page-title="档案" :save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" :archive-case-c-r-f-item="archiveCaseCRFItem" :patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" :role-list="roleList" :position-name="positionName" :current-url="currentUrl" |
|
|
|
@load="loading=false" /> |
|
|
|
<payDemandNote v-if="archiveCaseCRFItem.formName==='特需医疗服务患者知情同意书'&& formFlag===0" ref="payDemandNoteRef" |
|
|
|
:patient-inifo-h5="patientInifoH5" page-title="档案" :save-eidt-title="saveEidtTitle" |
|
|
|
:patient-id="patientId" :archive-case-c-r-f-item="archiveCaseCRFItem" :patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" :role-list="roleList" :position-name="positionName" :current-url="currentUrl" |
|
|
|
@load="loading=false" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -343,29 +159,14 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 添加病历模板 --> |
|
|
|
<add-case-form |
|
|
|
v-if="addCaseFormVisible" |
|
|
|
ref="addCaseFormRef" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
@closeDialog="addCaseFormVisible=false" |
|
|
|
@getArchiveCaseList="getArchiveCaseList($event)" |
|
|
|
/> |
|
|
|
<add-case-form v-if="addCaseFormVisible" ref="addCaseFormRef" :patient-info-obj="patientInfoObj" |
|
|
|
@closeDialog="addCaseFormVisible=false" @getArchiveCaseList="getArchiveCaseList($event)" /> |
|
|
|
<el-dialog :visible.sync="biaoDanFormVisible" :show-close="false" fullscreen class="biaoDanForm"> |
|
|
|
<qg-dzbl |
|
|
|
v-if="(archiveCaseCRFItem.formName==='屈光电子病历' || archiveCaseCRFItem.formName==='屈光电子病历(复诊)')" |
|
|
|
ref="qgdzbldRef" |
|
|
|
title="档案" |
|
|
|
save-eidt-title="保存" |
|
|
|
:patient-id="patientId" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" |
|
|
|
:form-content="H5FormList" |
|
|
|
:patient-inifo-h5="patientInifoH5" |
|
|
|
:patient-info-obj="patientInfoObj" |
|
|
|
:user-data="userData" |
|
|
|
:role-list="roleList" |
|
|
|
:position-name="positionName" |
|
|
|
:current-url="currentUrl" |
|
|
|
/> |
|
|
|
<qg-dzbl v-if="(archiveCaseCRFItem.formName==='屈光电子病历' || archiveCaseCRFItem.formName==='屈光电子病历(复诊)')" |
|
|
|
ref="qgdzbldRef" title="档案" save-eidt-title="保存" :patient-id="patientId" |
|
|
|
:archive-case-c-r-f-item="archiveCaseCRFItem" :form-content="H5FormList" :patient-inifo-h5="patientInifoH5" |
|
|
|
:patient-info-obj="patientInfoObj" :user-data="userData" :role-list="roleList" :position-name="positionName" |
|
|
|
:current-url="currentUrl" /> |
|
|
|
<span class="biaoDanForm-buttons"> |
|
|
|
<span>保存</span> |
|
|
|
<span @click="closeDialogClick">取消</span> |
|
|
|
@ -615,7 +416,7 @@ export default { |
|
|
|
// 删除CRF列表数据 |
|
|
|
deleteCRFList(item) { |
|
|
|
// console.log(item) |
|
|
|
this.$confirmFun('你确定要删除此病历吗?').then(async() => { |
|
|
|
this.$confirmFun('你确定要删除此病历吗?').then(async () => { |
|
|
|
const { data: res } = await this.$http.delete(`/hz_quguang/medical/record/${item.id}`) |
|
|
|
if (res.code === 0) { |
|
|
|
this.getArchiveCaseList(this.currentArchiveList.id) |
|
|
|
@ -641,9 +442,9 @@ export default { |
|
|
|
// type: 'warning' |
|
|
|
// }) |
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
if (this.positionName.join().includes('护士') && item.name !== '屈光预检') { |
|
|
|
console.log('this.positionName',this.positionName); |
|
|
|
console.log('this.positionName', this.positionName); |
|
|
|
return this.$message({ |
|
|
|
showClose: true, |
|
|
|
message: '您的角色只有新增屈光预检的权限', |
|
|
|
@ -972,10 +773,10 @@ export default { |
|
|
|
overflow-y: hidden; |
|
|
|
.patient-zjxx { |
|
|
|
background: #1e79ff; |
|
|
|
opacity:0.8; |
|
|
|
opacity: 0.8; |
|
|
|
padding: 6px; |
|
|
|
position: absolute; |
|
|
|
left:0; |
|
|
|
left: 0; |
|
|
|
color: #fff; |
|
|
|
z-index: 1; |
|
|
|
} |
|
|
|
@ -983,7 +784,8 @@ export default { |
|
|
|
height: 93%; |
|
|
|
} |
|
|
|
.content-right-CRF { |
|
|
|
background: #5c5c5c; |
|
|
|
// background: #5c5c5c; |
|
|
|
background: #dbdbdb; |
|
|
|
overflow: hidden; |
|
|
|
padding: 10px; |
|
|
|
position: relative; |
|
|
|
@ -1001,6 +803,17 @@ export default { |
|
|
|
</style> |
|
|
|
<style lang="scss"> |
|
|
|
.archives { |
|
|
|
.content-right { |
|
|
|
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ |
|
|
|
::-webkit-scrollbar { |
|
|
|
width: 16px; /*滚动条宽度*/ |
|
|
|
// background-color: red; |
|
|
|
} |
|
|
|
::-webkit-scrollbar-thumb { |
|
|
|
background-color: #629ef8; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.saveInfo { |
|
|
|
// background: #e4e7ed; |
|
|
|
display: flex; |
|
|
|
|