Commit 277b9973 by 唐玉峰

.

parent b1fecfa8
...@@ -83,4 +83,6 @@ window.webConfig = { ...@@ -83,4 +83,6 @@ window.webConfig = {
isPara: true, isPara: true,
}, },
], ],
isShow_HosAvgFee: true,
year: "24年",
}; };
...@@ -168,6 +168,10 @@ ...@@ -168,6 +168,10 @@
<!-- <span>药耗占比:{{ decimal(item.drugMatPercent) + "%" }}</span> --> <!-- <span>药耗占比:{{ decimal(item.drugMatPercent) + "%" }}</span> -->
<span>盈亏:{{ decimal(item.profitLoss) }}</span> <span>盈亏:{{ decimal(item.profitLoss) }}</span>
</div> </div>
<div class="outsetgrouping_centent_totalnum_left_text_msg2_text3">
<span v-if="isShow_HosAvgFee">{{ year }}同级医院平均住院日:{{ item.avgInHosDay }}</span>
<span v-if="isShow_HosAvgFee">{{ year }}同级医院次均费用:{{ decimal(item.hosAvgFee) }}</span>
</div>
</div> </div>
<div class="outpatientDetails_fenqu" v-if="item.lowMagnification != 0 && item.highMagnification != 0"> <div class="outpatientDetails_fenqu" v-if="item.lowMagnification != 0 && item.highMagnification != 0">
<div class="outpatientDetails_fenqu_di"> <div class="outpatientDetails_fenqu_di">
...@@ -414,11 +418,18 @@ export default { ...@@ -414,11 +418,18 @@ export default {
}, },
}; };
}, },
computed: {
year() {
return window.webConfig.year;
},
isShow_HosAvgFee() {
return window.webConfig.isShow_HosAvgFee;
},
},
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
window.addEventListener("mouseover", this.myTimeOut); window.addEventListener("mouseover", this.myTimeOut);
}); });
console.log(location.origin);
this.myTimeOut(); this.myTimeOut();
this.getCaseHis(this.$route.query.id); this.getCaseHis(this.$route.query.id);
if (this.searchForm.diagName.length > 0) { if (this.searchForm.diagName.length > 0) {
...@@ -1055,8 +1066,8 @@ export default { ...@@ -1055,8 +1066,8 @@ export default {
} }
&_text { &_text {
flex: 1; flex: 1;
padding-left: 10px; padding: 10px;
height: 100%; height: 96%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
...@@ -1155,7 +1166,7 @@ export default { ...@@ -1155,7 +1166,7 @@ export default {
background-color: rgba(44, 171, 227, 0.08); background-color: rgba(44, 171, 227, 0.08);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 35%; height: 50%;
justify-content: center; justify-content: center;
padding-top: 10px; padding-top: 10px;
&_text3 { &_text3 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment