患者信息管理

This commit is contained in:
shidongli 2024-08-07 15:01:09 +08:00
parent 9e96495eb2
commit ba62f94927
10 changed files with 160 additions and 36 deletions

View File

@ -2,7 +2,7 @@
<div class="header" v-if="signPatientRecordld != ''"> <div class="header" v-if="signPatientRecordld != ''">
<div class="leftheader"> <div class="leftheader">
<div class="dataall" v-if="form">数据总览</div> <div class="dataall" v-if="form">数据总览</div>
<div class="background"> <div class="background" :style="fold ? 'height:calc(100vh - 283px)':'height:calc(100vh - 399px)'">
<el-timeline> <el-timeline>
<el-timeline-item <el-timeline-item
v-for="(item, index) in categorylist" v-for="(item, index) in categorylist"
@ -93,7 +93,7 @@
</div> </div>
</div> </div>
<div class="rightheader" v-if="form"> <div class="rightheader" v-if="form">
<div class="richtext"> <div class="richtext" :style="fold ? 'height:calc(100vh - 248px)':'height:calc(100vh - 365px)'">
<div class="borderheader"> <div class="borderheader">
<span <span
>任务来源{{ >任务来源{{
@ -212,7 +212,7 @@ import specialDiseaseNodeopen from "./specialDiseaseNodeopen.vue";
import { getNodeListsignPatientRecordld } from "@/api/manage/signingRecords"; import { getNodeListsignPatientRecordld } from "@/api/manage/signingRecords";
export default { export default {
props: ["signPatientRecordld"], props: ["signPatientRecordld","fold"],
components: { components: {
questionopen, questionopen,
specialDiseaseNodeopen, specialDiseaseNodeopen,
@ -489,7 +489,7 @@ export default {
} }
.leftheader { .leftheader {
height: calc(100vh - 352px); height: calc(100vh - 230px);
z-index: 0; z-index: 0;
width: 24%; width: 24%;
overflow: hidden; overflow: hidden;

View File

@ -14,7 +14,7 @@
</div> </div>
</div> </div>
<div class="rightheader" v-if="categorylist.length > 0"> <div class="rightheader" v-if="categorylist.length > 0">
<div class="richtext"> <div class="richtext" :style="fold ? 'height:calc(100vh - 248px)':'height:calc(100vh - 365px)'">
<div class="bodytop"> <div class="bodytop">
<div class="titletop"> <div class="titletop">
文章模板:{{ categoryItem.propagandaTitle }} 文章模板:{{ categoryItem.propagandaTitle }}
@ -35,6 +35,7 @@ import {
getList getList
} from '@/api/manage/healthEducation' } from '@/api/manage/healthEducation'
export default { export default {
props:['fold'],
name: "healthEducation", name: "healthEducation",
data() { data() {
return { return {

View File

@ -15,7 +15,8 @@
</div> </div>
</div> </div>
<div class="rightheader" v-if="categorylist.length > 0"> <div class="rightheader" v-if="categorylist.length > 0">
<div class="richtext"> <!-- 248px -->
<div class="richtext" :style="fold ? 'height:calc(100vh - 352px)':'height:calc(100vh - 365px)'">
<el-descriptions title="基本信息" style="margin-top: 20px"> <el-descriptions title="基本信息" style="margin-top: 20px">
<el-descriptions-item label="医院">{{ <el-descriptions-item label="医院">{{
ByRecord.hospitalAgencyName ByRecord.hospitalAgencyName
@ -145,6 +146,8 @@ import {
} from '@/api/manage/signingRecords' } from '@/api/manage/signingRecords'
export default { export default {
name: "signingRecords", name: "signingRecords",
props:['fold'],//
data() { data() {
return { return {
srcList: [], srcList: [],
@ -157,7 +160,17 @@ export default {
ByRecord: { signDevices: [], }, ByRecord: { signDevices: [], },
}; };
}, },
watch: {
fold(newvalue, oldvalue) {
if (newvalue) {
console.log(newvalue, "newvalue");
// this.signPatientRecordld = newvalue;
// this.info();
}
},
},
created() { created() {
console.log(this.fold,'fold')
this.info(); this.info();
}, },
methods: { methods: {
@ -206,7 +219,7 @@ export default {
} }
.rightheader { .rightheader {
height: calc(100vh - 352px); // height: calc(100vh - 352px);
width: 75%; width: 75%;
padding-top: 20px; padding-top: 20px;
// overflow-y: auto; // overflow-y: auto;

View File

@ -14,7 +14,7 @@
> >
</el-date-picker> </el-date-picker>
</div> </div>
<div class="list"> <div class="list" :style="fold ? 'height:calc(100vh - 312px)':'height:calc(100vh - 416px)'">
<div <div
class="item" class="item"
v-for="(item, index) in categorylist" v-for="(item, index) in categorylist"
@ -122,6 +122,7 @@ import {
} from '@/api/manage/visitRecords' } from '@/api/manage/visitRecords'
export default { export default {
name: "visitRecords", name: "visitRecords",
props:["fold"],
data() { data() {
return { return {
pickerOptions: { pickerOptions: {

View File

@ -26,9 +26,9 @@
: "" : ""
}} }}
</div> </div>
<div class="age">
{{ $route.query.age }}
</div>
<div class="source"> <div class="source">
<div <div
class="item" class="item"
@ -59,17 +59,49 @@
<div>管理端</div> <div>管理端</div>
</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="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>
</div>
</div> </div>
<div class="information"> <div class="information" v-if="!fold">
<div class="top"> <div class="top">
<div>身份证号{{ $route.query.cardNo }}</div> <div>家属电话{{ $route.query.familyMemberPhone }}</div>
<div>患者电话{{ $route.query.patientPhone }}</div> <div>登记日期{{ $route.query.registrationDate }}</div>
<div style="width: 50%">出生日期{{ $route.query.birthDate }}</div> <div>开证医生{{ $route.query.certificateIssuingDoctorName }}</div>
<div style="width: 50%">主要诊断{{ $route.query.mainDiagnosis }}</div>
</div>
<div class="bottom">
<div>医院名称{{ $route.query.hospitalAgencyName }}</div>
<div>院区名称{{ $route.query.campusAgencyName }}</div>
<div>科室名称{{ $route.query.departmentName }}</div>
<div style="width: 50%">预约病区{{ $route.query.wardName }}</div>
</div> </div>
<div class="bottom"> <div class="bottom">
<div>注册时间{{ $route.query.createTime }}</div> <div>注册时间{{ $route.query.createTime }}</div>
<div>家属电话{{ $route.query.familyMemberPhone }}</div> <div>预约治疗组{{ $route.query.appointmentTreatmentGroup }}</div>
<div style="width: 50%">住址{{ $route.query.address }}</div> <div>责任护士{{ $route.query.responsibleNurse }}</div>
<div style="width: 50%">登记号{{ $route.query.registrationNo }}</div>
</div> </div>
</div> </div>
</div> </div>
@ -87,16 +119,17 @@
<div class="bottomheader"> <div class="bottomheader">
<el-tabs v-model="activeName"> <el-tabs v-model="activeName">
<el-tab-pane label="就诊记录" name="first"> <el-tab-pane label="就诊记录" name="first">
<visitRecords></visitRecords> <visitRecords :fold=fold></visitRecords>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="康复计划及记录" name="second"> <el-tab-pane label="康复计划及记录" name="second">
<RehabilitationPlanandRecords <RehabilitationPlanandRecords
v-if="activeName == 'second'" v-if="activeName == 'second'"
:signPatientRecordld="signPatientRecordld" :signPatientRecordld="signPatientRecordld"
:fold=fold
></RehabilitationPlanandRecords> ></RehabilitationPlanandRecords>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="健康宣教" name="third"> <el-tab-pane label="健康宣教" name="third">
<healthEducation v-if="activeName == 'third'"></healthEducation> <healthEducation v-if="activeName == 'third'" :fold=fold></healthEducation>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="指标监测" name="fourth"> <el-tab-pane label="指标监测" name="fourth">
<indicatorMonitoring <indicatorMonitoring
@ -104,7 +137,7 @@
></indicatorMonitoring> ></indicatorMonitoring>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="签约记录" name="five"> <el-tab-pane label="签约记录" name="five">
<signingRecords v-if="activeName == 'five'"></signingRecords> <signingRecords v-if="activeName == 'five'" :fold=fold></signingRecords>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
@ -119,6 +152,8 @@ import healthEducation from "../components/healthEducation.vue";
import indicatorMonitoring from "../components/indicatorMonitoring.vue"; import indicatorMonitoring from "../components/indicatorMonitoring.vue";
import signingRecords from "../components/signingRecords.vue"; import signingRecords from "../components/signingRecords.vue";
import RehabilitationPlanandRecords from "../components/RehabilitationPlanandRecords.vue"; import RehabilitationPlanandRecords from "../components/RehabilitationPlanandRecords.vue";
import { Button } from 'element-ui'
export default { export default {
components: { components: {
// //
@ -131,10 +166,13 @@ export default {
signingRecords, signingRecords,
// //
RehabilitationPlanandRecords, RehabilitationPlanandRecords,
Button
}, },
name: "patientdetails", name: "patientdetails",
data() { data() {
return { return {
fold: true,
collapsiable: true,
options: [], options: [],
value: "", value: "",
activeName: "first", activeName: "first",
@ -149,6 +187,10 @@ export default {
// } // }
}, },
methods: { methods: {
// /
shiftCollapsiable() {
this.fold = !this.fold
},
changeitem(e) { changeitem(e) {
console.log(e, "e"); console.log(e, "e");
this.signPatientRecordld = e; this.signPatientRecordld = e;
@ -259,6 +301,11 @@ export default {
.age { .age {
padding-left: 10px; padding-left: 10px;
} }
.rihgt{
position: absolute;
right: 40px;
}
.headsculpture { .headsculpture {
border-radius: 50%; border-radius: 50%;

View File

@ -246,13 +246,25 @@ export default {
query: { query: {
path: '/patient/patientInfo', path: '/patient/patientInfo',
patientId: row.id, patientId: row.id,
cardNo: row.cardNo,
patientName: row.patientName, patientName: row.patientName,
patientPhone: row.patientPhone, patientPhone: row.patientPhone,
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,
sex: row.sex, sex: row.sex,
birthDate: row.birthDate, birthDate: row.birthDate,
familyMemberPhone: row.familyMemberPhone,
address: row.address,
patientSource: row.patientSource, patientSource: row.patientSource,
createTime: row.createTime, createTime: row.createTime,
age: row.birthDate ? getAge(row.birthDate) : '' age: row.birthDate ? getAge(row.birthDate) : ''

View File

@ -648,16 +648,29 @@ export default {
query: { query: {
path: '/patient/preHospitalized', path: '/patient/preHospitalized',
patientId: row.patientId, patientId: row.patientId,
cardNo: row.cardNo,
patientName: row.patientName, patientName: row.patientName,
patientPhone: row.patientPhone, patientPhone: row.patientPhone,
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,
sex: row.sex, sex: row.sex,
birthDate: row.birthDate, birthDate: row.birthDate,
familyMemberPhone: row.familyMemberPhone,
address: row.address,
patientSource: row.patientSource, patientSource: row.patientSource,
createTime: row.createTime, createTime: row.createTime,
age: row.birthDate ? getAge(row.birthDate) : '' age: row.birthDate ? getAge(row.birthDate) : '',
}, },
}); });
}, },

View File

@ -1080,13 +1080,25 @@ export default {
query: { query: {
path: "/patient/signRecord", path: "/patient/signRecord",
patientId: row.patientId, patientId: row.patientId,
cardNo: row.cardNo,
patientName: row.patientName, patientName: row.patientName,
patientPhone: row.patientPhone, patientPhone: row.patientPhone,
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,
sex: row.sex, sex: row.sex,
birthDate: row.birthDate, birthDate: row.birthDate,
familyMemberPhone: row.familyMemberPhone,
address: row.address,
patientSource: row.patientSource, patientSource: row.patientSource,
createTime: row.createTime, createTime: row.createTime,
age: row.birthDate ? getAge(row.birthDate) : "", age: row.birthDate ? getAge(row.birthDate) : "",

View File

@ -682,13 +682,25 @@ export default {
query: { query: {
path: "/patient/visitin", path: "/patient/visitin",
patientId: row.id, patientId: row.id,
cardNo: row.cardNo,
patientName: row.patientName, patientName: row.patientName,
patientPhone: row.patientPhone, patientPhone: row.patientPhone,
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,
sex: row.sex, sex: row.sex,
birthDate: row.birthDate, birthDate: row.birthDate,
familyMemberPhone: row.familyMemberPhone,
address: row.address,
patientSource: row.patientSource, patientSource: row.patientSource,
createTime: row.createTime, createTime: row.createTime,
age: row.birthDate ? getAge(row.birthDate) : '' age: row.birthDate ? getAge(row.birthDate) : ''

View File

@ -678,13 +678,26 @@ export default {
query: { query: {
path: "/patient/visitout", path: "/patient/visitout",
patientId: row.id, patientId: row.id,
cardNo: row.cardNo,
patientName: row.patientName, patientName: row.patientName,
patientPhone: row.patientPhone, patientPhone: row.patientPhone,
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,
sex: row.sex, sex: row.sex,
birthDate: row.birthDate, birthDate: row.birthDate,
familyMemberPhone: row.familyMemberPhone,
address: row.address,
patientSource: row.patientSource, patientSource: row.patientSource,
createTime: row.createTime, createTime: row.createTime,
age: row.birthDate ? getAge(row.birthDate) : '' age: row.birthDate ? getAge(row.birthDate) : ''