|
@@ -1,9 +1,9 @@
|
|
|
<template>
|
|
|
<div id="MyDiv" style="margin: 16px" :class="{ nocopy: $route.query.status }">
|
|
|
<div class="header zbjg-box" style="background: #fff;margin: 10px 0;padding: 6px 20px;">
|
|
|
- <div>
|
|
|
+ <span>
|
|
|
<el-button type="primary" v-if="!($route.query.from == 'majorIndexDetail')" style="background-color: #328240;" @click="onControll">重新质控</el-button>
|
|
|
- </div>
|
|
|
+ </span>
|
|
|
<div>
|
|
|
<el-button @click="clickzbjg" v-if="$route.query.from == 'majorIndexDetail'">指标结果</el-button>
|
|
|
<el-button type="primary" v-if="!($route.query.from == 'majorIndexDetail')" @click="isControl = !isControl">智审结果</el-button>
|
|
@@ -149,7 +149,7 @@
|
|
|
<!-- status 不存在 意味着不脱敏、医院自助查询 -->
|
|
|
<template v-if="!$route.query.status && isControl">
|
|
|
<!-- 病案首页质控 -->
|
|
|
- <CaseQualityBox :mainHomeData="mainHomeData" :MED_REC_ID="valData" v-if="results" :data="results" :type="type_v" :width="340" :height="820" @hightRight="hightRight" />
|
|
|
+ <CaseQualityBox :mainHomeData="mainHomeData" :MED_REC_ID="valData" type="type_v" :width="340" :height="820" @hightRight="hightRight" />
|
|
|
</template>
|
|
|
</div>
|
|
|
|
|
@@ -391,7 +391,7 @@ export default {
|
|
|
}
|
|
|
this.isControl = localStorage.getItem('isControl') == 'true' ? true : false;
|
|
|
console.log(!this.$route.query.status && this.isControl, !this.$route.query.status, this.isControl);
|
|
|
-
|
|
|
+ this.valData = this.$route.query.from == 'expertQualityControl'? this.$route.query.ZYH : this.storageGet('getData');
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getInitData();
|
|
@@ -418,7 +418,6 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
getInitData() {
|
|
|
- this.valData = this.$route.query.from == 'expertQualityControl'? this.$route.query.ZYH : this.storageGet('getData');
|
|
|
this.ruleId = this.storageGet('getDataRule');
|
|
|
let xqItemError = this.storageGet('xqItemError');
|
|
|
if(xqItemError){
|
|
@@ -506,26 +505,26 @@ export default {
|
|
|
},
|
|
|
// 获取新病案指控结果
|
|
|
getCaseQualityResults() {
|
|
|
- const params = {
|
|
|
- id: Number(this.valData),
|
|
|
- ruleId: Number(this.ruleId)
|
|
|
- };
|
|
|
- if (this.type_v == 'v2') {
|
|
|
- // (事中)
|
|
|
- this.$axios2.post('/get_case_quality_v2', params).then(res => {
|
|
|
- this.results = null;
|
|
|
- this.$nextTick(() => {
|
|
|
- this.results = res.data;
|
|
|
- });
|
|
|
- });
|
|
|
- } else {
|
|
|
- this.$axios2.post('/get_case_quality', params).then(res => {
|
|
|
- this.results = null;
|
|
|
- this.$nextTick(() => {
|
|
|
- this.results = res.data;
|
|
|
- });
|
|
|
- });
|
|
|
- }
|
|
|
+ // const params = {
|
|
|
+ // id: Number(this.valData),
|
|
|
+ // ruleId: Number(this.ruleId)
|
|
|
+ // };
|
|
|
+ // if (this.type_v == 'v2') {
|
|
|
+ // // (事中)
|
|
|
+ // this.$axios2.post('/get_case_quality_v2', params).then(res => {
|
|
|
+ // this.results = null;
|
|
|
+ // this.$nextTick(() => {
|
|
|
+ // this.results = res.data;
|
|
|
+ // });
|
|
|
+ // });
|
|
|
+ // } else {
|
|
|
+ // this.$axios2.post('/get_case_quality', params).then(res => {
|
|
|
+ // this.results = null;
|
|
|
+ // this.$nextTick(() => {
|
|
|
+ // this.results = res.data;
|
|
|
+ // });
|
|
|
+ // });
|
|
|
+ // }
|
|
|
},
|
|
|
reload() {
|
|
|
// 移除组件
|
|
@@ -808,6 +807,7 @@ export default {
|
|
|
text-align: right;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
.cont_container {
|
|
|
height: calc(100% - 68px - 20px);
|