|
@@ -10,38 +10,38 @@
|
|
|
<!-- <div class="bgimg"></div> -->
|
|
|
<div class="content">
|
|
|
<div class="injectRecord">
|
|
|
- <div v-if="latestCase.hasrecords">
|
|
|
- <div class="formTitle">体内FVIII活性水平实时预报</div>
|
|
|
- <div class="lrcontainer">
|
|
|
- <div class="lritem left">
|
|
|
- <!-- <div class="personRatio">
|
|
|
+ <div v-if="latestCase.hasrecords">
|
|
|
+ <div class="formTitle">体内FVIII活性水平实时预报</div>
|
|
|
+ <div class="lrcontainer">
|
|
|
+ <div class="lritem left">
|
|
|
+ <!-- <div class="personRatio">
|
|
|
|
|
|
</div> -->
|
|
|
|
|
|
- <img class="ratioBg3" src="../assets/images/personbg.png" width="80" height="216"></img>
|
|
|
- <div class="ratioBg" :style="'height:'+ratioHeight+'px;'" >
|
|
|
- <!-- <img src="../assets/images/ratiotop.png" width="100%" style="position:absolute;top:-16px;left:0;right:0;margin:auto;" ></img> -->
|
|
|
- </div>
|
|
|
- <img class="ratioBg2" src="../assets/images/personbg1.png" width="80" height="216"></img>
|
|
|
+ <img class="ratioBg3" src="../assets/images/personbg.png" width="80" height="216"></img>
|
|
|
+ <div class="ratioBg" :style="'height:'+ratioHeight+'px;'">
|
|
|
+ <!-- <img src="../assets/images/ratiotop.png" width="100%" style="position:absolute;top:-16px;left:0;right:0;margin:auto;" ></img> -->
|
|
|
+ </div>
|
|
|
+ <img class="ratioBg2" src="../assets/images/personbg1.png" width="80" height="216"></img>
|
|
|
|
|
|
- </div>
|
|
|
- <div class="lritem right">
|
|
|
- <!-- <p style="margin:5px 0px;color:red;font-weight:bold;font-size:1.5rem">FVIII浓度:{{latestCase.FVIII}}</p> -->
|
|
|
- <div class="rowfont" style="margin:5px 0px;color:red;font-weight:bold;font-size:1.4rem">
|
|
|
- FVIII浓度:{{latestCase.FVIII}}%</div>
|
|
|
- <div class="rowfont">参考方案</div>
|
|
|
- <div class="rowfont">1.产品:{{latestCase.ckmpro}}</div>
|
|
|
- <div class="rowfont">2.剂量:{{latestCase.ckzsjl}}</div>
|
|
|
- <div class="rowfont">3.频次:{{latestCase.ckmfreq}}</div>
|
|
|
- <div class="rowfont">本结果仅供参考,</div>
|
|
|
- <div class="rowfont">具体治疗方案请遵医嘱执行</div>
|
|
|
+ </div>
|
|
|
+ <div class="lritem right">
|
|
|
+ <!-- <p style="margin:5px 0px;color:red;font-weight:bold;font-size:1.5rem">FVIII浓度:{{latestCase.FVIII}}</p> -->
|
|
|
+ <div class="rowfont" style="margin:5px 0px;color:red;font-weight:bold;font-size:1.4rem">
|
|
|
+ FVIII浓度:{{latestCase.FVIII}}%</div>
|
|
|
+ <div class="rowfont">参考方案</div>
|
|
|
+ <div class="rowfont">1.产品:{{latestCase.ckmpro}}</div>
|
|
|
+ <div class="rowfont">2.剂量:{{latestCase.ckzsjl}}</div>
|
|
|
+ <div class="rowfont">3.频次:{{latestCase.ckmfreq}}</div>
|
|
|
+ <div class="rowfont">本结果仅供参考,</div>
|
|
|
+ <div class="rowfont">具体治疗方案请遵医嘱执行</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
<div class="footer">
|
|
|
<div class="jbbtn" @click="goPage('/patclockin')">注射打卡</div>
|
|
|
<div class="jbbtn" @click="goPage('/patinjectionlist')">注射记录</div>
|
|
|
- <div class="jbbtn" @click="goPage('/procaselist')">查看PK曲线</div>
|
|
|
+ <div class="jbbtn" @click="goPage('/procaselist')">PK及方案</div>
|
|
|
<div class="jbbtn" @click="logout">退出登录</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -70,7 +70,9 @@
|
|
|
未查询到您的信息请等待主治医生进行信息录入
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="footer"><div class="jbbtn" @click="logout">退出登录</div></div>
|
|
|
+ <div class="footer">
|
|
|
+ <div class="jbbtn" @click="logout">退出登录</div>
|
|
|
+ </div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
@@ -92,7 +94,7 @@
|
|
|
inflag: 0,
|
|
|
patinfo: {},
|
|
|
latestCase: {},
|
|
|
- ratioHeight:0
|
|
|
+ ratioHeight: 0
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -105,17 +107,18 @@
|
|
|
window.location.reload()
|
|
|
},
|
|
|
getData() {
|
|
|
- this.$api.getPatientLatestCase().then(res => {
|
|
|
- if (!res.data.code) {
|
|
|
- this.latestCase = res.data.data
|
|
|
- this.ratioHeight = 216/100*this.latestCase.FVIII
|
|
|
- }
|
|
|
- }),
|
|
|
- this.$api.getAccountInfo().then(res => {
|
|
|
- if (!res.data.code) {
|
|
|
- this.patinfo = res.data.data
|
|
|
- }
|
|
|
- })
|
|
|
+ this.$api.getAccountInfo().then(res => {
|
|
|
+ if (!res.data.code) {
|
|
|
+ this.patinfo = res.data.data
|
|
|
+
|
|
|
+ this.$api.getPatientLatestCase().then(res => {
|
|
|
+ if (!res.data.code) {
|
|
|
+ this.latestCase = res.data.data
|
|
|
+ this.ratioHeight = 216 / 100 * this.latestCase.FVIII
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -214,49 +217,54 @@
|
|
|
.ratioBg {
|
|
|
width: 78px;
|
|
|
position: absolute;
|
|
|
- left:0;
|
|
|
- right:0;
|
|
|
- bottom:20px;
|
|
|
- margin:auto;
|
|
|
- z-index:0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 20px;
|
|
|
+ margin: auto;
|
|
|
+ z-index: 0;
|
|
|
/* background:#2D9AF4; */
|
|
|
background-image: url("../assets/images/test.png");
|
|
|
background-size: 100% 100%;
|
|
|
height: 100px;
|
|
|
}
|
|
|
+
|
|
|
.ratioBg1 {
|
|
|
width: 80px;
|
|
|
position: absolute;
|
|
|
- left:0;
|
|
|
- right:0;
|
|
|
- bottom:20px;
|
|
|
- margin:auto;
|
|
|
- z-index:-1;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 20px;
|
|
|
+ margin: auto;
|
|
|
+ z-index: -1;
|
|
|
/* background:#64B3F6; */
|
|
|
-
|
|
|
- height: 216px;;
|
|
|
+
|
|
|
+ height: 216px;
|
|
|
+ ;
|
|
|
}
|
|
|
+
|
|
|
.ratioBg2 {
|
|
|
width: 80px;
|
|
|
position: absolute;
|
|
|
- left:0;
|
|
|
- right:0;
|
|
|
- bottom:20px;
|
|
|
- margin:auto;
|
|
|
- z-index:-1;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 20px;
|
|
|
+ margin: auto;
|
|
|
+ z-index: -1;
|
|
|
/* background:#64B3F6; */
|
|
|
/* height: 150px; */
|
|
|
}
|
|
|
+
|
|
|
.ratioBg3 {
|
|
|
width: 80px;
|
|
|
position: absolute;
|
|
|
- left:0;
|
|
|
- right:0;
|
|
|
- bottom:20px;
|
|
|
- margin:auto;
|
|
|
- z-index:1;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 20px;
|
|
|
+ margin: auto;
|
|
|
+ z-index: 1;
|
|
|
/* background:#64B3F6; */
|
|
|
- height: 216px;;
|
|
|
+ height: 216px;
|
|
|
+ ;
|
|
|
}
|
|
|
|
|
|
.mint-cell {
|