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"
@ -62,29 +59,26 @@
<div>管理端</div>
</div>
</div>
<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">
<span style="font-size:14px">
{{ fold ? '收起' : '展开' }}
<i :class="fold ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"></i>
</span>
</Button>
<Button
v-show="collapsiable"
type="text"
@click="shiftCollapsiable"
size="mini"
>
<span style="font-size: 14px">
{{ fold ? "收起" : "展开" }}
<i :class="fold ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"></i>
</span>
</Button>
</div>
</div>
<div class="information" v-if="fold">
@ -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,11 +107,20 @@
<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>
<div class="selectitem" v-if="activeName == 'second'&&value">
<div class="selectitem" v-if="activeName == 'second' && value">
<el-select v-model="value" placeholder="请选择" @change="changeitem">
<el-option
v-for="item in options"
@ -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,8 +210,8 @@ export default {
methods: {
// /
shiftCollapsiable() {
this.fold = !this.fold
},
this.fold = !this.fold;
},
changeitem(e) {
console.log(e, "e");
this.signPatientRecordld = e;
@ -304,16 +322,16 @@ export default {
.age {
padding-left: 10px;
}
.rihgt{
.rihgt {
position: absolute;
right: 40px;
right: 40px;
}
.headsculpture {
border-radius: 50%;
width: 40px;
height: 40px;
cursor: pointer;
}
}
}

View File

@ -319,7 +319,7 @@
@click="handleAuthRole(scope.row)"
>详情</el-button
>
<el-button size="mini" type="text" @click="handleedit(scope.row)"
<el-button size="mini" type="text" @click="handleedit(scope.row)"
>画像编辑</el-button
>
</template>
@ -460,17 +460,17 @@ export default {
familyMemberPhone: row.familyMemberPhone,
cardNo: row.cardNo,
address: row.address,
mainDiagnosis:row.mainDiagnosis,
hospitalAgencyName:row.hospitalAgencyName,
campusAgencyName:row.campusAgencyName,
departmentName:row.departmentName,
wardName:row.wardName,
certificateIssuingDoctorName:row.certificateIssuingDoctorName,
appointmentTreatmentGroup:row.appointmentTreatmentGroup,
responsibleNurse:row.responsibleNurse,
registrationNo:row.registrationNo,
registrationDate:row.registrationDate,
appointmentDate:row.appointmentDate,
mainDiagnosis: row.mainDiagnosis,
hospitalAgencyName: row.hospitalAgencyName,
campusAgencyName: row.campusAgencyName,
departmentName: row.departmentName,
wardName: row.wardName,
certificateIssuingDoctorName: row.certificateIssuingDoctorName,
appointmentTreatmentGroup: row.appointmentTreatmentGroup,
responsibleNurse: row.responsibleNurse,
registrationNo: row.registrationNo,
registrationDate: row.registrationDate,
appointmentDate: row.appointmentDate,
sex: row.sex,
birthDate: row.birthDate,