This commit is contained in:
闫晓茹 2024-08-12 10:16:57 +08:00
parent 8be9292c21
commit bfbe0e937a
3 changed files with 70 additions and 49 deletions

View File

@ -204,7 +204,6 @@ export default {
}
.cards:hover {
border: 2px solid #1890ff;
cursor: pointer;
}
.cardlist {
display: flex;
@ -276,6 +275,8 @@ export default {
margin: 10px 0 0 10px;
width: 50px;
height: 50px;
cursor: pointer;
}
.agesex {
@ -379,6 +380,8 @@ export default {
white-space: nowrap; /* 确保文本在一行内显示 */
overflow: hidden; /* 超出容器部分隐藏 */
text-overflow: ellipsis; /* 超出部分显示省略号 */
cursor: pointer;
}
}
}

View File

@ -15,7 +15,6 @@
alt=""
v-if="$route.query.sex == 'FEMALE'"
@click="shiftCollapsiable"
/>
<div class="name" @click="shiftCollapsiable">
{{ $route.query.patientName }}
@ -30,8 +29,6 @@
}}
</div>
<div class="source">
<div
class="item"
@ -66,22 +63,19 @@
<div class="age">
{{ $route.query.age }}
</div>
<div class="age">
身份证号{{ $route.query.patientPhone}}
</div>
<div class="age">
患者电话{{ $route.query.patientPhone}}
</div>
<div class="age">
出生日期{{ $route.query.birthDate}}
</div>
<div class="age">
预约时间{{ $route.query.appointmentDate}}
</div>
<div class="age">身份证号{{ $route.query.patientPhone }}</div>
<div class="age">患者电话{{ $route.query.patientPhone }}</div>
<div class="age">出生日期{{ $route.query.birthDate }}</div>
<div class="age">预约时间{{ $route.query.appointmentDate }}</div>
<div class="rihgt">
<Button v-show="collapsiable" type="text" @click="shiftCollapsiable" size="mini">
<Button
v-show="collapsiable"
type="text"
@click="shiftCollapsiable"
size="mini"
>
<span style="font-size: 14px">
{{ fold ? '收起' : '展开' }}
{{ fold ? "收起" : "展开" }}
<i :class="fold ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"></i>
</span>
</Button>
@ -92,7 +86,16 @@
<div>家属电话{{ $route.query.familyMemberPhone }}</div>
<div>登记日期{{ $route.query.registrationDate }}</div>
<div>开证医生{{ $route.query.certificateIssuingDoctorName }}</div>
<div style="width: 50%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">主要诊断{{ $route.query.mainDiagnosis }}</div>
<div
style="
width: 50%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
"
>
主要诊断{{ $route.query.mainDiagnosis }}
</div>
</div>
<div class="bottom">
<div>医院名称{{ $route.query.hospitalAgencyName }}</div>
@ -104,7 +107,16 @@
<div>注册时间{{ $route.query.createTime }}</div>
<div>预约治疗组{{ $route.query.appointmentTreatmentGroup }}</div>
<div>责任护士{{ $route.query.responsibleNurse }}</div>
<div style="width: 50%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">登记号{{ $route.query.registrationNo }}</div>
<div
style="
width: 50%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
"
>
登记号{{ $route.query.registrationNo }}
</div>
</div>
</div>
</div>
@ -122,17 +134,20 @@
<div class="bottomheader">
<el-tabs v-model="activeName">
<el-tab-pane label="就诊记录" name="first">
<visitRecords :fold=fold></visitRecords>
<visitRecords :fold="fold"></visitRecords>
</el-tab-pane>
<el-tab-pane label="康复计划及记录" name="second">
<RehabilitationPlanandRecords
v-if="activeName == 'second'"
:signPatientRecordld="signPatientRecordld"
:fold=fold
:fold="fold"
></RehabilitationPlanandRecords>
</el-tab-pane>
<el-tab-pane label="健康宣教" name="third">
<healthEducation v-if="activeName == 'third'" :fold=fold></healthEducation>
<healthEducation
v-if="activeName == 'third'"
:fold="fold"
></healthEducation>
</el-tab-pane>
<el-tab-pane label="指标监测" name="fourth">
<indicatorMonitoring
@ -140,7 +155,10 @@
></indicatorMonitoring>
</el-tab-pane>
<el-tab-pane label="签约记录" name="five">
<signingRecords v-if="activeName == 'five'" :fold=fold></signingRecords>
<signingRecords
v-if="activeName == 'five'"
:fold="fold"
></signingRecords>
</el-tab-pane>
</el-tabs>
</div>
@ -155,7 +173,7 @@ import healthEducation from "../components/healthEducation.vue";
import indicatorMonitoring from "../components/indicatorMonitoring.vue";
import signingRecords from "../components/signingRecords.vue";
import RehabilitationPlanandRecords from "../components/RehabilitationPlanandRecords.vue";
import { Button } from 'element-ui'
import { Button } from "element-ui";
export default {
components: {
@ -169,7 +187,7 @@ export default {
signingRecords,
//
RehabilitationPlanandRecords,
Button
Button,
},
name: "patientdetails",
data() {
@ -192,7 +210,7 @@ export default {
methods: {
// /
shiftCollapsiable() {
this.fold = !this.fold
this.fold = !this.fold;
},
changeitem(e) {
console.log(e, "e");
@ -307,13 +325,13 @@ export default {
.rihgt {
position: absolute;
right: 40px;
}
.headsculpture {
border-radius: 50%;
width: 40px;
height: 40px;
cursor: pointer;
}
}
}