|
@@ -4,28 +4,33 @@
|
|
|
<el-button
|
|
|
:disabled="!emrConfig.editor"
|
|
|
type="success"
|
|
|
+ :id="emrTutorialGetId('save')"
|
|
|
icon="CircleCheck"
|
|
|
@click="clickSaveData">
|
|
|
保存
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
+ :id="emrTutorialGetId('submit')"
|
|
|
title="提交不是保存"
|
|
|
@click="clickToSubmitTheMedicalRecord"
|
|
|
:disabled="!documentId || !emrConfig.editor">
|
|
|
提交
|
|
|
</el-button>
|
|
|
<el-button :disabled="!emrConfig.editor"
|
|
|
+ :id="emrTutorialGetId('delete')"
|
|
|
icon="Delete" type="danger"
|
|
|
@click="clickDelete">
|
|
|
删除
|
|
|
</el-button>
|
|
|
- <el-button @click="openRecovery">
|
|
|
+ <el-button @click="openRecovery" :id="emrTutorialGetId('recovery')">
|
|
|
恢复
|
|
|
</el-button>
|
|
|
- <el-button @click="auditClick" type="primary">
|
|
|
+ <el-button @click="auditClick" type="primary" :id="emrTutorialGetId('auditing')">
|
|
|
审核
|
|
|
</el-button>
|
|
|
+ <!-- 回收站 -->
|
|
|
+ <EmrRecycleBin/>
|
|
|
</el-button-group>
|
|
|
<el-divider direction="vertical"/>
|
|
|
<el-button-group>
|
|
@@ -46,18 +51,22 @@
|
|
|
<historical-emr v-if="recoveryDialog"
|
|
|
v-model="recoveryDialog"
|
|
|
:historical-data="historicalData"/>
|
|
|
- <el-button-group>
|
|
|
- <el-button type="primary" icon="Printer" @click="frontEndPrinting"
|
|
|
+ <el-button-group :id="emrTutorialGetId('print')">
|
|
|
+ <el-button type="primary"
|
|
|
+ icon="Printer"
|
|
|
+ @click="frontEndPrinting"
|
|
|
title="页面打印支持病历续打,但是可能会出现打印错误,如果页面打印无法使用请用服务打印,服务打印也不行请换win10电脑打印。">
|
|
|
页面
|
|
|
</el-button>
|
|
|
- <el-button type="primary" icon="Printer" @click="servicePrint"
|
|
|
+ <el-button type="primary"
|
|
|
+ icon="Printer"
|
|
|
+ @click="servicePrint"
|
|
|
title="服务打印慢,但是不会出现页面打印错误,不支持病历续打。">
|
|
|
服务
|
|
|
</el-button>
|
|
|
</el-button-group>
|
|
|
<el-divider direction="vertical"/>
|
|
|
- <el-button-group>
|
|
|
+ <el-button-group :id="emrTutorialGetId('zoom')">
|
|
|
<el-button type="primary"
|
|
|
icon="ZoomIn"
|
|
|
@click="zoomFunc(0.1)"
|
|
@@ -70,6 +79,7 @@
|
|
|
|
|
|
<el-divider direction="vertical"/>
|
|
|
<el-select v-model="reviewMode"
|
|
|
+ :id="emrTutorialGetId('reviewMode')"
|
|
|
style="width: 60px; "
|
|
|
@change="isRevisionMode"
|
|
|
title="审阅模式">
|
|
@@ -80,7 +90,8 @@
|
|
|
<el-option :value="2" label="嵌入"
|
|
|
title="嵌入病历显示修改记录,新增的记录会用背景颜色标记,删除的记录 通过画删除线标记"/>
|
|
|
</el-select>
|
|
|
- <el-button-group>
|
|
|
+ <el-divider direction="vertical"/>
|
|
|
+ <el-button-group :id="emrTutorialGetId('undoAndRedo')">
|
|
|
<el-button icon="RefreshLeft"
|
|
|
@click="clickUndo('undo')"
|
|
|
title="撤销"/>
|
|
@@ -88,16 +99,23 @@
|
|
|
@click="clickUndo('redo')"
|
|
|
title="重做"/>
|
|
|
</el-button-group>
|
|
|
+ <el-divider direction="vertical"/>
|
|
|
+ <el-button-group>
|
|
|
+ </el-button-group>
|
|
|
<el-button-group>
|
|
|
<el-button title="仅在病程记录中生效,根据病程记录的时间来进行排序,从小到大。"
|
|
|
icon="SortDown"
|
|
|
+ :id="emrTutorialGetId('sort')"
|
|
|
@click="diseaseCourseSequencing"/>
|
|
|
- <el-button title="为页面添加分页标识符,分页符后强制为新页面。" @click="paginationSymbol">
|
|
|
+ <el-button title="为页面添加分页标识符,分页符后强制为新页面。"
|
|
|
+ :id="emrTutorialGetId('forcedPagination')"
|
|
|
+ @click="paginationSymbol">
|
|
|
<i class="iconfont icon-chaifenyemian"></i>
|
|
|
</el-button>
|
|
|
</el-button-group>
|
|
|
<el-divider direction="vertical" v-show="!completeModeSwitch"/>
|
|
|
- <el-button-group v-show="!completeModeSwitch">
|
|
|
+ <el-button-group v-show="!completeModeSwitch"
|
|
|
+ :id="emrTutorialGetId('collapseTemplate')">
|
|
|
<el-button title="收起左边模板"
|
|
|
@click="foldBothSides.isLeft= !foldBothSides.isLeft">
|
|
|
<el-icon>
|
|
@@ -113,7 +131,9 @@
|
|
|
</el-button-group>
|
|
|
<el-divider direction="vertical"/>
|
|
|
<!-- <el-checkbox v-model="autoSave" label="自动保存" @change="autoSaveChange"/>-->
|
|
|
- <el-checkbox v-model="isOpenPage" label="分页线" @change="openOrClosePage"/>
|
|
|
+ <div style="display: inline-block" :id="emrTutorialGetId('paginationLine')">
|
|
|
+ <el-checkbox v-model="isOpenPage" label="分页线" @change="openOrClosePage"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div style="display: flex">
|
|
|
<div class="modLeftRef" v-show="completeModeSwitch">
|
|
@@ -123,32 +143,46 @@
|
|
|
style="height: max-content"
|
|
|
:class="foldBothSides.isLeft ? 'emr-template-open' : 'emr-template-put-away' "
|
|
|
ref="leftRefOld">
|
|
|
- <div ref="leftRef">
|
|
|
- <emr-sidebar @nodeClick="nodeClick"
|
|
|
- @open-and-save-the-medical-record="openAndSaveTheMedicalRecord"
|
|
|
- @patient-medical-record="foldBothSides.isLeft = true"
|
|
|
- v-show="foldBothSides.isLeft"
|
|
|
- ref="emrSidebarRef"
|
|
|
- :doctor-grade="doctorLevel"
|
|
|
- :extract-data="extractData"
|
|
|
- :patientData="patientData"
|
|
|
- :max-height="maxHeight"
|
|
|
- :huan-zhe-xin-xi="props.huanZheXinXi"/>
|
|
|
+ <div ref="leftRef" :id="emrTutorialGetId('medicalRecordTemplate')">
|
|
|
+ <emr-sidebar
|
|
|
+ @nodeClick="nodeClick"
|
|
|
+ @open-and-save-the-medical-record="openAndSaveTheMedicalRecord"
|
|
|
+ @patient-medical-record="foldBothSides.isLeft = true"
|
|
|
+ v-show="foldBothSides.isLeft"
|
|
|
+ ref="emrSidebarRef"
|
|
|
+ :doctor-grade="doctorLevel"
|
|
|
+ :extract-data="extractData"
|
|
|
+ :patientData="patientData"
|
|
|
+ :max-height="maxHeight"
|
|
|
+ :huan-zhe-xin-xi="props.huanZheXinXi"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="emr-editor"
|
|
|
- :style="{marginTop: completeModeSwitch ? '10px' : 0 }">
|
|
|
+ :style="{ marginTop: completeModeSwitch ? '10px' : 0 }">
|
|
|
<!-- 电子病历中的样式条 -->
|
|
|
<EmrStyleBar ref="styleBarRef"/>
|
|
|
<div class="emr-iframe">
|
|
|
- <div>
|
|
|
- <el-button @click="showIframe = 1" :type="showIframe === 1 ? 'primary' : ''">正在编辑</el-button>
|
|
|
- <el-button @click="showIframe = 2" :type="showIframe === 2? 'primary' : ''">已保存病历</el-button>
|
|
|
- <el-button @click="showIframe = 3" :type="showIframe === 3? 'primary' : ''">同时打开</el-button>
|
|
|
- <el-button @click="showIframe = 4" :type="showIframe === 4? 'primary' : ''">病案首页</el-button>
|
|
|
- <el-button @click="showIframe = 5" :type="showIframe === 5? 'primary' : ''">审核</el-button>
|
|
|
+ <div :id="emrTutorialGetId('editor_tabs')">
|
|
|
+ <el-button :id="emrTutorialGetId('editor1')"
|
|
|
+ @click="showIframe = 1" :type="showIframe === 1 ? 'primary' : ''">正在编辑
|
|
|
+ </el-button>
|
|
|
+ <el-button :id="emrTutorialGetId('editor2')"
|
|
|
+ @click="showIframe = 2"
|
|
|
+ :type="showIframe === 2? 'primary' : ''">
|
|
|
+ 已保存病历
|
|
|
+ </el-button>
|
|
|
+ <el-button :id="emrTutorialGetId('editor3')" @click="showIframe = 3"
|
|
|
+ :type="showIframe === 3? 'primary' : ''">同时打开
|
|
|
+ </el-button>
|
|
|
+ <el-button :id="emrTutorialGetId('editor4')" @click="showIframe = 4"
|
|
|
+ :type="showIframe === 4? 'primary' : ''">病案首页
|
|
|
+ </el-button>
|
|
|
+ <el-button :id="emrTutorialGetId('editor5')" @click="showIframe = 5"
|
|
|
+ :type="showIframe === 5? 'primary' : ''">审核
|
|
|
+ </el-button>
|
|
|
</div>
|
|
|
- <div style="display: flex;width: 100%">
|
|
|
+ <div style="display: flex;width: 100%"
|
|
|
+ :id="emrTutorialGetId('editor')">
|
|
|
<div :style="emrMainWidth()"
|
|
|
v-show=" showIframe === 1 ||
|
|
|
showIframe === 3 ||
|
|
@@ -218,7 +252,7 @@
|
|
|
style="height: max-content"
|
|
|
:class="foldBothSides.isRight ? 'emr-fragment-open' : 'emr-fragment-put-away' "
|
|
|
ref="rightRefOld">
|
|
|
- <div ref="rightRef">
|
|
|
+ <div ref="rightRef" :id="emrTutorialGetId('fragment')">
|
|
|
<emr-snippet
|
|
|
v-show="foldBothSides.isRight"
|
|
|
@node-click="clickSnippet"
|
|
@@ -277,7 +311,8 @@ import {
|
|
|
emrConfig,
|
|
|
EMRInteractive,
|
|
|
emrMitt,
|
|
|
- getEmrCopy
|
|
|
+ getEmrCopy,
|
|
|
+ query
|
|
|
} from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/emr-init";
|
|
|
import {ElInput, ElMessage, ElMessageBox} from "element-plus";
|
|
|
import {BizException, ExceptionEnum} from "@/utils/BizException";
|
|
@@ -337,6 +372,11 @@ import {
|
|
|
} from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/edit";
|
|
|
import EmrSaveRules
|
|
|
from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrSaveRules.vue";
|
|
|
+import {
|
|
|
+ emrTutorialGetId
|
|
|
+} from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/emr-tutorial";
|
|
|
+import EmrRecycleBin
|
|
|
+ from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrRecycleBin.vue";
|
|
|
|
|
|
const props = defineProps({
|
|
|
huanZheXinXi: {
|