|
@@ -1,611 +0,0 @@
|
|
-<template>
|
|
|
|
- <div>
|
|
|
|
- <el-dialog top="20px" :close-on-click-modal="false" :show-close="false" :visible.sync="dialogshow" width="850px"
|
|
|
|
- :before-close="close">
|
|
|
|
- <div slot="title">
|
|
|
|
- <div class="centerd">
|
|
|
|
- <span class="fs-26 font-bold">随访查询</span>
|
|
|
|
- <div class="ml-auto">
|
|
|
|
- <el-button v-if="pdata.code == 0 ||
|
|
|
|
- pdata.code == 2 ||
|
|
|
|
- pdata.code == 3 ||
|
|
|
|
- pdata.code == 4
|
|
|
|
- " @click="$emit('kanzhen', pdata.info)" type="primary" icon="el-icon-edit" plain>
|
|
|
|
- 看诊
|
|
|
|
- </el-button>
|
|
|
|
- <el-button @click="close" type="warning" icon="el-icon-close" plain>
|
|
|
|
- 关闭
|
|
|
|
- </el-button>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div style="margin: -10px 0px;">
|
|
|
|
- <el-card v-if="pdata.info">
|
|
|
|
- <div class="">
|
|
|
|
- <div class="title fs-20 mb-1">患者信息</div>
|
|
|
|
- <el-descriptions title="" :column="3" border size="medium">
|
|
|
|
- <el-descriptions-item label="姓名">
|
|
|
|
- <span class="font-bold fs-18 text-dark">
|
|
|
|
- {{ pdata.info.username }}
|
|
|
|
- </span>
|
|
|
|
- </el-descriptions-item>
|
|
|
|
-
|
|
|
|
- <el-descriptions-item label="性别">
|
|
|
|
- <el-tag size="small" :type="getIDCardInfo(pdata.info.idCard).sex == 1 ? '' : 'danger'
|
|
|
|
- ">
|
|
|
|
- <span :class="getIDCardInfo(pdata.info.idCard).sex == 1
|
|
|
|
- ? 'el-icon-male'
|
|
|
|
- : 'el-icon-female'
|
|
|
|
- "></span>
|
|
|
|
- </el-tag>
|
|
|
|
- </el-descriptions-item>
|
|
|
|
-
|
|
|
|
- <el-descriptions-item label="手机号" v-if="pdata.info.phone">
|
|
|
|
- {{ pdata.info.phone }}
|
|
|
|
- </el-descriptions-item>
|
|
|
|
- <el-descriptions-item label="慢病类型" v-if="pdata.info.chronicDiseaseType">
|
|
|
|
- <span class="font-bold fs-18 text-dark">
|
|
|
|
- {{
|
|
|
|
- CHRONIC_DISEASE_TYPE[pdata.info.chronicDiseaseType - 1]
|
|
|
|
- .label
|
|
|
|
- }}
|
|
|
|
- </span>
|
|
|
|
- </el-descriptions-item>
|
|
|
|
- <el-descriptions-item label="年龄">
|
|
|
|
- {{ getIDCardInfo(pdata.info.idCard).age }}
|
|
|
|
- </el-descriptions-item>
|
|
|
|
- <el-descriptions-item label="身份证号" v-if="pdata.info.idCard">
|
|
|
|
- {{ pdata.info.idCard }}
|
|
|
|
- </el-descriptions-item>
|
|
|
|
- <el-descriptions-item label="糖尿病病龄" v-if="pdata.info.chronicDiseaseType == 2 ||
|
|
|
|
- pdata.info.chronicDiseaseType == 3
|
|
|
|
- ">
|
|
|
|
- {{
|
|
|
|
- (
|
|
|
|
- (new Date().getTime() -
|
|
|
|
- new Date(pdata.info.tnbIllTime || new Date()).getTime()) /
|
|
|
|
- 31536000000
|
|
|
|
- ).toFixed(0)
|
|
|
|
- }}年
|
|
|
|
- </el-descriptions-item>
|
|
|
|
- <el-descriptions-item label="高血压病龄" v-if="pdata.info.chronicDiseaseType == 1 ||
|
|
|
|
- pdata.info.chronicDiseaseType == 3
|
|
|
|
- ">
|
|
|
|
- {{
|
|
|
|
- (
|
|
|
|
- (new Date().getTime() -
|
|
|
|
- new Date(pdata.info.gxyIllTime || new Date()).getTime()) /
|
|
|
|
- 31536000000
|
|
|
|
- ).toFixed(0)
|
|
|
|
- }}年
|
|
|
|
- </el-descriptions-item>
|
|
|
|
- <!-- <el-descriptions-item label="医保类型">
|
|
|
|
- <span class="font-bold fs-18 text-dark">
|
|
|
|
- {{
|
|
|
|
- MEDICAL_INSURANCE_TYPE[pdata.info.medicalInsuranceType - 1]
|
|
|
|
- .label
|
|
|
|
- }}
|
|
|
|
- </span>
|
|
|
|
- </el-descriptions-item>
|
|
|
|
- <el-descriptions-item label="社保卡号">
|
|
|
|
- {{ pdata.info.socialInsurance }}
|
|
|
|
- </el-descriptions-item>
|
|
|
|
-
|
|
|
|
- <el-descriptions-item label="健康指数">
|
|
|
|
- {{
|
|
|
|
- pdata.info.healthIndex
|
|
|
|
- ? 1000 - pdata.info.healthIndex
|
|
|
|
- : '未计算'
|
|
|
|
- }}
|
|
|
|
- </el-descriptions-item> -->
|
|
|
|
- <el-descriptions-item label="联系地址" v-if="pdata.info.town">
|
|
|
|
- {{ pdata.info.town }}{{ pdata.info.village
|
|
|
|
- }}{{ pdata.info.addressDetail }}
|
|
|
|
- </el-descriptions-item>
|
|
|
|
- </el-descriptions>
|
|
|
|
- </div>
|
|
|
|
- </el-card>
|
|
|
|
- <el-row :gutter="16">
|
|
|
|
- <el-col :span="24">
|
|
|
|
- <el-card class="" :body-style="{ height: '200px' }">
|
|
|
|
- <div class="mb-1 fs-20 font-bold text-dark d-flex">
|
|
|
|
- <span>随访查询结果</span>
|
|
|
|
- </div>
|
|
|
|
- <!-- 0需要随访 -->
|
|
|
|
- <div v-if="pdata.code == 0" style="margin-top: -80px">
|
|
|
|
- <el-result icon="warning">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 该患者
|
|
|
|
- <span class="text-error fs-24 font-bold">需要随访</span>
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- <template slot="extra">
|
|
|
|
- <el-button type="primary" size="medium" class="mt-n2" @click="$emit('kanzhen', pdata.info)">
|
|
|
|
- 去看诊
|
|
|
|
- </el-button>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- <!-- 1 需要随访 未登记 -->
|
|
|
|
- <div v-if="pdata.code == 1" style="margin-top: -80px">
|
|
|
|
- <el-result icon="warning">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 该患者近期需要随访,但在本系统中
|
|
|
|
- <span class="text-error fs-24 font-bold">未登记</span>
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- <template slot="extra">
|
|
|
|
- <el-button type="primary" size="medium" class="mt-n2" @click="$emit('dengji')">
|
|
|
|
- 去登记
|
|
|
|
- </el-button>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- <!-- 2不需要随访 -->
|
|
|
|
- <div v-if="pdata.code == 2" style="margin-top: -50px">
|
|
|
|
- <el-result icon="success">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 该患者近期
|
|
|
|
- <span class="text-green fs-24 font-bold">已完成随访</span>
|
|
|
|
- ,下次随访时间
|
|
|
|
- <span class="text-green fs-24 font-bold">
|
|
|
|
- {{ resdate }}
|
|
|
|
- </span>
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- <!-- 3患者需要随访未在电子健康档案建档 -->
|
|
|
|
- <div v-if="pdata.code == 3" style="margin-top: -50px">
|
|
|
|
- <el-result icon="error">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 近期
|
|
|
|
- <span class="text-error fs-24 font-bold">需要随访</span>
|
|
|
|
- ,电子健康档案
|
|
|
|
- <span class="text-error fs-24 font-bold">未建档</span>
|
|
|
|
- !
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- <!-- 4近期不需要随访,未在电子健康档案建档 -->
|
|
|
|
- <div v-if="pdata.code == 4" style="margin-top: -50px">
|
|
|
|
- <el-result icon="success">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 近期
|
|
|
|
- <span class="text-green fs-24 font-bold">不需要随访</span>
|
|
|
|
- , 下次随访时间
|
|
|
|
- <span class="text-green fs-24 font-bold">
|
|
|
|
- {{ resdate }}
|
|
|
|
- </span>
|
|
|
|
- , 电子健康档案
|
|
|
|
- <span class="text-error fs-24 font-bold">未建档</span>
|
|
|
|
- !
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- <!-- 5未登记且未建档 -->
|
|
|
|
- <div v-if="pdata.code == 5" style="margin-top: -50px">
|
|
|
|
- <el-result icon="error">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 患者在系统中
|
|
|
|
- <span class="text-error fs-24 font-bold">未登记</span>
|
|
|
|
- ,电子健康档案
|
|
|
|
- <span class="text-error fs-24 font-bold">未建档</span>
|
|
|
|
- !
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- <!-- 6不需要随访 未登记 -->
|
|
|
|
- <div v-if="pdata.code == 6" style="margin-top: -50px">
|
|
|
|
- <el-result icon="error">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 患者不需要随访,下次随访 <span class="text-error fs-24 font-bold">{{ resdate }}</span>,在系统中
|
|
|
|
- <span class="text-error fs-24 font-bold">未登记</span>
|
|
|
|
- !
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- <!-- 7 不是电子健康档案中不是两慢病 -->
|
|
|
|
- <div v-if="pdata.code == 7" style="margin-top: -50px">
|
|
|
|
- <el-result icon="error">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 该患者在电子健康档案中
|
|
|
|
- <span class="text-error fs-24 font-bold">不是两慢病</span>
|
|
|
|
- 患者,请跟患者确认!
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- <!-- 8 不是该患者在本系统中不是两慢病 -->
|
|
|
|
- <div v-if="pdata.code == 8" style="margin-top: -50px">
|
|
|
|
- <el-result icon="error">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 该患者在本系统中
|
|
|
|
- <span class="text-error fs-24 font-bold">不是两慢病</span>
|
|
|
|
- 患者,请跟患者确认!
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- <div v-if="pdata.code > 8 || pdata.code < 0">
|
|
|
|
- <el-result icon="warning" style="margin-top: -50px">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 该患者
|
|
|
|
- <span class="text-error fs-24 font-bold">查询出错</span>
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- </el-card>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="12" v-if="hospitalinfo.province + hospitalinfo.city + hospitalinfo.area ==
|
|
|
|
- '浙江省杭州市桐庐县' || hospitalinfo.province + hospitalinfo.city + hospitalinfo.area ==
|
|
|
|
- '浙江省宁波市慈溪市'
|
|
|
|
- ">
|
|
|
|
- <el-card :body-style="{ height: '190px' }">
|
|
|
|
- <div class="title fs-20">体检检查</div>
|
|
|
|
- <div v-if="Number(pdata.istj)" style="margin-top: -50px">
|
|
|
|
- <el-result icon="success">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 该患者
|
|
|
|
- <span class="text-green fs-24 font-bold">已完成</span>
|
|
|
|
- 体检
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- <div v-if="!Number(pdata.istj)" style="margin-top: -50px">
|
|
|
|
- <el-result icon="warning">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 该患者今年
|
|
|
|
- <span class="text-error fs-24 font-bold">未体检</span>
|
|
|
|
- ,请提醒患者去体检!
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- </el-card>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="12" v-if="hospitalinfo.province + hospitalinfo.city + hospitalinfo.area ==
|
|
|
|
- '浙江省杭州市桐庐县' || hospitalinfo.province + hospitalinfo.city + hospitalinfo.area ==
|
|
|
|
- '浙江省宁波市慈溪市'
|
|
|
|
- ">
|
|
|
|
- <el-card class="" :body-style="{ height: '190px' }">
|
|
|
|
- <div class="fs-20 font-bold text-dark d-flex" style="margin-bottom: 10px">
|
|
|
|
- <span>患者签约</span>
|
|
|
|
- <div class="ml-auto centerY" v-if="pdata.tlSign && pdata.tlSign.qyysid">
|
|
|
|
- <span class="text-green">已签约</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div v-if="pdata.tlSign" style="position: relative; height: 80%">
|
|
|
|
- <div style="font-size: 100px; z-index: 0; opacity: 0.4" class="position-50 text-green el-icon-success">
|
|
|
|
- </div>
|
|
|
|
- <div style="z-index: 999; position: absolute; width: 100%">
|
|
|
|
- <div class="centerY">
|
|
|
|
- <div class="centerY w-50" style="margin-top: 15px">
|
|
|
|
- <div class="w-40">签约医生:</div>
|
|
|
|
- <div class="w-60 font-bold fs-18 text-dark">
|
|
|
|
- {{ pdata.tlSign.qyysxm }}
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="centerY w-50" v-if="pdata.tlSign.qyysid" style="margin-top: 15px">
|
|
|
|
- <div class="w-40">医生ID:</div>
|
|
|
|
- <div class="w-60 font-bold fs-18 text-dark">
|
|
|
|
- {{ pdata.tlSign.qyysid }}
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="centerY" v-if="pdata.tlSign.qytdmc" style="margin-top: 15px">
|
|
|
|
- <div class="w-20">签约团队:</div>
|
|
|
|
- <div class="w-80 font-bold fs-18 text-dark">
|
|
|
|
- {{ pdata.tlSign.qytdmc }}
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="centerY" v-if="pdata.tlSign.jgmc" style="margin-top: 15px">
|
|
|
|
- <div class="w-20">签约机构:</div>
|
|
|
|
- <el-tooltip class="item" effect="dark" :content="pdata.tlSign.jgmc" placement="top">
|
|
|
|
- <div class="w-80 font-bold fs-18 text-dark text-view1">
|
|
|
|
- {{ pdata.tlSign.jgmc }}
|
|
|
|
- </div>
|
|
|
|
- </el-tooltip>
|
|
|
|
- </div>
|
|
|
|
- <div class="centerY" v-if="pdata.tlSign.qyrq" style="margin-top: 15px">
|
|
|
|
- <div class="w-20">签约时间:</div>
|
|
|
|
- <div class="w-80 font-bold fs-18 text-dark">
|
|
|
|
- {{ pdata.tlSign.qyrq }}
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="centerY" v-if="pdata.tlSign.sfyx" style="margin-top: 15px">
|
|
|
|
- <div class="w-20">是否有效:</div>
|
|
|
|
- <div class="w-80 font-bold fs-18 text-dark">
|
|
|
|
- {{ pdata.tlSign.sfyx }}
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div v-else style="margin-top: -50px">
|
|
|
|
- <el-result icon="warning">
|
|
|
|
- <template slot="title">
|
|
|
|
- <span class="fs-20">
|
|
|
|
- 该患者
|
|
|
|
- <span class="text-error fs-24 font-bold">未签约</span>
|
|
|
|
- !
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- </el-result>
|
|
|
|
- </div>
|
|
|
|
- </el-card>
|
|
|
|
- </el-col>
|
|
|
|
- </el-row>
|
|
|
|
- </div>
|
|
|
|
- </el-dialog>
|
|
|
|
- </div>
|
|
|
|
-</template>
|
|
|
|
-// switch (res.code) {
|
|
|
|
- // case 0:
|
|
|
|
- // // 需要随访
|
|
|
|
- // this.$notify({
|
|
|
|
- // title: '需随访',
|
|
|
|
- // message: res.msg,
|
|
|
|
- // type: 'warning',
|
|
|
|
- // })
|
|
|
|
- // this.elementValue.patientQueryForm.patientType = 'all'
|
|
|
|
- // this.elementValue.patientList = [res.data]
|
|
|
|
- // break
|
|
|
|
- // case 1:
|
|
|
|
- // // 需要随访 未登记
|
|
|
|
- // this.$notify({
|
|
|
|
- // title: '未登记',
|
|
|
|
- // message: res.msg,
|
|
|
|
- // type: 'error',
|
|
|
|
- // })
|
|
|
|
- // this.openPatientModal('add')
|
|
|
|
- // break
|
|
|
|
- // case 2:
|
|
|
|
- // //不需要随访
|
|
|
|
- // this.$notify({
|
|
|
|
- // title: '消息',
|
|
|
|
- // message: res.msg,
|
|
|
|
- // type: 'success',
|
|
|
|
- // })
|
|
|
|
- // break
|
|
|
|
- // case 3:
|
|
|
|
- // //患者需要随访未在电子健康档案建档
|
|
|
|
- // this.$notify({
|
|
|
|
- // title: '需随访',
|
|
|
|
- // message: res.msg,
|
|
|
|
- // type: 'error',
|
|
|
|
- // })
|
|
|
|
- // this.elementValue.patientQueryForm.patientType = 'all'
|
|
|
|
- // this.elementValue.patientList = [res.data]
|
|
|
|
- // break
|
|
|
|
- // case 4:
|
|
|
|
- // //近期不需要随访,未在电子健康档案建档
|
|
|
|
- // this.$notify({
|
|
|
|
- // title: '不需要随访',
|
|
|
|
- // message: res.msg,
|
|
|
|
- // type: 'success',
|
|
|
|
- // })
|
|
|
|
- // break
|
|
|
|
- // case 5:
|
|
|
|
- // //未登记且未建档
|
|
|
|
- // this.$notify({
|
|
|
|
- // title: '未登记',
|
|
|
|
- // message: res.msg,
|
|
|
|
- // type: 'error',
|
|
|
|
- // })
|
|
|
|
- // // this.openPatientModal(0)
|
|
|
|
- // break
|
|
|
|
- // case 6:
|
|
|
|
- // // 不需要随访 未登记
|
|
|
|
- // this.$notify({
|
|
|
|
- // title: '未登记',
|
|
|
|
- // message: res.msg,
|
|
|
|
- // type: 'error',
|
|
|
|
- // })
|
|
|
|
- // // this.openPatientModal(0)
|
|
|
|
- // break
|
|
|
|
- // default:
|
|
|
|
- // this.$notify({
|
|
|
|
- // title: '错误',
|
|
|
|
- // message: res.msg,
|
|
|
|
- // type: 'error',
|
|
|
|
- // })
|
|
|
|
- // break
|
|
|
|
- // }
|
|
|
|
-<script>
|
|
|
|
-
|
|
|
|
-// let res = {
|
|
|
|
-// code: 6,
|
|
|
|
-// msg: '该患者近期不需要随访,[高血压随访时间:2022-12-08 00:00:00]请确认是否在本系统登记',
|
|
|
|
-// data: null,
|
|
|
|
-// data2: {
|
|
|
|
-// istj: '',
|
|
|
|
-// tlSign: '',
|
|
|
|
-// },
|
|
|
|
-// }
|
|
|
|
-// let res = {
|
|
|
|
-// code:6,
|
|
|
|
-// msg: '该患者近期不需要随访,[高血压随访时间:2022-12-08 00:00:00]请确认是否在本系统登记',
|
|
|
|
-// data: {
|
|
|
|
-// id: 898,
|
|
|
|
-// username: '汤思退',
|
|
|
|
-// birthday: '1934-06-15',
|
|
|
|
-// age: 89,
|
|
|
|
-// sex: 2,
|
|
|
|
-// idCard: '330222193406153149',
|
|
|
|
-// socialInsurance: '334569875214695235',
|
|
|
|
-// phone: '15724268705',
|
|
|
|
-// nation: '汉族',
|
|
|
|
-// culture: '高中',
|
|
|
|
-// occupation: '自由职业',
|
|
|
|
-// marriage: '已婚',
|
|
|
|
-// address: '["330000","330200","330282"]',
|
|
|
|
-// addressDetail: '4组',
|
|
|
|
-// province: '浙江省',
|
|
|
|
-// city: '宁波市',
|
|
|
|
-// area: '慈溪市',
|
|
|
|
-// town: '附海镇',
|
|
|
|
-// village: '四界村',
|
|
|
|
-// healthIndex: 200,
|
|
|
|
-// complication: '[]',
|
|
|
|
-// acutecomplications: null,
|
|
|
|
-// medicalInsuranceType: 1,
|
|
|
|
-// chronicDiseaseType: 3,
|
|
|
|
-// gxyIllTime: null,
|
|
|
|
-// tnbIllTime: '2021-09-26 00:00:00',
|
|
|
|
-// diseaseHistory: null,
|
|
|
|
-// familyHistory: null,
|
|
|
|
-// saltiness: '',
|
|
|
|
-// hospitalId: 103,
|
|
|
|
-// registUserId: 87,
|
|
|
|
-// nextVisitTime: null,
|
|
|
|
-// newVisitDate: null,
|
|
|
|
-// disability: null,
|
|
|
|
-// povertySituation: null,
|
|
|
|
-// healthImportance: null,
|
|
|
|
-// lvhTime: null,
|
|
|
|
-// lvh: null,
|
|
|
|
-// carotidPlaque: null,
|
|
|
|
-// carotidPlaqueTime: null,
|
|
|
|
-// hyperhomocysteinemia: null,
|
|
|
|
-// mentalIllness: null,
|
|
|
|
-// acuteDisease: null,
|
|
|
|
-// chronicDisease: null,
|
|
|
|
-// chronicConfirmedTime: null,
|
|
|
|
-// acuteConfirmedTime: null,
|
|
|
|
-// hospitalTime: null,
|
|
|
|
-// acuteRiskLevel: null,
|
|
|
|
-// chronicRiskLevel: null,
|
|
|
|
-// andComplication: '[]',
|
|
|
|
-// project: [],
|
|
|
|
-// isSend: '0',
|
|
|
|
-// createTime: '2022-09-26 19:21:30',
|
|
|
|
-// updateTime: '2022-09-26T19:21:30',
|
|
|
|
-// isDelete: 0,
|
|
|
|
-// },
|
|
|
|
-// data2: {
|
|
|
|
-// istj: '0',
|
|
|
|
-// tlSign: {
|
|
|
|
-// sfzh: '患者身份证',
|
|
|
|
-// jmmc: '患者姓名',
|
|
|
|
-// lxdh: '患者联系方式',
|
|
|
|
-// sxrq: '0',
|
|
|
|
-// qyzt: '2',
|
|
|
|
-// qytdmc: '附海镇慢病团队1',
|
|
|
|
-// jgmc: '慈溪市附海镇卫生服务中心',
|
|
|
|
-// qyysxm: '岑方妮',
|
|
|
|
-// qyysid: '543628',
|
|
|
|
-// yssfzh: '签约医生身份证号',
|
|
|
|
-// },
|
|
|
|
-// },
|
|
|
|
-// }
|
|
|
|
-import { mapGetters } from 'vuex'
|
|
|
|
-import { getIDCardInfo, getAge } from '@/utils/common'
|
|
|
|
-import { CHRONIC_DISEASE_TYPE, MEDICAL_INSURANCE_TYPE } from '@/utils/const'
|
|
|
|
-import moment from 'moment'
|
|
|
|
-export default {
|
|
|
|
- name: 'VisitTips',
|
|
|
|
- components: {},
|
|
|
|
- props: {
|
|
|
|
- dialogshow: {
|
|
|
|
- type: Boolean,
|
|
|
|
- default() {
|
|
|
|
- return false
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- pdata: {
|
|
|
|
- type: Object,
|
|
|
|
- default() {
|
|
|
|
- return null
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- computed: {
|
|
|
|
- ...mapGetters({
|
|
|
|
- userinfo: 'user/userinfo',
|
|
|
|
- hospitalinfo: 'user/hospitalinfo',
|
|
|
|
- visitedRoutes: 'tabs/visitedRoutes',
|
|
|
|
- }),
|
|
|
|
- },
|
|
|
|
- watch: {
|
|
|
|
- dialogshow: {
|
|
|
|
- handler(val) {
|
|
|
|
- if (val) {
|
|
|
|
- // let d = this.pdata && this.pdata.msg && this.pdata.msg.split('[')[1]
|
|
|
|
- // d = d.split(']')[0]
|
|
|
|
- // this.resdate = d
|
|
|
|
- // this.getData()
|
|
|
|
- // this.tiemset1('最近一周')
|
|
|
|
- // this.tiemset2('最近一周')
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- pdata: {
|
|
|
|
- handler(val) {
|
|
|
|
- if (val) {
|
|
|
|
- if (this.pdata) {
|
|
|
|
- let d = this.pdata.msg.split('[')
|
|
|
|
- ? this.pdata.msg.split('[')[1]
|
|
|
|
- : ''
|
|
|
|
- d = d && d.split(']') ? d.split(']')[0] : ''
|
|
|
|
- this.resdate = d
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- data() {
|
|
|
|
- return {
|
|
|
|
- getAge,
|
|
|
|
- moment,
|
|
|
|
- getIDCardInfo,
|
|
|
|
- CHRONIC_DISEASE_TYPE,
|
|
|
|
- MEDICAL_INSURANCE_TYPE,
|
|
|
|
- resdate: '',
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- created() { },
|
|
|
|
- methods: {
|
|
|
|
- close() {
|
|
|
|
- this.$emit('close', 'visit_tips')
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
-}
|
|
|
|
-</script>
|
|
|
|
-
|
|
|
|
-<style scoped>
|
|
|
|
-.title2 {
|
|
|
|
- font-size: 14px;
|
|
|
|
- margin-top: 10px;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.el-col {
|
|
|
|
- margin-bottom: 0;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.el-card__body {
|
|
|
|
- padding-bottom: 0;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.el-descriptions-item__content {
|
|
|
|
- font-size: 16px !important;
|
|
|
|
-}
|
|
|
|
-</style>
|
|
|
|
-
|
|
|