|
@@ -444,7 +444,7 @@ export default {
|
|
const { ZYH, id } = this.$route.query
|
|
const { ZYH, id } = this.$route.query
|
|
this.MEDRECID = this.$route.path == '/whitelist-qualityResults' ? id : ZYH;
|
|
this.MEDRECID = this.$route.path == '/whitelist-qualityResults' ? id : ZYH;
|
|
if(!(this.$route.path == '/whitelist-qualityResults' || this.$route.path == '/whitelist-bmyQualityResult')) {
|
|
if(!(this.$route.path == '/whitelist-qualityResults' || this.$route.path == '/whitelist-bmyQualityResult')) {
|
|
- this.getMessageNum(ZYH);
|
|
|
|
|
|
+ this.getMessageNum();
|
|
}
|
|
}
|
|
this.getTabsData()
|
|
this.getTabsData()
|
|
},
|
|
},
|
|
@@ -461,8 +461,8 @@ export default {
|
|
return '驳回'
|
|
return '驳回'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- getMessageNum(newVal){
|
|
|
|
- getNumberInfo({ZYH: newVal}).then(res => {
|
|
|
|
|
|
+ getMessageNum(){
|
|
|
|
+ getNumberInfo({ZYH: this.MEDRECID}).then(res => {
|
|
this.tabList[0].medical = res.data.errorV2;
|
|
this.tabList[0].medical = res.data.errorV2;
|
|
this.tabList[1].medical = res.data.medicalRecord;
|
|
this.tabList[1].medical = res.data.medicalRecord;
|
|
this.tabList[2].medical = res.data.homeQuality;
|
|
this.tabList[2].medical = res.data.homeQuality;
|
|
@@ -654,7 +654,7 @@ export default {
|
|
this.$refs.AppealModalRef.openAppealDialog(type, items, quality_type)
|
|
this.$refs.AppealModalRef.openAppealDialog(type, items, quality_type)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- getTabsData() {
|
|
|
|
|
|
+ getTabsData(isNeedRefreshNum) {
|
|
// 病案首页
|
|
// 病案首页
|
|
if(this.activeName == 'first') {
|
|
if(this.activeName == 'first') {
|
|
this.getQualityResult();
|
|
this.getQualityResult();
|
|
@@ -667,6 +667,9 @@ export default {
|
|
if(this.activeName == 'third') {
|
|
if(this.activeName == 'third') {
|
|
this.getData();
|
|
this.getData();
|
|
}
|
|
}
|
|
|
|
+ if(isNeedRefreshNum) {
|
|
|
|
+ this.getMessageNum();
|
|
|
|
+ }
|
|
},
|
|
},
|
|
clickAppealEdit(item, quality_type) {
|
|
clickAppealEdit(item, quality_type) {
|
|
console.log('>>>>', item)
|
|
console.log('>>>>', item)
|