|
@@ -149,7 +149,7 @@
|
|
|
<!-- status 不存在 意味着不脱敏、医院自助查询 -->
|
|
|
<template v-if="!$route.query.status && isControl">
|
|
|
<!-- 病案首页质控 -->
|
|
|
- <CaseQualityBox :mainHomeData="mainHomeData" :MED_REC_ID="valData" type="type_v" :width="340" :height="820" @hightRight="hightRight" />
|
|
|
+ <CaseQualityBox ref="CaseQualityBoxRef" :mainHomeData="mainHomeData" :MED_REC_ID="valData" type="type_v" :width="340" :height="820" @hightRight="hightRight" />
|
|
|
</template>
|
|
|
</div>
|
|
|
|
|
@@ -392,6 +392,12 @@ 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');
|
|
|
+ this.ruleId = this.storageGet('getDataRule');
|
|
|
+ let xqItemError = this.storageGet('xqItemError');
|
|
|
+ if(xqItemError){
|
|
|
+ this.xqItemError = JSON.parse(xqItemError);
|
|
|
+ // this.is_VueDragResize= true;
|
|
|
+ }
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getInitData();
|
|
@@ -418,24 +424,13 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
getInitData() {
|
|
|
- this.ruleId = this.storageGet('getDataRule');
|
|
|
- let xqItemError = this.storageGet('xqItemError');
|
|
|
- if(xqItemError){
|
|
|
- this.xqItemError = JSON.parse(xqItemError);
|
|
|
- // this.is_VueDragResize= true;
|
|
|
- }
|
|
|
-
|
|
|
if (this.valData) {
|
|
|
if (this.$route.query.from !== 'forewarning') {
|
|
|
- if(this.$route.query.bllb && this.$route.query.bllb == '-1') {
|
|
|
- this.is_active = 0
|
|
|
- this.funQuery();
|
|
|
- } else {
|
|
|
+ if(this.$route.query.from != 'expertQualityControl') {
|
|
|
this.is_active = 0
|
|
|
this.funQuery();
|
|
|
}
|
|
|
}
|
|
|
- this.getCaseQualityResults();
|
|
|
}
|
|
|
this.getTree();
|
|
|
},
|
|
@@ -491,15 +486,17 @@ export default {
|
|
|
this.$axios2.get(`/quality_handle?zyh=${this.valData}`, {
|
|
|
timeout: 180000
|
|
|
}).then(res => {
|
|
|
- if (res.data === true) {
|
|
|
- this.valData = this.storageGet('getData');
|
|
|
- if (this.valData) {
|
|
|
- if (this.$route.query.from !== 'forewarning') {
|
|
|
- this.funQuery();
|
|
|
- }
|
|
|
- this.getCaseQualityResults();
|
|
|
- }
|
|
|
- this.getTree();
|
|
|
+ if (res.code == 200) {
|
|
|
+ // this.valData = this.storageGet('getData');
|
|
|
+ // if (this.valData) {
|
|
|
+ // if (this.$route.query.from !== 'forewarning') {
|
|
|
+ // this.funQuery();
|
|
|
+ // }
|
|
|
+ // this.getCaseQualityResults();
|
|
|
+ // }
|
|
|
+ // this.getTree();
|
|
|
+ this.getInitData()
|
|
|
+ this.$refs.CaseQualityBoxRef.getInitData();
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -584,6 +581,10 @@ export default {
|
|
|
},
|
|
|
setCurrentTreeNode() {
|
|
|
const currentTreeRow = this.treeList[this.$route.query.currentKey]
|
|
|
+ if(this.$route.query.bllb && this.$route.query.bllb == '-1') {
|
|
|
+ this.is_active = 0
|
|
|
+ this.funQuery();
|
|
|
+ }
|
|
|
if (this.$route.query.bllb && this.$route.query.bllb != '-1' && !this.$route.query.blbh) {
|
|
|
// this.$message.success('请求多组')
|
|
|
if(this.$route.query.specialName) { // 如果是医嘱
|