|
@@ -1,7 +1,8 @@
|
|
|
<template>
|
|
|
<el-container>
|
|
|
<el-header height="36px" style="margin-top: 8px">
|
|
|
- <el-date-picker v-model="dateRange" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker>
|
|
|
+ <el-date-picker v-model="dateRange" type="daterange" range-separator="至" start-placeholder="开始日期"
|
|
|
+ end-placeholder="结束日期"></el-date-picker>
|
|
|
<el-button @click="getHuiZhenDataClick" type="primary" icon="el-icon-search">检索</el-button>
|
|
|
<el-button icon="el-icon-upload" type="primary" @click="baoCunHuiZhenClick">保存</el-button>
|
|
|
<el-button icon="el-icon-printer" type="success" @click="daYingClick">打印</el-button>
|
|
@@ -17,13 +18,13 @@
|
|
|
<el-table-column label="申请次数" prop="reqTimes"></el-table-column>
|
|
|
</el-table>
|
|
|
<el-pagination
|
|
|
- :pager-count="5"
|
|
|
- small
|
|
|
- :total="total"
|
|
|
- layout="prev, pager, next,total"
|
|
|
- :current-page="currentPage"
|
|
|
- :page-size="pageSize"
|
|
|
- @current-change="handleCurrentChange"
|
|
|
+ :pager-count="5"
|
|
|
+ small
|
|
|
+ :total="total"
|
|
|
+ layout="prev, pager, next,total"
|
|
|
+ :current-page="currentPage"
|
|
|
+ :page-size="pageSize"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
></el-pagination>
|
|
|
</el-aside>
|
|
|
<el-main>
|
|
@@ -51,20 +52,23 @@
|
|
|
</div>
|
|
|
<!-- 病情简介 -->
|
|
|
<div class="zhenDuanBianJu">
|
|
|
- 病情简介 <br />
|
|
|
- <textarea v-model="huanZheXinXi.reqComment" readonly="value" class="zhenDuanTextarea" style="height: 154px" />
|
|
|
+ 病情简介 <br/>
|
|
|
+ <textarea v-model="huanZheXinXi.reqComment" readonly="value" class="zhenDuanTextarea"
|
|
|
+ style="height: 154px"/>
|
|
|
</div>
|
|
|
|
|
|
<!-- 目前主要诊断 -->
|
|
|
<div class="zhenDuanBianJu">
|
|
|
- 目前主要诊断 <br />
|
|
|
- <textarea v-model="huanZheXinXi.hzZd" readonly="value" class="zhenDuanTextarea" style="height: 50px"></textarea>
|
|
|
+ 目前主要诊断 <br/>
|
|
|
+ <textarea v-model="huanZheXinXi.hzZd" readonly="value" class="zhenDuanTextarea"
|
|
|
+ style="height: 50px"></textarea>
|
|
|
</div>
|
|
|
|
|
|
<!-- 会诊目的 -->
|
|
|
<div class="zhenDuanBianJu">
|
|
|
- 会诊目的 <br />
|
|
|
- <textarea v-model="huanZheXinXi.hzMd" readonly="value" class="zhenDuanTextarea" style="height: 50px"></textarea>
|
|
|
+ 会诊目的 <br/>
|
|
|
+ <textarea v-model="huanZheXinXi.hzMd" readonly="value" class="zhenDuanTextarea"
|
|
|
+ style="height: 50px"></textarea>
|
|
|
</div>
|
|
|
<div class="qingQiuHuiZhenXinXi">
|
|
|
<div class="div1">请求会诊科室:{{ huanZheXinXi.deptCodeName }}</div>
|
|
@@ -76,14 +80,14 @@
|
|
|
<div class="huiZhenBody">
|
|
|
<!-- 会诊意见 -->
|
|
|
<div class="zhenDuanBianJu">
|
|
|
- 会诊意见 <br />
|
|
|
+ 会诊意见 <br/>
|
|
|
<textarea
|
|
|
- maxlength="1100"
|
|
|
- autoHeight="true"
|
|
|
- v-model="huanZheXinXi.hzComment"
|
|
|
- class="zhenDuanTextarea"
|
|
|
- style="height: 329px"
|
|
|
- onkeydown="javascript:if(event.keyCode == 13)event.returnValue = false;"
|
|
|
+ maxlength="1100"
|
|
|
+ autoHeight="true"
|
|
|
+ v-model="huanZheXinXi.hzComment"
|
|
|
+ class="zhenDuanTextarea"
|
|
|
+ style="height: 329px"
|
|
|
+ onkeydown="javascript:if(event.keyCode == 13)event.returnValue = false;"
|
|
|
>
|
|
|
</textarea>
|
|
|
</div>
|
|
@@ -101,16 +105,16 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { ref } from '@vue/reactivity'
|
|
|
-import { getDeptName, getHuanZheXinXi, getHuiZhenData, wanChenHuiZhen } from '@/api/case-front-sheet/jie-shou-hui-zhen'
|
|
|
-import { cptSex } from '@/utils/computed'
|
|
|
+import {ref} from '@vue/reactivity'
|
|
|
+import {getDeptName, getHuanZheXinXi, getHuiZhenData, wanChenHuiZhen} from '@/api/case-front-sheet/jie-shou-hui-zhen'
|
|
|
+import {cptSex} from '@/utils/computed'
|
|
|
import store from '@/store'
|
|
|
-import { getDateRangeFormatDate, getDate, getDatetime } from '@/utils/date'
|
|
|
-import { onActivated, onDeactivated, onMounted } from '@vue/runtime-core'
|
|
|
-import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
+import {getDateRangeFormatDate, getDate, getDatetime} from '@/utils/date'
|
|
|
+import {onActivated, onDeactivated, onMounted} from '@vue/runtime-core'
|
|
|
+import {ElMessage, ElMessageBox} from 'element-plus'
|
|
|
import '@/css/hui-zhen-ji-lv-dan.css'
|
|
|
-import { initLodop, getLodop } from '@/utils/c-lodop'
|
|
|
-import { huiZhenJiLvDanCss } from '@/data/css-for-print'
|
|
|
+import {initLodop, getLodop} from '@/utils/c-lodop'
|
|
|
+import {huiZhenJiLvDanCss} from '../../../data/css-for-print'
|
|
|
|
|
|
export default {
|
|
|
setup() {
|
|
@@ -203,22 +207,21 @@ export default {
|
|
|
type: 'warning',
|
|
|
closeOnClickModal: false,
|
|
|
closeOnPressEscape: false,
|
|
|
- closeOnPressEscape: false,
|
|
|
showClose: false,
|
|
|
cancelButtonText: '仅保存',
|
|
|
confirmButtonText: '完成会诊',
|
|
|
})
|
|
|
- .then(() => {
|
|
|
- huanZheXinXi.value.statusFlag = 2
|
|
|
- // 完成 会诊 发送 axios
|
|
|
- wanChenHuiZhen(huanZheXinXi.value)
|
|
|
- getHuiZhenDataClick()
|
|
|
- huanZheXinXi.value = []
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- huanZheXinXi.value.statusFlag = 1
|
|
|
- wanChenHuiZhen(huanZheXinXi.value)
|
|
|
- })
|
|
|
+ .then(() => {
|
|
|
+ huanZheXinXi.value.statusFlag = 2
|
|
|
+ // 完成 会诊 发送 axios
|
|
|
+ wanChenHuiZhen(huanZheXinXi.value)
|
|
|
+ getHuiZhenDataClick()
|
|
|
+ huanZheXinXi.value = []
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ huanZheXinXi.value.statusFlag = 1
|
|
|
+ wanChenHuiZhen(huanZheXinXi.value)
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
///////////////////////////////////////////////////////// 开启打印 ///////////////////////////////////////////////////////////////////////////////
|
|
@@ -283,6 +286,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
}
|
|
|
+
|
|
|
function hzLeiBie(val) {
|
|
|
switch (val) {
|
|
|
case '1':
|