| | |
| | | </div> |
| | | </el-container> |
| | | |
| | | <div> |
| | | <el-tabs type="border-card" v-model="activeName" |
| | | v-loading="loading" :data="HealthNoteList" > |
| | | <el-button size='mini' type="text" class="btn_edit" @click="saveData" style='top: 0px;right: 20px;'> |
| | | <sapn v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"></sapn> |
| | | <span >{{ editMode ? '保存' : '修改' }}</span> |
| | | </el-button> |
| | | <el-tab-pane label="生活习惯" name="lifeHabits" > |
| | | <template v-if="editMode"> |
| | | <div style="padding-top: 10px"> |
| | | <el-input v-model="HealthNoteList.lifeHabits" ></el-input> |
| | | </div> |
| | | </template> |
| | | <template v-else> |
| | | {{ HealthNoteList.lifeHabits }} |
| | | </template> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="以往病史" name="historyDisease"> |
| | | {{HealthNoteList.historyDisease}}} |
| | | </el-tab-pane> |
| | | <el-tab-pane label="治疗信息" name="treatmentInfo"> |
| | | <!-- 治疗信息的内容 --> |
| | | {{HealthNoteList.treatmentInfo}}} |
| | | </el-tab-pane> |
| | | <el-tab-pane label="家族病史" name="familyDisease"> |
| | | <!-- 家族病史的内容 --> |
| | | {{HealthNoteList.familyDisease}}} |
| | | </el-tab-pane> |
| | | <el-tab-pane label="现病史" name="nowDisease"> |
| | | <!-- 目前病情的内容 --> |
| | | {{HealthNoteList.nowDisease}}} |
| | | </el-tab-pane> |
| | | <el-tab-pane label="疾病发生" name="diseaseHappen"> |
| | | <!-- 疾病发生的内容 --> |
| | | {{HealthNoteList.diseaseHappen}}} |
| | | </el-tab-pane> |
| | | <el-tab-pane label="疾病发展" name="diseaseDevelop"> |
| | | <!-- 疾病发展的内容 --> |
| | | {{HealthNoteList.diseaseDevelop}}} |
| | | </el-tab-pane> |
| | | <el-tab-pane label="疾病治疗" name="diseaseTreat"> |
| | | <!-- 疾病治疗的内容 --> |
| | | {{HealthNoteList.diseaseTreat}}} |
| | | </el-tab-pane> |
| | | <el-tab-pane label="疾病复发" name="diseaseBack"> |
| | | <!-- 疾病复发的内容 --> |
| | | {{HealthNoteList.diseaseBack}}} |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { listRole, getRole, delRole, addRole, updateRole, dataScope, changeRoleStatus, deptTreeSelect } from "@/api/system/role"; |
| | | import { treeselect as menuTreeselect, roleMenuTreeselect } from "@/api/system/menu"; |
| | | import {getCategory,listHealthBase,updateHealthBase,listHealthHabit,updateHealthHabit,listHealthHuli,updateHealthHuli,listHealthNow,updateHealthNow} from "@/api/healthy/index"; |
| | | import { |
| | | listHealthNote, |
| | | updateHealthNote,listHealthBase, |
| | | updateHealthBase, |
| | | listHealthHabit, |
| | | updateHealthHabit, |
| | | listHealthHuli, |
| | | updateHealthHuli, |
| | | listHealthNow, |
| | | updateHealthNow, |
| | | } from "@/api/healthy/index"; |
| | | |
| | | import { blobValidate } from '../../utils/ruoyi' |
| | | |
| | |
| | | return { |
| | | dictionary: {}, |
| | | // 遮罩层 |
| | | editMode: false, // 是否处于编辑模式 |
| | | activeName: 'lifeHabits', |
| | | disabled: false, |
| | | isEditing:false, |
| | | inds: undefined, |
| | |
| | | |
| | | }, |
| | | }, |
| | | HealthNoteList:{ |
| | | lifeHabits:undefined, |
| | | historyDisease:undefined, |
| | | treatmentInfo:undefined, |
| | | familyDisease:undefined, |
| | | nowDisease:undefined, |
| | | diseaseHappen:undefined, |
| | | diseaseDevelop:undefined, |
| | | diseaseTreat:undefined, |
| | | diseaseBack:undefined |
| | | }, |
| | | fit:['fill'], |
| | | //下拉实现 |
| | | activeNames:['1'], |
| | |
| | | // 是否显示弹出层 |
| | | open: false, |
| | | // open:true, |
| | | code:undefined, |
| | | // 是否显示弹出层(数据权限) |
| | | bear:undefined, |
| | | mrs:undefined, |
| | |
| | | deptOptions: [], |
| | | // 查询参数 |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 5, |
| | | startDate:undefined, |
| | | content:undefined, |
| | | witness:undefined, |
| | | |
| | | }, |
| | | // 表单参数 |
| | | form: {}, |
| | |
| | | created() { |
| | | this.getList() |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | }, |
| | | mounted() { |
| | | this.originalBloodType = this.HealthyBaseList.bloodClass;// 在组件挂载时保存原始血型状态 |
| | | }, |
| | | |
| | | methods: { |
| | | saveData() { |
| | | // 将数据发送给后端 |
| | | const data = { |
| | | lifeHabits: this.HealthNoteList.lifeHabits, |
| | | historyDisease: this.HealthNoteList.historyDisease, |
| | | // 其他字段省略,请补充完整 |
| | | }; |
| | | |
| | | |
| | | }, |
| | | //血型修改 |
| | | handlebloodChange() { |
| | | if (this.selectedBloodType === '') { |
| | |
| | | //个人信息 |
| | | listHealthBase(this.queryParams).then(response => { |
| | | if (response.data.length === 0) { |
| | | |
| | | this.HealthyBaseList = {}; |
| | | this.loading = false; |
| | | this.HealthyBaseList = {}; |
| | | |
| | | |
| | | } else { |
| | | this.HealthyBaseList = response.data; |
| | |
| | | this.selectedgeneticDiseaseType = 'diabetes'; |
| | | } else if (this.HealthyBaseList.geneticDiseaseClass.tumor === 1) { |
| | | this.selectedgeneticDiseaseType = 'tumor'; |
| | | }else if (this.HealthyBaseList.geneticDiseaseClass.other === 1) { |
| | | } else if (this.HealthyBaseList.geneticDiseaseClass.other === 1) { |
| | | this.selectedgeneticDiseaseType = 'other'; |
| | | } |
| | | this.loading = false; |
| | | //生活习惯 |
| | | listHealthHabit(this.queryParams).then(response => { |
| | | if (response.data.length === 0) { |
| | | this.loading = false; |
| | | this.LiveHabbitList = {}; |
| | | |
| | | } else { |
| | | this.LiveHabbitList = response.data; |
| | | console.log(this.LiveHabbitList.sleepClass) |
| | | |
| | | //睡眠的 |
| | | if (this.LiveHabbitList.sleepClass.good === 1) { |
| | | this.selectedsleepType = 'good'; |
| | | } else if (this.LiveHabbitList.sleepClass.general === 1) { |
| | | this.selectedsleepType = 'general'; |
| | | } else if (this.LiveHabbitList.sleepClass.easyWake === 1) { |
| | | this.selectedsleepType = 'easyWake'; |
| | | } else if (this.LiveHabbitList.sleepClass.dreaminess === 1) { |
| | | this.selectedsleepType = 'dreaminess'; |
| | | } else if (this.LiveHabbitList.sleepClass.sleepless === 1) { |
| | | this.selectedsleepType = 'sleepless'; |
| | | } else if (this.LiveHabbitList.sleepClass.snore === 1) { |
| | | this.selectedsleepType = 'snore'; |
| | | } else if (this.LiveHabbitList.sleepClass.wakefulness === 1) { |
| | | this.selectedsleepType = 'wakefulness'; |
| | | } |
| | | //大便 |
| | | if (this.LiveHabbitList.stoolStatusClass.normal === 1) { |
| | | this.selectedstoolStatusType = 'normal'; |
| | | } else if (this.LiveHabbitList.stoolStatusClass.constipation === 1) { |
| | | this.selectedstoolStatusType = 'constipation'; |
| | | } else if (this.LiveHabbitList.stoolStatusClass.diarrhea === 1) { |
| | | this.selectedstoolStatusType = 'diarrhea'; |
| | | } else if (this.LiveHabbitList.stoolStatusClass.incontinence === 1) { |
| | | this.selectedstoolStatusType = 'incontinence'; |
| | | } |
| | | //小便 |
| | | if (this.LiveHabbitList.urineStatusClass.normal === 1) { |
| | | this.selectedurineStatusType = 'normal'; |
| | | } else if (this.LiveHabbitList.urineStatusClass.nightUrinaryRetention === 1) { |
| | | this.selectedurineStatusType = 'nightUrinaryRetention'; |
| | | } else if (this.LiveHabbitList.urineStatusClass.incontinence === 1) { |
| | | this.selectedurineStatusType = 'incontinence'; |
| | | } else if (this.LiveHabbitList.urineStatusClass.enuresis === 1) { |
| | | this.selectedurineStatusType = 'enuresis'; |
| | | } |
| | | //饮食习惯 |
| | | if (this.LiveHabbitList.eatingHabitsClass.uniformityOfMeatAndVegetables === 1) { |
| | | this.selectedeatingHabitsType = 'uniformityOfMeatAndVegetables'; |
| | | } else if (this.LiveHabbitList.eatingHabitsClass.meat === 1) { |
| | | this.selectedeatingHabitsType = 'meat'; |
| | | } else if (this.LiveHabbitList.eatingHabitsClass.vegetable === 1) { |
| | | this.selectedeatingHabitsType = 'vegetable'; |
| | | } else if (this.LiveHabbitList.eatingHabitsClass.salt === 1) { |
| | | this.selectedeatingHabitsType = 'salt'; |
| | | } else if (this.LiveHabbitList.eatingHabitsClass.oil === 1) { |
| | | this.selectedeatingHabitsType = 'oil'; |
| | | } else if (this.LiveHabbitList.eatingHabitsClass.sugar === 1) { |
| | | this.selectedeatingHabitsType = 'sugar'; |
| | | } else if (this.LiveHabbitList.eatingHabitsClass.other === 1) { |
| | | this.selectedeatingHabitsType = 'other'; |
| | | } |
| | | |
| | | //生活事件 |
| | | |
| | | if (this.LiveHabbitList.lifeEventClass.bereave === 1) { |
| | | this.selectedlifeEventType = 'bereave'; |
| | | } else if (this.LiveHabbitList.lifeEventClass.liveAlone === 1) { |
| | | this.selectedlifeEventType = 'liveAlone'; |
| | | } else if (this.LiveHabbitList.lifeEventClass.inHospital === 1) { |
| | | this.selectedlifeEventType = 'inHospital'; |
| | | } else if (this.LiveHabbitList.lifeEventClass.divide === 1) { |
| | | this.selectedlifeEventType = 'divide'; |
| | | } else if (this.LiveHabbitList.lifeEventClass.other === 1) { |
| | | this.selectedlifeEventType = 'other'; |
| | | } |
| | | //护理查体 |
| | | listHealthHuli(this.queryParams).then(response => { |
| | | if (response.data.length === 0) { |
| | | this.loading = false; |
| | | this.HealthHuliList = {}; |
| | | |
| | | } else { |
| | | this.HealthHuliList = response.data; |
| | | |
| | | //皮肤粘膜 |
| | | |
| | | if (this.HealthHuliList.skinTypeClass.acne === 1) { |
| | | this.selectedskinType = 'acne'; |
| | | } else if (this.HealthHuliList.skinTypeClass.psoriasis === 1) { |
| | | this.selectedskinType = 'psoriasis'; |
| | | } else if (this.HealthHuliList.skinTypeClass.color === 1) { |
| | | this.selectedskinType = 'color'; |
| | | } else if (this.HealthHuliList.skinTypeClass.edema === 1) { |
| | | this.selectedskinType = 'edema'; |
| | | } else if (this.HealthHuliList.skinTypeClass.rash === 1) { |
| | | this.selectedskinType = 'rash'; |
| | | } else if (this.HealthHuliList.skinTypeClass.bloodStasis === 1) { |
| | | this.selectedskinType = 'bloodStasis'; |
| | | } else if (this.HealthHuliList.skinTypeClass.snom === 1) { |
| | | this.selectedskinType = 'snom'; |
| | | } else if (this.HealthHuliList.skinTypeClass.nevus === 1) { |
| | | this.selectedskinType = 'nevus'; |
| | | } else if (this.HealthHuliList.skinTypeClass.ulcer === 1) { |
| | | this.selectedskinType = 'ulcer'; |
| | | } else if (this.HealthHuliList.skinTypeClass.other === 1) { |
| | | this.selectedskinType = 'other'; |
| | | } |
| | | //心里状态 |
| | | if (this.HealthHuliList.psychologyTypeClass.optimistic === 1) { |
| | | this.selectedpsychologyType = 'optimistic'; |
| | | } else if (this.HealthHuliList.psychologyTypeClass.worry === 1) { |
| | | this.selectedpsychologyType = 'worry'; |
| | | } else if (this.HealthHuliList.psychologyTypeClass.fear === 1) { |
| | | this.selectedpsychologyType = 'fear'; |
| | | } else if (this.HealthHuliList.psychologyTypeClass.suspicion === 1) { |
| | | this.selectedpsychologyType = 'suspicion'; |
| | | } else if (this.HealthHuliList.psychologyTypeClass.miss === 1) { |
| | | this.selectedpsychologyType = 'miss'; |
| | | } else if (this.HealthHuliList.psychologyTypeClass.constrain === 1) { |
| | | this.selectedpsychologyType = 'constrain'; |
| | | } else if (this.HealthHuliList.psychologyTypeClass.other === 1) { |
| | | this.selectedpsychologyType = 'other'; |
| | | } |
| | | |
| | | //病例态度 |
| | | if (this.HealthHuliList.attitudeClass.lucidity === 1) { |
| | | this.selectedpattitudeType = 'lucidity'; |
| | | } else if (this.HealthHuliList.attitudeClass.unknown === 1) { |
| | | this.selectedpattitudeType = 'unknown'; |
| | | } else if (this.HealthHuliList.attitudeClass.normal === 1) { |
| | | this.selectedpattitudeType = 'normal'; |
| | | } else if (this.HealthHuliList.attitudeClass.abnormal === 1) { |
| | | this.selectedpattitudeType = 'abnormal'; |
| | | } else if (this.HealthHuliList.attitudeClass.other === 1) { |
| | | this.selectedpattitudeType = 'other'; |
| | | } |
| | | |
| | | //全身营养 |
| | | if (this.HealthHuliList.nutritionClass.good === 1) { |
| | | this.selectednutritionType = 'good'; |
| | | } else if (this.HealthHuliList.nutritionClass.medium === 1) { |
| | | this.selectednutritionType = 'medium'; |
| | | } else if (this.HealthHuliList.nutritionClass.poor === 1) { |
| | | this.selectednutritionType = 'poor'; |
| | | } else if (this.HealthHuliList.nutritionClass.obesity === 1) { |
| | | this.selectednutritionType = 'obesity'; |
| | | } else if (this.HealthHuliList.nutritionClass.thin === 1) { |
| | | this.selectednutritionType = 'thin'; |
| | | } else if (this.HealthHuliList.nutritionClass.fluid === 1) { |
| | | this.selectednutritionType = 'fluid'; |
| | | } else if (this.HealthHuliList.nutritionClass.other === 1) { |
| | | this.selectednutritionType = 'other'; |
| | | } |
| | | listHealthNow(this.queryParams).then(response => { |
| | | |
| | | if (response.data.length === 0) { |
| | | this.loading = false; |
| | | this.HealthNowList = {}; |
| | | |
| | | } else { |
| | | this.HealthNowList = response.data; |
| | | //脑血管 |
| | | if (this.HealthNowList.brainDiseaseClass.ischemicStroke === 1) { |
| | | this.selectedbrainDiseaseType = 'ischemicStroke'; |
| | | } else if (this.HealthNowList.brainDiseaseClass.cerebralHemorrhage === 1) { |
| | | this.selectedbrainDiseaseType = 'cerebralHemorrhage'; |
| | | } else if (this.HealthNowList.brainDiseaseClass.subarachnoidHemorrhage === 1) { |
| | | this.selectedbrainDiseaseType = 'subarachnoidHemorrhage'; |
| | | } else if (this.HealthNowList.brainDiseaseClass.TIA === 1) { |
| | | this.selectedbrainDiseaseType = 'TIA'; |
| | | } else if (this.HealthNowList.brainDiseaseClass.other === 1) { |
| | | this.selectedbrainDiseaseType = 'other'; |
| | | } |
| | | //心脏疾病 |
| | | if (this.HealthNowList.heartDiseaseClass.myocardialInfarct === 1) { |
| | | this.selectedheartDiseaseType = 'myocardialInfarct'; |
| | | } else if (this.HealthNowList.heartDiseaseClass.anginaPectoris === 1) { |
| | | this.selectedheartDiseaseType = 'anginaPectoris'; |
| | | } else if (this.HealthNowList.heartDiseaseClass.coronaryRevascularization === 1) { |
| | | this.selectedheartDiseaseType = 'coronaryRevascularization'; |
| | | } else if (this.HealthNowList.heartDiseaseClass.congestiveHeartFailure === 1) { |
| | | this.selectedheartDiseaseType = 'congestiveHeartFailure'; |
| | | } else if (this.HealthNowList.heartDiseaseClass.precordialPain === 1) { |
| | | this.selectedheartDiseaseType = 'precordialPain'; |
| | | } else if (this.HealthNowList.heartDiseaseClass.other === 1) { |
| | | this.selectedheartDiseaseType = 'other'; |
| | | } |
| | | //血管疾病 |
| | | if (this.HealthNowList.vascularDiseaseClass.dissectingAneurysm === 1) { |
| | | this.selectedvascularDiseaseType = 'dissectingAneurysm'; |
| | | } else if (this.HealthNowList.vascularDiseaseClass.arterialOcclusiveDiseases === 1) { |
| | | this.selectedvascularDiseaseType = 'arterialOcclusiveDiseases'; |
| | | } else if (this.HealthNowList.vascularDiseaseClass.other === 1) { |
| | | this.selectedvascularDiseaseType = 'other'; |
| | | } |
| | | //消化系统疾病 |
| | | if (this.HealthNowList.digestiveSystemDiseaseClass.gastroduodenalUlcer === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'gastroduodenalUlcer'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.esophagitis === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'esophagitis'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.gastritis === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'gastritis'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.colitis === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'colitis'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.hepatitis === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'hepatitis'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.cholecystitis === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'cholecystitis'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.cholelithiasis === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'cholelithiasis'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.fattyLiver === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'fattyLiver'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.hyperlipidemia === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'hyperlipidemia'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.haemorrhoids === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'haemorrhoids'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.other === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'other'; |
| | | } |
| | | //呼吸系统疾病 |
| | | if (this.HealthNowList.respiratorySystemDiseaseClass.COPD === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'COPD'; |
| | | } else if (this.HealthNowList.respiratorySystemDiseaseClass.pneumonia === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'pneumonia'; |
| | | } else if (this.HealthNowList.respiratorySystemDiseaseClass.bronchitis === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'bronchitis'; |
| | | } else if (this.HealthNowList.respiratorySystemDiseaseClass.bronchialAsthma === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'bronchialAsthma'; |
| | | } else if (this.HealthNowList.respiratorySystemDiseaseClass.pulmonaryTuberculosis === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'pulmonaryTuberculosis'; |
| | | } else if (this.HealthNowList.respiratorySystemDiseaseClass.other === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'other'; |
| | | } else if (this.HealthNowList.respiratorySystemDiseaseClass.upperRespiratoryTractInfection === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'upperRespiratoryTractInfection'; |
| | | } |
| | | //肾脏疾病 |
| | | if (this.HealthNowList.kidneyDiseaseClass.diabetes === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'diabetes'; |
| | | } else if (this.HealthNowList.kidneyDiseaseClass.renalFailure === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'renalFailure'; |
| | | } else if (this.HealthNowList.kidneyDiseaseClass.acuteNephritis === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'acuteNephritis'; |
| | | } else if (this.HealthNowList.kidneyDiseaseClass.chronicNephritis === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'chronicNephritis'; |
| | | } else if (this.HealthNowList.kidneyDiseaseClass.urinaryCalculus === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'urinaryCalculus'; |
| | | } else if (this.HealthNowList.kidneyDiseaseClass.urinaryTractInfection === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'urinaryTractInfection'; |
| | | } else if (this.HealthNowList.kidneyDiseaseClass.other === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'other'; |
| | | } |
| | | //其他疾病 |
| | | if (this.HealthNowList.otherDiseaseClass.pregnant === 1) { |
| | | this.selectedotherDiseaseType = 'pregnant'; |
| | | } else if (this.HealthNowList.otherDiseaseClass.cold === 1) { |
| | | this.selectedotherDiseaseType = 'cold'; |
| | | } else if (this.HealthNowList.otherDiseaseClass.infectious === 1) { |
| | | this.selectedotherDiseaseType = 'infectious'; |
| | | } else if (this.HealthNowList.otherDiseaseClass.pulmonaryBulla === 1) { |
| | | this.selectedotherDiseaseType = 'pulmonaryBulla'; |
| | | } else if (this.HealthNowList.otherDiseaseClass.hemoptysis === 1) { |
| | | this.selectedotherDiseaseType = 'hemoptysis'; |
| | | } else if (this.HealthNowList.otherDiseaseClass.activeBleeding === 1) { |
| | | this.selectedotherDiseaseType = 'activeBleeding'; |
| | | } else if (this.HealthNowList.otherDiseaseClass.other === 1) { |
| | | this.selectedotherDiseaseType = 'other'; |
| | | } |
| | | |
| | | |
| | | this.loading = false; |
| | | } |
| | | } |
| | | ); |
| | | |
| | | |
| | | this.loading = false; |
| | | |
| | | |
| | | } |
| | | |
| | | } |
| | | ); |
| | | this.loading = false; |
| | | } |
| | | |
| | | } |
| | | ); |
| | | this.loading = false; |
| | | |
| | | |
| | | } |
| | |
| | | console.error(error); |
| | | }); |
| | | //生活习惯 |
| | | listHealthHabit(this.queryParams).then(response => { |
| | | if(response.data.length == 0){ |
| | | |
| | | this.LiveHabbitList={ }; |
| | | this.loading = false; |
| | | } |
| | | else{ |
| | | this.LiveHabbitList = response.data; |
| | | console.log(this.LiveHabbitList.sleepClass) |
| | | |
| | | //睡眠的 |
| | | if (this.LiveHabbitList.sleepClass.good === 1) { |
| | | this.selectedsleepType = 'good'; |
| | | } else if (this.LiveHabbitList.sleepClass.general === 1) { |
| | | this.selectedsleepType = 'general'; |
| | | } else if (this.LiveHabbitList.sleepClass.easyWake === 1) { |
| | | this.selectedsleepType = 'easyWake'; |
| | | } else if (this.LiveHabbitList.sleepClass.dreaminess === 1) { |
| | | this.selectedsleepType = 'dreaminess'; |
| | | } else if (this.LiveHabbitList.sleepClass.sleepless === 1) { |
| | | this.selectedsleepType = 'sleepless'; |
| | | } else if (this.LiveHabbitList.sleepClass.snore === 1) { |
| | | this.selectedsleepType = 'snore'; |
| | | } else if (this.LiveHabbitList.sleepClass.wakefulness === 1) { |
| | | this.selectedsleepType = 'wakefulness'; |
| | | } |
| | | //大便 |
| | | if (this.LiveHabbitList.stoolStatusClass.normal === 1) { |
| | | this.selectedstoolStatusType = 'normal'; |
| | | } else if (this.LiveHabbitList.stoolStatusClass.constipation === 1) { |
| | | this.selectedstoolStatusType = 'constipation'; |
| | | } else if (this.LiveHabbitList.stoolStatusClass.diarrhea === 1) { |
| | | this.selectedstoolStatusType = 'diarrhea'; |
| | | } else if (this.LiveHabbitList.stoolStatusClass.incontinence === 1) { |
| | | this.selectedstoolStatusType = 'incontinence'; |
| | | } |
| | | //小便 |
| | | if (this.LiveHabbitList.urineStatusClass.normal === 1) { |
| | | this.selectedurineStatusType = 'normal'; |
| | | } else if (this.LiveHabbitList.urineStatusClass.nightUrinaryRetention === 1) { |
| | | this.selectedurineStatusType = 'nightUrinaryRetention'; |
| | | } else if (this.LiveHabbitList.urineStatusClass.incontinence === 1) { |
| | | this.selectedurineStatusType = 'incontinence'; |
| | | } else if (this.LiveHabbitList.urineStatusClass.enuresis === 1) { |
| | | this.selectedurineStatusType = 'enuresis'; |
| | | } |
| | | //饮食习惯 |
| | | if (this.LiveHabbitList.eatingHabitsClass.uniformityOfMeatAndVegetables === 1) { |
| | | this.selectedeatingHabitsType = 'uniformityOfMeatAndVegetables'; |
| | | } else if (this.LiveHabbitList.eatingHabitsClass.meat === 1) { |
| | | this.selectedeatingHabitsType = 'meat'; |
| | | } else if (this.LiveHabbitList.eatingHabitsClass.vegetable === 1) { |
| | | this.selectedeatingHabitsType = 'vegetable'; |
| | | } else if (this.LiveHabbitList.eatingHabitsClass.salt === 1) { |
| | | this.selectedeatingHabitsType = 'salt'; |
| | | }else if (this.LiveHabbitList.eatingHabitsClass.oil === 1) { |
| | | this.selectedeatingHabitsType = 'oil'; |
| | | } else if (this.LiveHabbitList.eatingHabitsClass.sugar === 1) { |
| | | this.selectedeatingHabitsType = 'sugar'; |
| | | } else if (this.LiveHabbitList.eatingHabitsClass.other === 1) { |
| | | this.selectedeatingHabitsType = 'other'; |
| | | } |
| | | |
| | | //生活事件 |
| | | |
| | | if (this.LiveHabbitList.lifeEventClass.bereave === 1) { |
| | | this.selectedlifeEventType = 'bereave'; |
| | | } else if (this.LiveHabbitList.lifeEventClass.liveAlone === 1) { |
| | | this.selectedlifeEventType = 'liveAlone'; |
| | | } else if (this.LiveHabbitList.lifeEventClass.inHospital === 1) { |
| | | this.selectedlifeEventType = 'inHospital'; |
| | | } else if (this.LiveHabbitList.lifeEventClass.divide === 1) { |
| | | this.selectedlifeEventType = 'divide'; |
| | | }else if (this.LiveHabbitList.lifeEventClass.other === 1) { |
| | | this.selectedlifeEventType = 'other'; |
| | | } |
| | | this.loading = false; |
| | | } |
| | | |
| | | } |
| | | ); |
| | | // listHealthHabit(this.queryParams).then(response => { |
| | | // if(response.data.length === 0){ |
| | | // this.loading = false; |
| | | // this.LiveHabbitList={ }; |
| | | // |
| | | // } |
| | | // else{ |
| | | // this.LiveHabbitList = response.data; |
| | | // console.log(this.LiveHabbitList.sleepClass) |
| | | // |
| | | // //睡眠的 |
| | | // if (this.LiveHabbitList.sleepClass.good === 1) { |
| | | // this.selectedsleepType = 'good'; |
| | | // } else if (this.LiveHabbitList.sleepClass.general === 1) { |
| | | // this.selectedsleepType = 'general'; |
| | | // } else if (this.LiveHabbitList.sleepClass.easyWake === 1) { |
| | | // this.selectedsleepType = 'easyWake'; |
| | | // } else if (this.LiveHabbitList.sleepClass.dreaminess === 1) { |
| | | // this.selectedsleepType = 'dreaminess'; |
| | | // } else if (this.LiveHabbitList.sleepClass.sleepless === 1) { |
| | | // this.selectedsleepType = 'sleepless'; |
| | | // } else if (this.LiveHabbitList.sleepClass.snore === 1) { |
| | | // this.selectedsleepType = 'snore'; |
| | | // } else if (this.LiveHabbitList.sleepClass.wakefulness === 1) { |
| | | // this.selectedsleepType = 'wakefulness'; |
| | | // } |
| | | // //大便 |
| | | // if (this.LiveHabbitList.stoolStatusClass.normal === 1) { |
| | | // this.selectedstoolStatusType = 'normal'; |
| | | // } else if (this.LiveHabbitList.stoolStatusClass.constipation === 1) { |
| | | // this.selectedstoolStatusType = 'constipation'; |
| | | // } else if (this.LiveHabbitList.stoolStatusClass.diarrhea === 1) { |
| | | // this.selectedstoolStatusType = 'diarrhea'; |
| | | // } else if (this.LiveHabbitList.stoolStatusClass.incontinence === 1) { |
| | | // this.selectedstoolStatusType = 'incontinence'; |
| | | // } |
| | | // //小便 |
| | | // if (this.LiveHabbitList.urineStatusClass.normal === 1) { |
| | | // this.selectedurineStatusType = 'normal'; |
| | | // } else if (this.LiveHabbitList.urineStatusClass.nightUrinaryRetention === 1) { |
| | | // this.selectedurineStatusType = 'nightUrinaryRetention'; |
| | | // } else if (this.LiveHabbitList.urineStatusClass.incontinence === 1) { |
| | | // this.selectedurineStatusType = 'incontinence'; |
| | | // } else if (this.LiveHabbitList.urineStatusClass.enuresis === 1) { |
| | | // this.selectedurineStatusType = 'enuresis'; |
| | | // } |
| | | // //饮食习惯 |
| | | // if (this.LiveHabbitList.eatingHabitsClass.uniformityOfMeatAndVegetables === 1) { |
| | | // this.selectedeatingHabitsType = 'uniformityOfMeatAndVegetables'; |
| | | // } else if (this.LiveHabbitList.eatingHabitsClass.meat === 1) { |
| | | // this.selectedeatingHabitsType = 'meat'; |
| | | // } else if (this.LiveHabbitList.eatingHabitsClass.vegetable === 1) { |
| | | // this.selectedeatingHabitsType = 'vegetable'; |
| | | // } else if (this.LiveHabbitList.eatingHabitsClass.salt === 1) { |
| | | // this.selectedeatingHabitsType = 'salt'; |
| | | // }else if (this.LiveHabbitList.eatingHabitsClass.oil === 1) { |
| | | // this.selectedeatingHabitsType = 'oil'; |
| | | // } else if (this.LiveHabbitList.eatingHabitsClass.sugar === 1) { |
| | | // this.selectedeatingHabitsType = 'sugar'; |
| | | // } else if (this.LiveHabbitList.eatingHabitsClass.other === 1) { |
| | | // this.selectedeatingHabitsType = 'other'; |
| | | // } |
| | | // |
| | | // //生活事件 |
| | | // |
| | | // if (this.LiveHabbitList.lifeEventClass.bereave === 1) { |
| | | // this.selectedlifeEventType = 'bereave'; |
| | | // } else if (this.LiveHabbitList.lifeEventClass.liveAlone === 1) { |
| | | // this.selectedlifeEventType = 'liveAlone'; |
| | | // } else if (this.LiveHabbitList.lifeEventClass.inHospital === 1) { |
| | | // this.selectedlifeEventType = 'inHospital'; |
| | | // } else if (this.LiveHabbitList.lifeEventClass.divide === 1) { |
| | | // this.selectedlifeEventType = 'divide'; |
| | | // }else if (this.LiveHabbitList.lifeEventClass.other === 1) { |
| | | // this.selectedlifeEventType = 'other'; |
| | | // } |
| | | // this.loading = false; |
| | | // } |
| | | // |
| | | // } |
| | | // ); |
| | | |
| | | //护理查体 |
| | | listHealthHuli(this.queryParams).then(response => { |
| | | if(response.data.length == 0){ |
| | | |
| | | this.HealthHuliList={}; |
| | | this.loading = false; |
| | | } |
| | | else{ |
| | | this.HealthHuliList = response.data; |
| | | |
| | | //皮肤粘膜 |
| | | |
| | | if (this.HealthHuliList.skinTypeClass.acne === 1) { |
| | | this.selectedskinType = 'acne'; |
| | | } else if (this.HealthHuliList.skinTypeClass.psoriasis === 1) { |
| | | this.selectedskinType = 'psoriasis'; |
| | | } else if (this.HealthHuliList.skinTypeClass.color === 1) { |
| | | this.selectedskinType = 'color'; |
| | | } else if (this.HealthHuliList.skinTypeClass.edema === 1) { |
| | | this.selectedskinType = 'edema'; |
| | | }else if (this.HealthHuliList.skinTypeClass.rash === 1) { |
| | | this.selectedskinType = 'rash'; |
| | | }else if (this.HealthHuliList.skinTypeClass.bloodStasis === 1) { |
| | | this.selectedskinType = 'bloodStasis'; |
| | | } else if (this.HealthHuliList.skinTypeClass.snom === 1) { |
| | | this.selectedskinType = 'snom'; |
| | | }else if (this.HealthHuliList.skinTypeClass.nevus === 1) { |
| | | this.selectedskinType = 'nevus'; |
| | | }else if (this.HealthHuliList.skinTypeClass.ulcer === 1) { |
| | | this.selectedskinType = 'ulcer'; |
| | | }else if (this.HealthHuliList.skinTypeClass.other === 1) { |
| | | this.selectedskinType = 'other'; |
| | | } |
| | | //心里状态 |
| | | if (this.HealthHuliList.psychologyTypeClass.optimistic === 1) { |
| | | this.selectedpsychologyType = 'optimistic'; |
| | | } else if (this.HealthHuliList.psychologyTypeClass.worry === 1) { |
| | | this.selectedpsychologyType = 'worry'; |
| | | } else if (this.HealthHuliList.psychologyTypeClass.fear === 1) { |
| | | this.selectedpsychologyType = 'fear'; |
| | | } else if (this.HealthHuliList.psychologyTypeClass.suspicion === 1) { |
| | | this.selectedpsychologyType = 'suspicion'; |
| | | }else if (this.HealthHuliList.psychologyTypeClass.miss === 1) { |
| | | this.selectedpsychologyType = 'miss'; |
| | | }else if (this.HealthHuliList.psychologyTypeClass.constrain === 1) { |
| | | this.selectedpsychologyType = 'constrain'; |
| | | } else if (this.HealthHuliList.psychologyTypeClass.other === 1) { |
| | | this.selectedpsychologyType = 'other'; |
| | | } |
| | | |
| | | //病例态度 |
| | | if (this.HealthHuliList.attitudeClass.lucidity === 1) { |
| | | this.selectedpattitudeType = 'lucidity'; |
| | | } else if (this.HealthHuliList.attitudeClass.unknown === 1) { |
| | | this.selectedpattitudeType = 'unknown'; |
| | | } else if (this.HealthHuliList.attitudeClass.normal === 1) { |
| | | this.selectedpattitudeType = 'normal'; |
| | | } else if (this.HealthHuliList.attitudeClass.abnormal === 1) { |
| | | this.selectedpattitudeType = 'abnormal'; |
| | | }else if (this.HealthHuliList.attitudeClass.other === 1) { |
| | | this.selectedpattitudeType = 'other'; |
| | | } |
| | | |
| | | //全身营养 |
| | | if (this.HealthHuliList.nutritionClass.good === 1) { |
| | | this.selectednutritionType = 'good'; |
| | | } else if (this.HealthHuliList.nutritionClass.medium === 1) { |
| | | this.selectednutritionType = 'medium'; |
| | | } else if (this.HealthHuliList.nutritionClass.poor === 1) { |
| | | this.selectednutritionType = 'poor'; |
| | | } else if (this.HealthHuliList.nutritionClass.obesity === 1) { |
| | | this.selectednutritionType = 'obesity'; |
| | | }else if (this.HealthHuliList.nutritionClass.thin === 1) { |
| | | this.selectednutritionType = 'thin'; |
| | | } else if (this.HealthHuliList.nutritionClass.fluid === 1) { |
| | | this.selectednutritionType = 'fluid'; |
| | | }else if (this.HealthHuliList.nutritionClass.other === 1) { |
| | | this.selectednutritionType = 'other'; |
| | | } |
| | | this.loading = false; |
| | | |
| | | |
| | | } |
| | | |
| | | } |
| | | ); |
| | | // listHealthHuli(this.queryParams).then(response => { |
| | | // if(response.data.length ===0){ |
| | | // this.loading = false; |
| | | // this.HealthHuliList={}; |
| | | // |
| | | // } |
| | | // else{ |
| | | // this.HealthHuliList = response.data; |
| | | // |
| | | // //皮肤粘膜 |
| | | // |
| | | // if (this.HealthHuliList.skinTypeClass.acne === 1) { |
| | | // this.selectedskinType = 'acne'; |
| | | // } else if (this.HealthHuliList.skinTypeClass.psoriasis === 1) { |
| | | // this.selectedskinType = 'psoriasis'; |
| | | // } else if (this.HealthHuliList.skinTypeClass.color === 1) { |
| | | // this.selectedskinType = 'color'; |
| | | // } else if (this.HealthHuliList.skinTypeClass.edema === 1) { |
| | | // this.selectedskinType = 'edema'; |
| | | // }else if (this.HealthHuliList.skinTypeClass.rash === 1) { |
| | | // this.selectedskinType = 'rash'; |
| | | // }else if (this.HealthHuliList.skinTypeClass.bloodStasis === 1) { |
| | | // this.selectedskinType = 'bloodStasis'; |
| | | // } else if (this.HealthHuliList.skinTypeClass.snom === 1) { |
| | | // this.selectedskinType = 'snom'; |
| | | // }else if (this.HealthHuliList.skinTypeClass.nevus === 1) { |
| | | // this.selectedskinType = 'nevus'; |
| | | // }else if (this.HealthHuliList.skinTypeClass.ulcer === 1) { |
| | | // this.selectedskinType = 'ulcer'; |
| | | // }else if (this.HealthHuliList.skinTypeClass.other === 1) { |
| | | // this.selectedskinType = 'other'; |
| | | // } |
| | | // //心里状态 |
| | | // if (this.HealthHuliList.psychologyTypeClass.optimistic === 1) { |
| | | // this.selectedpsychologyType = 'optimistic'; |
| | | // } else if (this.HealthHuliList.psychologyTypeClass.worry === 1) { |
| | | // this.selectedpsychologyType = 'worry'; |
| | | // } else if (this.HealthHuliList.psychologyTypeClass.fear === 1) { |
| | | // this.selectedpsychologyType = 'fear'; |
| | | // } else if (this.HealthHuliList.psychologyTypeClass.suspicion === 1) { |
| | | // this.selectedpsychologyType = 'suspicion'; |
| | | // }else if (this.HealthHuliList.psychologyTypeClass.miss === 1) { |
| | | // this.selectedpsychologyType = 'miss'; |
| | | // }else if (this.HealthHuliList.psychologyTypeClass.constrain === 1) { |
| | | // this.selectedpsychologyType = 'constrain'; |
| | | // } else if (this.HealthHuliList.psychologyTypeClass.other === 1) { |
| | | // this.selectedpsychologyType = 'other'; |
| | | // } |
| | | // |
| | | // //病例态度 |
| | | // if (this.HealthHuliList.attitudeClass.lucidity === 1) { |
| | | // this.selectedpattitudeType = 'lucidity'; |
| | | // } else if (this.HealthHuliList.attitudeClass.unknown === 1) { |
| | | // this.selectedpattitudeType = 'unknown'; |
| | | // } else if (this.HealthHuliList.attitudeClass.normal === 1) { |
| | | // this.selectedpattitudeType = 'normal'; |
| | | // } else if (this.HealthHuliList.attitudeClass.abnormal === 1) { |
| | | // this.selectedpattitudeType = 'abnormal'; |
| | | // }else if (this.HealthHuliList.attitudeClass.other === 1) { |
| | | // this.selectedpattitudeType = 'other'; |
| | | // } |
| | | // |
| | | // //全身营养 |
| | | // if (this.HealthHuliList.nutritionClass.good === 1) { |
| | | // this.selectednutritionType = 'good'; |
| | | // } else if (this.HealthHuliList.nutritionClass.medium === 1) { |
| | | // this.selectednutritionType = 'medium'; |
| | | // } else if (this.HealthHuliList.nutritionClass.poor === 1) { |
| | | // this.selectednutritionType = 'poor'; |
| | | // } else if (this.HealthHuliList.nutritionClass.obesity === 1) { |
| | | // this.selectednutritionType = 'obesity'; |
| | | // }else if (this.HealthHuliList.nutritionClass.thin === 1) { |
| | | // this.selectednutritionType = 'thin'; |
| | | // } else if (this.HealthHuliList.nutritionClass.fluid === 1) { |
| | | // this.selectednutritionType = 'fluid'; |
| | | // }else if (this.HealthHuliList.nutritionClass.other === 1) { |
| | | // this.selectednutritionType = 'other'; |
| | | // } |
| | | // this.loading = false; |
| | | // |
| | | // |
| | | // } |
| | | // |
| | | // } |
| | | // ); |
| | | |
| | | //现存健康问题 |
| | | listHealthNow(this.queryParams).then(response => { |
| | | if(response.data.length == 0){ |
| | | // |
| | | // listHealthNow(this.queryParams).then(response => { |
| | | // |
| | | // if(response.data.length ===0){ |
| | | // this.loading = false; |
| | | // this.HealthNowList={}; |
| | | // |
| | | // } |
| | | // else{ |
| | | // this.HealthNowList = response.data; |
| | | // //脑血管 |
| | | // if (this.HealthNowList.brainDiseaseClass.ischemicStroke === 1) { |
| | | // this.selectedbrainDiseaseType = 'ischemicStroke'; |
| | | // } else if (this.HealthNowList.brainDiseaseClass.cerebralHemorrhage === 1) { |
| | | // this.selectedbrainDiseaseType = 'cerebralHemorrhage'; |
| | | // } else if (this.HealthNowList.brainDiseaseClass.subarachnoidHemorrhage === 1) { |
| | | // this.selectedbrainDiseaseType = 'subarachnoidHemorrhage'; |
| | | // } else if (this.HealthNowList.brainDiseaseClass.TIA === 1) { |
| | | // this.selectedbrainDiseaseType = 'TIA'; |
| | | // }else if (this.HealthNowList.brainDiseaseClass.other === 1) { |
| | | // this.selectedbrainDiseaseType = 'other'; |
| | | // } |
| | | // //心脏疾病 |
| | | // if (this.HealthNowList.heartDiseaseClass.myocardialInfarct === 1) { |
| | | // this.selectedheartDiseaseType = 'myocardialInfarct'; |
| | | // } else if (this.HealthNowList.heartDiseaseClass.anginaPectoris === 1) { |
| | | // this.selectedheartDiseaseType = 'anginaPectoris'; |
| | | // } else if (this.HealthNowList.heartDiseaseClass.coronaryRevascularization === 1) { |
| | | // this.selectedheartDiseaseType = 'coronaryRevascularization'; |
| | | // } else if (this.HealthNowList.heartDiseaseClass.congestiveHeartFailure === 1) { |
| | | // this.selectedheartDiseaseType = 'congestiveHeartFailure'; |
| | | // }else if (this.HealthNowList.heartDiseaseClass.precordialPain === 1) { |
| | | // this.selectedheartDiseaseType = 'precordialPain'; |
| | | // }else if (this.HealthNowList.heartDiseaseClass.other === 1) { |
| | | // this.selectedheartDiseaseType = 'other'; |
| | | // } |
| | | // //血管疾病 |
| | | // if (this.HealthNowList.vascularDiseaseClass.dissectingAneurysm === 1) { |
| | | // this.selectedvascularDiseaseType = 'dissectingAneurysm'; |
| | | // } else if (this.HealthNowList.vascularDiseaseClass.arterialOcclusiveDiseases === 1) { |
| | | // this.selectedvascularDiseaseType = 'arterialOcclusiveDiseases'; |
| | | // } else if (this.HealthNowList.vascularDiseaseClass.other === 1) { |
| | | // this.selectedvascularDiseaseType = 'other'; |
| | | // } |
| | | // //消化系统疾病 |
| | | // if (this.HealthNowList.digestiveSystemDiseaseClass.gastroduodenalUlcer === 1) { |
| | | // this.selecteddigestiveSystemDiseaseType = 'gastroduodenalUlcer'; |
| | | // } else if (this.HealthNowList.digestiveSystemDiseaseClass.esophagitis === 1) { |
| | | // this.selecteddigestiveSystemDiseaseType = 'esophagitis'; |
| | | // } else if (this.HealthNowList.digestiveSystemDiseaseClass.gastritis === 1) { |
| | | // this.selecteddigestiveSystemDiseaseType = 'gastritis'; |
| | | // } else if (this.HealthNowList.digestiveSystemDiseaseClass.colitis === 1) { |
| | | // this.selecteddigestiveSystemDiseaseType = 'colitis'; |
| | | // }else if (this.HealthNowList.digestiveSystemDiseaseClass.hepatitis === 1) { |
| | | // this.selecteddigestiveSystemDiseaseType = 'hepatitis'; |
| | | // }else if (this.HealthNowList.digestiveSystemDiseaseClass.cholecystitis === 1) { |
| | | // this.selecteddigestiveSystemDiseaseType = 'cholecystitis'; |
| | | // }else if (this.HealthNowList.digestiveSystemDiseaseClass.cholelithiasis === 1) { |
| | | // this.selecteddigestiveSystemDiseaseType = 'cholelithiasis'; |
| | | // } else if (this.HealthNowList.digestiveSystemDiseaseClass.fattyLiver === 1) { |
| | | // this.selecteddigestiveSystemDiseaseType = 'fattyLiver'; |
| | | // } else if (this.HealthNowList.digestiveSystemDiseaseClass.hyperlipidemia === 1) { |
| | | // this.selecteddigestiveSystemDiseaseType = 'hyperlipidemia'; |
| | | // }else if (this.HealthNowList.digestiveSystemDiseaseClass.haemorrhoids === 1) { |
| | | // this.selecteddigestiveSystemDiseaseType = 'haemorrhoids'; |
| | | // }else if (this.HealthNowList.digestiveSystemDiseaseClass.other === 1) { |
| | | // this.selecteddigestiveSystemDiseaseType = 'other'; |
| | | // } |
| | | // //呼吸系统疾病 |
| | | // if (this.HealthNowList.respiratorySystemDiseaseClass.COPD === 1) { |
| | | // this.selectedrespiratorySystemDiseaseType = 'COPD'; |
| | | // } else if (this.HealthNowList.respiratorySystemDiseaseClass.pneumonia === 1) { |
| | | // this.selectedrespiratorySystemDiseaseType = 'pneumonia'; |
| | | // } else if (this.HealthNowList.respiratorySystemDiseaseClass.bronchitis === 1) { |
| | | // this.selectedrespiratorySystemDiseaseType = 'bronchitis'; |
| | | // } else if (this.HealthNowList.respiratorySystemDiseaseClass.bronchialAsthma === 1) { |
| | | // this.selectedrespiratorySystemDiseaseType = 'bronchialAsthma'; |
| | | // }else if (this.HealthNowList.respiratorySystemDiseaseClass.pulmonaryTuberculosis === 1) { |
| | | // this.selectedrespiratorySystemDiseaseType = 'pulmonaryTuberculosis'; |
| | | // }else if (this.HealthNowList.respiratorySystemDiseaseClass.other === 1) { |
| | | // this.selectedrespiratorySystemDiseaseType = 'other'; |
| | | // }else if (this.HealthNowList.respiratorySystemDiseaseClass.upperRespiratoryTractInfection === 1) { |
| | | // this.selectedrespiratorySystemDiseaseType = 'upperRespiratoryTractInfection'; |
| | | // } |
| | | // //肾脏疾病 |
| | | // if (this.HealthNowList.kidneyDiseaseClass.diabetes === 1) { |
| | | // this.selectedkidneyDiseaseDiseaseType = 'diabetes'; |
| | | // } else if (this.HealthNowList.kidneyDiseaseClass.renalFailure === 1) { |
| | | // this.selectedkidneyDiseaseDiseaseType = 'renalFailure'; |
| | | // } else if (this.HealthNowList.kidneyDiseaseClass.acuteNephritis === 1) { |
| | | // this.selectedkidneyDiseaseDiseaseType = 'acuteNephritis'; |
| | | // } else if (this.HealthNowList.kidneyDiseaseClass.chronicNephritis === 1) { |
| | | // this.selectedkidneyDiseaseDiseaseType = 'chronicNephritis'; |
| | | // }else if (this.HealthNowList.kidneyDiseaseClass.urinaryCalculus === 1) { |
| | | // this.selectedkidneyDiseaseDiseaseType = 'urinaryCalculus'; |
| | | // }else if (this.HealthNowList.kidneyDiseaseClass.urinaryTractInfection === 1) { |
| | | // this.selectedkidneyDiseaseDiseaseType = 'urinaryTractInfection'; |
| | | // }else if (this.HealthNowList.kidneyDiseaseClass.other === 1) { |
| | | // this.selectedkidneyDiseaseDiseaseType = 'other'; |
| | | // } |
| | | // //其他疾病 |
| | | // if (this.HealthNowList.otherDiseaseClass.pregnant === 1) { |
| | | // this.selectedotherDiseaseType = 'pregnant'; |
| | | // } else if (this.HealthNowList.otherDiseaseClass.cold === 1) { |
| | | // this.selectedotherDiseaseType = 'cold'; |
| | | // } else if (this.HealthNowList.otherDiseaseClass.infectious === 1) { |
| | | // this.selectedotherDiseaseType = 'infectious'; |
| | | // } else if (this.HealthNowList.otherDiseaseClass.pulmonaryBulla === 1) { |
| | | // this.selectedotherDiseaseType = 'pulmonaryBulla'; |
| | | // }else if (this.HealthNowList.otherDiseaseClass.hemoptysis === 1) { |
| | | // this.selectedotherDiseaseType = 'hemoptysis'; |
| | | // }else if (this.HealthNowList.otherDiseaseClass.activeBleeding === 1) { |
| | | // this.selectedotherDiseaseType = 'activeBleeding'; |
| | | // }else if (this.HealthNowList.otherDiseaseClass.other === 1) { |
| | | // this.selectedotherDiseaseType = 'other'; |
| | | // } |
| | | // |
| | | // this.loading = false; |
| | | // |
| | | // } |
| | | // |
| | | // } |
| | | // ); |
| | | |
| | | this.HealthNowList={}; |
| | | listHealthNote(this.queryParams).then(response => { |
| | | |
| | | if (response.data.length === 0) { |
| | | this.loading = false; |
| | | } |
| | | else{ |
| | | this.HealthNowList = response.data; |
| | | //脑血管 |
| | | if (this.HealthNowList.brainDiseaseClass.ischemicStroke === 1) { |
| | | this.selectedbrainDiseaseType = 'ischemicStroke'; |
| | | } else if (this.HealthNowList.brainDiseaseClass.cerebralHemorrhage === 1) { |
| | | this.selectedbrainDiseaseType = 'cerebralHemorrhage'; |
| | | } else if (this.HealthNowList.brainDiseaseClass.subarachnoidHemorrhage === 1) { |
| | | this.selectedbrainDiseaseType = 'subarachnoidHemorrhage'; |
| | | } else if (this.HealthNowList.brainDiseaseClass.TIA === 1) { |
| | | this.selectedbrainDiseaseType = 'TIA'; |
| | | }else if (this.HealthNowList.brainDiseaseClass.other === 1) { |
| | | this.selectedbrainDiseaseType = 'other'; |
| | | } |
| | | //心脏疾病 |
| | | if (this.HealthNowList.heartDiseaseClass.myocardialInfarct === 1) { |
| | | this.selectedheartDiseaseType = 'myocardialInfarct'; |
| | | } else if (this.HealthNowList.heartDiseaseClass.anginaPectoris === 1) { |
| | | this.selectedheartDiseaseType = 'anginaPectoris'; |
| | | } else if (this.HealthNowList.heartDiseaseClass.coronaryRevascularization === 1) { |
| | | this.selectedheartDiseaseType = 'coronaryRevascularization'; |
| | | } else if (this.HealthNowList.heartDiseaseClass.congestiveHeartFailure === 1) { |
| | | this.selectedheartDiseaseType = 'congestiveHeartFailure'; |
| | | }else if (this.HealthNowList.heartDiseaseClass.precordialPain === 1) { |
| | | this.selectedheartDiseaseType = 'precordialPain'; |
| | | }else if (this.HealthNowList.heartDiseaseClass.other === 1) { |
| | | this.selectedheartDiseaseType = 'other'; |
| | | } |
| | | //血管疾病 |
| | | if (this.HealthNowList.vascularDiseaseClass.dissectingAneurysm === 1) { |
| | | this.selectedvascularDiseaseType = 'dissectingAneurysm'; |
| | | } else if (this.HealthNowList.vascularDiseaseClass.arterialOcclusiveDiseases === 1) { |
| | | this.selectedvascularDiseaseType = 'arterialOcclusiveDiseases'; |
| | | } else if (this.HealthNowList.vascularDiseaseClass.other === 1) { |
| | | this.selectedvascularDiseaseType = 'other'; |
| | | } |
| | | //消化系统疾病 |
| | | if (this.HealthNowList.digestiveSystemDiseaseClass.gastroduodenalUlcer === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'gastroduodenalUlcer'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.esophagitis === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'esophagitis'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.gastritis === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'gastritis'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.colitis === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'colitis'; |
| | | }else if (this.HealthNowList.digestiveSystemDiseaseClass.hepatitis === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'hepatitis'; |
| | | }else if (this.HealthNowList.digestiveSystemDiseaseClass.cholecystitis === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'cholecystitis'; |
| | | }else if (this.HealthNowList.digestiveSystemDiseaseClass.cholelithiasis === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'cholelithiasis'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.fattyLiver === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'fattyLiver'; |
| | | } else if (this.HealthNowList.digestiveSystemDiseaseClass.hyperlipidemia === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'hyperlipidemia'; |
| | | }else if (this.HealthNowList.digestiveSystemDiseaseClass.haemorrhoids === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'haemorrhoids'; |
| | | }else if (this.HealthNowList.digestiveSystemDiseaseClass.other === 1) { |
| | | this.selecteddigestiveSystemDiseaseType = 'other'; |
| | | } |
| | | //呼吸系统疾病 |
| | | if (this.HealthNowList.respiratorySystemDiseaseClass.COPD === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'COPD'; |
| | | } else if (this.HealthNowList.respiratorySystemDiseaseClass.pneumonia === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'pneumonia'; |
| | | } else if (this.HealthNowList.respiratorySystemDiseaseClass.bronchitis === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'bronchitis'; |
| | | } else if (this.HealthNowList.respiratorySystemDiseaseClass.bronchialAsthma === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'bronchialAsthma'; |
| | | }else if (this.HealthNowList.respiratorySystemDiseaseClass.pulmonaryTuberculosis === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'pulmonaryTuberculosis'; |
| | | }else if (this.HealthNowList.respiratorySystemDiseaseClass.other === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'other'; |
| | | }else if (this.HealthNowList.respiratorySystemDiseaseClass.upperRespiratoryTractInfection === 1) { |
| | | this.selectedrespiratorySystemDiseaseType = 'upperRespiratoryTractInfection'; |
| | | } |
| | | //肾脏疾病 |
| | | if (this.HealthNowList.kidneyDiseaseClass.diabetes === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'diabetes'; |
| | | } else if (this.HealthNowList.kidneyDiseaseClass.renalFailure === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'renalFailure'; |
| | | } else if (this.HealthNowList.kidneyDiseaseClass.acuteNephritis === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'acuteNephritis'; |
| | | } else if (this.HealthNowList.kidneyDiseaseClass.chronicNephritis === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'chronicNephritis'; |
| | | }else if (this.HealthNowList.kidneyDiseaseClass.urinaryCalculus === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'urinaryCalculus'; |
| | | }else if (this.HealthNowList.kidneyDiseaseClass.urinaryTractInfection === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'urinaryTractInfection'; |
| | | }else if (this.HealthNowList.kidneyDiseaseClass.other === 1) { |
| | | this.selectedkidneyDiseaseDiseaseType = 'other'; |
| | | } |
| | | //其他疾病 |
| | | if (this.HealthNowList.otherDiseaseClass.pregnant === 1) { |
| | | this.selectedotherDiseaseType = 'pregnant'; |
| | | } else if (this.HealthNowList.otherDiseaseClass.cold === 1) { |
| | | this.selectedotherDiseaseType = 'cold'; |
| | | } else if (this.HealthNowList.otherDiseaseClass.infectious === 1) { |
| | | this.selectedotherDiseaseType = 'infectious'; |
| | | } else if (this.HealthNowList.otherDiseaseClass.pulmonaryBulla === 1) { |
| | | this.selectedotherDiseaseType = 'pulmonaryBulla'; |
| | | }else if (this.HealthNowList.otherDiseaseClass.hemoptysis === 1) { |
| | | this.selectedotherDiseaseType = 'hemoptysis'; |
| | | }else if (this.HealthNowList.otherDiseaseClass.activeBleeding === 1) { |
| | | this.selectedotherDiseaseType = 'activeBleeding'; |
| | | }else if (this.HealthNowList.otherDiseaseClass.other === 1) { |
| | | this.selectedotherDiseaseType = 'other'; |
| | | } |
| | | this.HealthNoteList = {}; |
| | | |
| | | } else { |
| | | this.HealthNoteList = response.data; |
| | | console.log(this.HealthNoteList) |
| | | this.loading = false; |
| | | |
| | | } |
| | | |
| | | } |
| | | ); |
| | | |
| | | }, |
| | | |
| | | |
| | |
| | | } |
| | | .form{ |
| | | background:center/11% no-repeat url('../../assets/icons/form.png') ; |
| | | } |
| | | .app-container { |
| | | background-color: #FEF7FC; |
| | | } |
| | | .btn_edit{ |
| | | background:center no-repeat url('../../assets/icons/edit.png') ; |
| | | position: absolute; |
| | | top: 0; |
| | | padding-right: 90px; |
| | | }</style> |