Commit 04d038f8 authored by gengchunlei's avatar gengchunlei

医生端小程序 v1.2 1、报卡详情

parent 922eac2d
......@@ -44,3 +44,8 @@ export function updateDiagnose(params) {
export function delDiagnose(params) {
return fetchBase({ url: `/chronic-admin/v1/chronic-diagnose-record/delete`, body: params, loading: true })
}
// 报卡信息主键查询
export function fetchCurrencyByUuid(params) {
return fetchBase({ url: `/chronic-admin/v1/chronic-visit-record-crs/record-uuid`, body: params, loading: true })
}
\ No newline at end of file
......@@ -80,7 +80,11 @@ export function messageResend(params) {
return fetchBase({ url: `/chronic-admin/v1/chronic-visit-currency/resend-sms`, body: params, loading: true })
}
//慢病管理列表主键查询
export function getVisitManageVByUuId(params) {
return fetchBase({ url: `/chronic-admin/v1/chronic-visit-record/record-uuid`, body: params, loading: true })
}
//
\ No newline at end of file
<!--报卡详情-->
<template>
<div class='h-full flex flex-col' >
<div class='p-3 text-black text-center shrink-0 doc-nav-bar'>
<span @click='onBack' class='text-12 back-bt'>
<doc-icon type='doc-left2' />
</span>
<span>报卡随访详情</span>
</div>
<div class='p-3 grow cont-box'>
<div class='p-3 h-full cont-inner'>
<van-collapse :model-value='activeCollapse' ref='collapse' class='doc-collapse'>
<van-collapse-item key='1' title='报卡随访详情' name='1'>
<template #right-icon>
<doc-icon type='doc-down' />
</template>
<div class='list'>
<div class='flex justify-between py-1 border-bottom item'>
<span class='shrink-0 mr-2 label'>随访时间</span>
<span class='text-end'><span>{{ detailInfo.visitDate || '-'}}</span></span>
</div>
<div class='flex justify-between py-1 border-bottom item'>
<span class='shrink-0 mr-2 label'>随访方式</span>
<span class='text-end'><span>{{ detailInfo.visitModeName || '-'}}</span></span>
</div>
<div class='flex justify-between py-1 border-bottom item'>
<span class='shrink-0 mr-2 label'>随访状态</span>
<span class='text-end'><span>{{ detailInfo.visitStatusName || '-'}}</span></span>
</div>
<div class='flex justify-between py-1 border-bottom item' v-if="detailInfo.visitStatus===4">
<span class='shrink-0 mr-2 label'>死亡日期</span>
<span class='text-end'><span>{{ detailInfo.deathDate || '-'}}</span></span>
</div>
<div class='flex justify-between py-1 border-bottom item' v-if="detailInfo.visitStatus===4">
<span class='shrink-0 mr-2 label'>死因</span>
<span class='text-end'><span>{{ detailInfo.deathReason || '-'}}</span></span>
</div>
<div class='flex justify-between py-1 border-bottom item' v-if="detailInfo.visitStatus===5">
<span class='shrink-0 mr-2 label'>失访原因</span>
<span class='text-end'><span>{{ detailInfo.lossVisitReasonName || '-'}}</span></span>
</div>
<div class='flex justify-between py-1 border-bottom item' v-if="detailInfo.visitStatus===1">
<span class='shrink-0 mr-2 label'>治疗状态</span>
<span class='text-end'><span>{{ detailInfo.treatmentStatusName || '-'}}</span></span>
</div>
<div class='flex justify-between py-1 border-bottom item'>
<span class='shrink-0 mr-2 label'>随访单位</span>
<span class='text-end'><span>{{ detailInfo.visitUnitName || '-'}}</span></span>
</div>
<div class='flex justify-between py-1 border-bottom item'>
<span class='shrink-0 mr-2 label'>随访科室</span>
<span class='text-end'><span>{{ detailInfo.visitOfficeName || '-'}}</span></span>
</div>
<div class='flex justify-between py-1 border-bottom item'>
<span class='shrink-0 mr-2 label'>随访医生</span>
<span class='text-end'><span>{{ detailInfo.visitDoctorName || '-'}}</span></span>
</div>
</div>
</van-collapse-item>
</van-collapse>
</div>
</div>
</div>
</template>
<script>
import { fetchCurrencyByUuid } from '@/api/doctor/disease'
export default {
name: 'CrsVisitDetail',
props: {
relationUuid: [String, String]
},
data() {
return {
activeCollapse: ['1'],
detailInfo: {}
}
},
created() {
this.load()
},
methods: {
load() {
if (!this.relationUuid) {
this.$message.info('未获取到信息')
return
}
let par = {
relationUuid: this.relationUuid
}
fetchCurrencyByUuid(par).then(res => {
let result = res.data || {}
this.detailInfo = result
}).finally(() => {
})
},
onBack() {
this.$router.back()
}
}
}
</script>
<style scoped>
<style scoped lang='less'>
@import url('../../../utils/common.less');
</style>
\ No newline at end of file
<template>
<div class='h-full gw-detail'>
</div>
</template>
<script>
export default {
name: 'GwDetail',
props: {
info: { default: () => ({}) }
},
data() {
return {
src: undefined
}
},
created() {
this.load()
},
methods: {
load() {
}
},
}
</script>
<style scoped>
<style lang='less' scoped>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment