|
@@ -1,117 +1,114 @@
|
|
|
<template>
|
|
|
<el-container>
|
|
|
- <el-header v-show="!completeModeSwitch">
|
|
|
- <div ref="headerRefOld"/>
|
|
|
- <div ref="headerRef">
|
|
|
- <el-button-group>
|
|
|
- <el-button :disabled="!emrConfig.editor"
|
|
|
- type="success"
|
|
|
- icon="CircleCheck"
|
|
|
- @click="clickSaveData">
|
|
|
- 保存
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- title="提交不是保存"
|
|
|
- @click="clickToSubmitTheMedicalRecord"
|
|
|
- :disabled="!documentId || !emrConfig.editor">
|
|
|
- 提交病历
|
|
|
- </el-button>
|
|
|
- <el-button :disabled="!emrConfig.editor"
|
|
|
- icon="Delete" type="danger"
|
|
|
- @click="clickDelete">
|
|
|
- 删除
|
|
|
- </el-button>
|
|
|
- <el-button @click="recoveryDialog = true">
|
|
|
- 恢复
|
|
|
- </el-button>
|
|
|
- </el-button-group>
|
|
|
- <el-divider direction="vertical"/>
|
|
|
- <el-button-group>
|
|
|
- <!-- 工具 -->
|
|
|
- <emr-auxiliary-tools :pat-info="props.huanZheXinXi"
|
|
|
- @to-fill-in-data="clickToFillInData"
|
|
|
- :emr-data="patientData"/>
|
|
|
- <el-button @click="drgIntelligentGrouping"
|
|
|
- type="primary"
|
|
|
- title="drg的预分组">
|
|
|
- DRG分组
|
|
|
- </el-button>
|
|
|
- </el-button-group>
|
|
|
- <el-divider direction="vertical"/>
|
|
|
- <!-- 恢复到上一次保存的状态 -->
|
|
|
- <historical-emr v-if="recoveryDialog"
|
|
|
- @closed="recoveryDialog = false"
|
|
|
- :docunent-id="documentId"
|
|
|
- @restore-data="restoreData"/>
|
|
|
- <el-button-group>
|
|
|
- <!-- 页面打印支持病历续打,但是可能会出现打印错误,<br/>如果页面打印无法使用请用服务打印,服务打印也不行请换win10电脑打印。-->
|
|
|
- <el-button type="primary" icon="Printer" @click="frontEndPrinting"
|
|
|
- title="页面打印支持病历续打,但是可能会出现打印错误,<br/>如果页面打印无法使用请用服务打印,服务打印也不行请换win10电脑打印。">
|
|
|
- 页面
|
|
|
- </el-button>
|
|
|
- <el-button type="primary" icon="Printer" @click="servicePrint"
|
|
|
- title="服务打印慢,但是不会出现页面打印错误,不支持病历续打。">
|
|
|
- 服务
|
|
|
- </el-button>
|
|
|
- </el-button-group>
|
|
|
- <el-divider direction="vertical"/>
|
|
|
- <el-button-group>
|
|
|
- <el-button type="primary" icon="ZoomIn" @click="zoomFunc(0.1)"
|
|
|
- title="放大病历">
|
|
|
- </el-button>
|
|
|
- <el-button type="primary" icon="ZoomOut" @click="zoomFunc(-0.1)"
|
|
|
- title="缩小病历">
|
|
|
- </el-button>
|
|
|
- </el-button-group>
|
|
|
-
|
|
|
- <el-divider direction="vertical"/>
|
|
|
- <el-select v-model="reviewMode"
|
|
|
- style="width: 60px; "
|
|
|
- @change="isRevisionMode"
|
|
|
- title="审阅模式">
|
|
|
- <el-option :value="0" label="关闭"
|
|
|
- title="页面上不显示修改记录"/>
|
|
|
- <el-option :value="1" label="开启"
|
|
|
- title="病历右侧会以列表的形式显示 添加,删除,更新的记录"/>
|
|
|
- <el-option :value="2" label="嵌入"
|
|
|
- title="嵌入病历显示修改记录,新增的记录会用背景颜色标记,删除的记录 通过画删除线标记"/>
|
|
|
- </el-select>
|
|
|
- <el-button-group>
|
|
|
- <el-button icon="RefreshLeft"
|
|
|
- @click="clickUndo('undo')"
|
|
|
- title="撤销"/>
|
|
|
- <el-button icon="RefreshRight"
|
|
|
- @click="clickUndo('redo')"
|
|
|
- title="重做"/>
|
|
|
- </el-button-group>
|
|
|
- <el-button-group>
|
|
|
- <el-button title="仅在病程记录中生效,根据病程记录的时间来进行排序,从小到大。"
|
|
|
- icon="SortDown"
|
|
|
- @click="diseaseCourseSequencing"/>
|
|
|
- <el-button title="为页面添加分页标识符,分页符后强制为新页面。" @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 title="收起左边模板"
|
|
|
- @click="foldBothSides.isLeft= !foldBothSides.isLeft">
|
|
|
- <el-icon>
|
|
|
- <Fold/>
|
|
|
- </el-icon>
|
|
|
- </el-button>
|
|
|
- <el-button title="收起右边片段"
|
|
|
- @click="foldBothSides.isRight= !foldBothSides.isRight">
|
|
|
- <el-icon>
|
|
|
- <Expand/>
|
|
|
- </el-icon>
|
|
|
- </el-button>
|
|
|
- </el-button-group>
|
|
|
- <el-divider direction="vertical"/>
|
|
|
- <el-checkbox v-model="autoSave" label="自动保存" @change="autoSaveChange"/>
|
|
|
- <el-divider direction="vertical"/>
|
|
|
- </div>
|
|
|
+ <el-header>
|
|
|
+ <el-button-group>
|
|
|
+ <el-button :disabled="!emrConfig.editor"
|
|
|
+ type="success"
|
|
|
+ icon="CircleCheck"
|
|
|
+ @click="clickSaveData">
|
|
|
+ 保存
|
|
|
+ </el-button>
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ title="提交不是保存"
|
|
|
+ @click="clickToSubmitTheMedicalRecord"
|
|
|
+ :disabled="!documentId || !emrConfig.editor">
|
|
|
+ 提交病历
|
|
|
+ </el-button>
|
|
|
+ <el-button :disabled="!emrConfig.editor"
|
|
|
+ icon="Delete" type="danger"
|
|
|
+ @click="clickDelete">
|
|
|
+ 删除
|
|
|
+ </el-button>
|
|
|
+ <el-button @click="recoveryDialog = true">
|
|
|
+ 恢复
|
|
|
+ </el-button>
|
|
|
+ </el-button-group>
|
|
|
+ <el-divider direction="vertical"/>
|
|
|
+ <el-button-group>
|
|
|
+ <!-- 工具 -->
|
|
|
+ <emr-auxiliary-tools :pat-info="props.huanZheXinXi"
|
|
|
+ @to-fill-in-data="clickToFillInData"
|
|
|
+ :emr-data="patientData"/>
|
|
|
+ <el-button @click="drgIntelligentGrouping"
|
|
|
+ type="primary"
|
|
|
+ title="drg的预分组">
|
|
|
+ DRG分组
|
|
|
+ </el-button>
|
|
|
+ </el-button-group>
|
|
|
+ <el-divider direction="vertical"/>
|
|
|
+ <!-- 恢复到上一次保存的状态 -->
|
|
|
+ <historical-emr v-if="recoveryDialog"
|
|
|
+ @closed="recoveryDialog = false"
|
|
|
+ :docunent-id="documentId"
|
|
|
+ @restore-data="restoreData"/>
|
|
|
+ <el-button-group>
|
|
|
+ <!-- 页面打印支持病历续打,但是可能会出现打印错误,<br/>如果页面打印无法使用请用服务打印,服务打印也不行请换win10电脑打印。-->
|
|
|
+ <el-button type="primary" icon="Printer" @click="frontEndPrinting"
|
|
|
+ title="页面打印支持病历续打,但是可能会出现打印错误,<br/>如果页面打印无法使用请用服务打印,服务打印也不行请换win10电脑打印。">
|
|
|
+ 页面
|
|
|
+ </el-button>
|
|
|
+ <el-button type="primary" icon="Printer" @click="servicePrint"
|
|
|
+ title="服务打印慢,但是不会出现页面打印错误,不支持病历续打。">
|
|
|
+ 服务
|
|
|
+ </el-button>
|
|
|
+ </el-button-group>
|
|
|
+ <el-divider direction="vertical"/>
|
|
|
+ <el-button-group>
|
|
|
+ <el-button type="primary" icon="ZoomIn" @click="zoomFunc(0.1)"
|
|
|
+ title="放大病历">
|
|
|
+ </el-button>
|
|
|
+ <el-button type="primary" icon="ZoomOut" @click="zoomFunc(-0.1)"
|
|
|
+ title="缩小病历">
|
|
|
+ </el-button>
|
|
|
+ </el-button-group>
|
|
|
+
|
|
|
+ <el-divider direction="vertical"/>
|
|
|
+ <el-select v-model="reviewMode"
|
|
|
+ style="width: 60px; "
|
|
|
+ @change="isRevisionMode"
|
|
|
+ title="审阅模式">
|
|
|
+ <el-option :value="0" label="关闭"
|
|
|
+ title="页面上不显示修改记录"/>
|
|
|
+ <el-option :value="1" label="开启"
|
|
|
+ title="病历右侧会以列表的形式显示 添加,删除,更新的记录"/>
|
|
|
+ <el-option :value="2" label="嵌入"
|
|
|
+ title="嵌入病历显示修改记录,新增的记录会用背景颜色标记,删除的记录 通过画删除线标记"/>
|
|
|
+ </el-select>
|
|
|
+ <el-button-group>
|
|
|
+ <el-button icon="RefreshLeft"
|
|
|
+ @click="clickUndo('undo')"
|
|
|
+ title="撤销"/>
|
|
|
+ <el-button icon="RefreshRight"
|
|
|
+ @click="clickUndo('redo')"
|
|
|
+ title="重做"/>
|
|
|
+ </el-button-group>
|
|
|
+ <el-button-group>
|
|
|
+ <el-button title="仅在病程记录中生效,根据病程记录的时间来进行排序,从小到大。"
|
|
|
+ icon="SortDown"
|
|
|
+ @click="diseaseCourseSequencing"/>
|
|
|
+ <el-button title="为页面添加分页标识符,分页符后强制为新页面。" @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 title="收起左边模板"
|
|
|
+ @click="foldBothSides.isLeft= !foldBothSides.isLeft">
|
|
|
+ <el-icon>
|
|
|
+ <Fold/>
|
|
|
+ </el-icon>
|
|
|
+ </el-button>
|
|
|
+ <el-button title="收起右边片段"
|
|
|
+ @click="foldBothSides.isRight= !foldBothSides.isRight">
|
|
|
+ <el-icon>
|
|
|
+ <Expand/>
|
|
|
+ </el-icon>
|
|
|
+ </el-button>
|
|
|
+ </el-button-group>
|
|
|
+ <el-divider direction="vertical"/>
|
|
|
+ <el-checkbox v-model="autoSave" label="自动保存" @change="autoSaveChange"/>
|
|
|
+ <el-divider direction="vertical"/>
|
|
|
</el-header>
|
|
|
<el-container>
|
|
|
<div class="modLeftRef" v-show="completeModeSwitch">
|