|
@@ -1,9 +1,18 @@
|
|
|
<template>
|
|
|
<div id="MyDiv" :class="{ nocopy: $route.query.status }">
|
|
|
- <div style="display: flex;justify-content: flex-end;margin-bottom: 10px;">
|
|
|
- <el-button type="primary" @click="toExamine" :disabled="review_status == 2">审核通过</el-button>
|
|
|
- <el-button type="primary" @click="caseShow = !caseShow">病历智审结果</el-button>
|
|
|
- </div>
|
|
|
+ <el-row type="flex" justify="space-between" style="margin-bottom: 10px;">
|
|
|
+ <el-tabs v-model="currentTab">
|
|
|
+ <el-tab-pane label="未编目首页" name="1" />
|
|
|
+ <el-tab-pane label="已编目首页" name="2" />
|
|
|
+ </el-tabs>
|
|
|
+ <div v-if="$route.query.from == 'review'">
|
|
|
+ <el-button type="primary" @click="caseShow = !caseShow">申诉问题</el-button>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <el-button type="primary" @click="toExamine" :disabled="review_status == 2">审核通过</el-button>
|
|
|
+ <el-button type="primary" @click="caseShow = !caseShow">病历智审结果</el-button>
|
|
|
+ </div>
|
|
|
+ </el-row>
|
|
|
<div class="cont_container">
|
|
|
<!-- 左侧点击列表部分 -->
|
|
|
<div class="cont-left-tiem">
|
|
@@ -112,13 +121,13 @@
|
|
|
<!-- 住院病案质控 -->
|
|
|
<CaseQualityBox :resultsList="resultsData" v-if="results.data" @clickAppealBtn="clickAppealBtn" :width="340"
|
|
|
:height="820" ref="CaseQualityBox" :caseShow="caseShow" @close="handleClose"
|
|
|
- :MED_REC_ID="mainHomeData.MED_REC_ID" :CWH="mainHomeData.CWH" :AAA29="mainHomeData.AAA29" />
|
|
|
+ :MED_REC_ID="mainHomeData.MED_REC_ID" :CWH="mainHomeData.CWH" :AAA29="mainHomeData.AAA29" @changeTab="(e) => currentTab = e"/>
|
|
|
</template>
|
|
|
</div>
|
|
|
<!-- 添加质控结果 -->
|
|
|
<CreateControlResultDialogVue v-if="dialogData.bSwitch" :AAA28="mainHomeData.AAA28" :data="dialogData"
|
|
|
@refresh="handelRefreshResults" :MED_REC_ID="mainHomeData.MED_REC_ID" :CWH="mainHomeData.CWH"
|
|
|
- :AAA29="mainHomeData.AAA29" :JSKS="mainHomeData.AAC11C" @close="handleUpdate"/>
|
|
|
+ :AAA29="mainHomeData.AAA29" :JSKS="mainHomeData.AAC11C" @close="handleUpdate" :currentTreeItem="currentTreeItem"/>
|
|
|
<!-- 右键菜单 -->
|
|
|
<div class="dialog-box">
|
|
|
<el-dialog title="通知" :show-close="false" :visible.sync="gridCustomizeVisible" width='350px'>
|
|
@@ -220,6 +229,8 @@ export default {
|
|
|
props: {},
|
|
|
data() {
|
|
|
return {
|
|
|
+ currentTreeItem: null,
|
|
|
+ currentTab: "1",
|
|
|
mainHomeData: {},
|
|
|
admissionRecord: {},
|
|
|
longAdvice: {},
|
|
@@ -331,6 +342,9 @@ export default {
|
|
|
document.body.removeEventListener("click", this.closeMenu);
|
|
|
}
|
|
|
},
|
|
|
+ currentTab() {
|
|
|
+ this.funQuery()
|
|
|
+ }
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getInitData();
|
|
@@ -473,15 +487,22 @@ export default {
|
|
|
},
|
|
|
funQuery() {
|
|
|
const params = {
|
|
|
- id: this.valData
|
|
|
+ [this.currentTab == '1' ? 'ZYH' : 'id']: this.valData
|
|
|
}
|
|
|
if (this.$route.query.status) {
|
|
|
params.is_tm = 1
|
|
|
}
|
|
|
- getHomeData(params).then(res => {
|
|
|
- this.mainHomeData = res.data
|
|
|
- this.is_active_blbh = this.mainHomeData.MED_REC_ID
|
|
|
- })
|
|
|
+ if(this.currentTab == '1') {
|
|
|
+ this.$axios.post('/home_sz_quality/blInfo', params).then(res => {
|
|
|
+ this.mainHomeData = res.data
|
|
|
+ this.is_active_blbh = this.mainHomeData.MED_REC_ID
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ getHomeData(params).then(res => {
|
|
|
+ this.mainHomeData = res.data
|
|
|
+ this.is_active_blbh = this.mainHomeData.MED_REC_ID
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
getTree() {
|
|
|
const that = this
|
|
@@ -493,6 +514,8 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
clickTree(b, n, item) {
|
|
|
+ console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>', item)
|
|
|
+ this.currentTreeItem = {...item}
|
|
|
if (item) {
|
|
|
if (item.blbh) {
|
|
|
this.is_active_blbh = item.blbh
|
|
@@ -703,22 +726,23 @@ export default {
|
|
|
.cont_container {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
+ height: calc(100% - 64px)
|
|
|
}
|
|
|
|
|
|
.cont-left-tiem {
|
|
|
width: 250px;
|
|
|
- margin: 0 0 0 15px;
|
|
|
- min-height: 650px;
|
|
|
- height: calc(100vh - 130px);
|
|
|
+ // margin: 0 0 0 15px;
|
|
|
+ // min-height: 650px;
|
|
|
+ height: 100%;
|
|
|
overflow-y: scroll;
|
|
|
background: #ffffff;
|
|
|
}
|
|
|
|
|
|
.cont-left-file {
|
|
|
flex: 1;
|
|
|
- min-height: 650px;
|
|
|
+ // min-height: 650px;
|
|
|
margin: 0 5px;
|
|
|
- height: calc(100vh - 130px);
|
|
|
+ height: 100%;
|
|
|
overflow-y: scroll;
|
|
|
background: #ffffff;
|
|
|
border: 1px solid #e2e2e2;
|