0805张祥瑞
This commit is contained in:
parent
7e9629c4dd
commit
286dade1e2
12
src/api/FollowUpRecords/followrecords.ts
Normal file
12
src/api/FollowUpRecords/followrecords.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { http } from '@/utils/http';
|
||||
|
||||
|
||||
|
||||
/*通过id查询数据*/
|
||||
export function queryByIdApi(id : string) {
|
||||
return http({
|
||||
url: '/cxcGwjktbHmcAPP/cxcGwjktbHmcAPP/queryById',
|
||||
method: 'GET',
|
||||
data: { id }
|
||||
})
|
||||
}
|
70
src/pages-bpm/FollowUpRecords/index.vue
Normal file
70
src/pages-bpm/FollowUpRecords/index.vue
Normal file
@ -0,0 +1,70 @@
|
||||
<template>
|
||||
<wd-cell-group>
|
||||
<wd-cell title="职工姓名" :value="info.sfr_dictText" />
|
||||
<wd-cell title="随访日期" :value="info.createTime" />
|
||||
<wd-cell title="随访方式" :value="info.sffs_dictText" />
|
||||
|
||||
<wd-cell title="健康异常因素" :value="info.jkycyx_dictText"/>
|
||||
<wd-cell title="症状" :value="info.zz_dictText" />
|
||||
<wd-divider>体征</wd-divider>
|
||||
<wd-cell title="血压" :value="info.xy" />
|
||||
<wd-cell title="体重" :value="info.tz + 'kg'" />
|
||||
<wd-cell title="心率" :value="info.xl+ '/分钟'" />
|
||||
<wd-cell title="其他" :value="info.tzqt" />
|
||||
<wd-cell title="其他辅助检查" :value="info.qtfzjc" />
|
||||
<wd-divider>生活方式指导</wd-divider>
|
||||
<wd-cell title="日吸烟量" :value="info.rxyl" />
|
||||
<wd-cell title="吸烟量" :value="info.xyl" v-show="info.rxyl!=='无'"/>
|
||||
<wd-cell title="日饮酒量" :value="info.ryjl" />
|
||||
<wd-cell title="饮酒量" :value="info.yjl" v-show="info.ryjl!=='无'"/>
|
||||
<wd-cell title="运动" :value="info.yd " />
|
||||
<wd-cell title="心理调整" :value="info.xltz_dictText" />
|
||||
<wd-cell title="遵医行为" :value="info.zyxw_dictText" />
|
||||
<wd-cell title="其他情况" :value="info.qtqk" />
|
||||
<wd-divider>用药情况</wd-divider>
|
||||
<wd-cell title="药物名称1" :value="info.ywmc1" />
|
||||
<wd-cell title="药物名称2" :value="info.ywmc2" />
|
||||
<wd-cell title="药物名称3" :value="info.ywmc3" />
|
||||
<wd-cell title="其他药物名称" :value="info.qtyw" />
|
||||
<wd-cell title="服药依从性" :value="info.fyycx_dictText" />
|
||||
<wd-cell title="药物不良反应" :value="info.ywfy" />
|
||||
<wd-cell title="近期就医情况" :value="info.jyqk_dictText" />
|
||||
<wd-cell title="随访评价" :value="info.sfpj_dictText" />
|
||||
<wd-cell title="随访建议" :value="info.sfjy_dictText" />
|
||||
<wd-cell title="其他随访建议" :value="info.sfjyqt" />
|
||||
<wd-cell title="下次随访日期" :value="info.xcsfrq" />
|
||||
</wd-cell-group>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
queryByIdApi
|
||||
} from '@/api/FollowUpRecords/followrecords'
|
||||
import {
|
||||
imgUrl
|
||||
} from '@/utils/index'
|
||||
const info = ref({})
|
||||
const image = ref([])
|
||||
const props = defineProps({
|
||||
formData: {
|
||||
type: Object,
|
||||
default: () => {},
|
||||
}
|
||||
})
|
||||
|
||||
// 申请信息
|
||||
const queryById = () => {
|
||||
console.log("info----健康--props.formData.dataId--",props.formData.dataId)
|
||||
queryByIdApi(props.formData.dataId).then((res) => {
|
||||
console.log("info----健康----",res)
|
||||
if (res.success) {
|
||||
info.value = res.result.records[0]
|
||||
console.log("info----健康----",info.value)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
queryById()
|
||||
})
|
||||
</script>
|
@ -572,6 +572,10 @@
|
||||
"path": "document/index",
|
||||
"type": "page"
|
||||
},
|
||||
{
|
||||
"path": "FollowUpRecords/index",
|
||||
"type": "page"
|
||||
},
|
||||
{
|
||||
"path": "khss/index",
|
||||
"type": "page"
|
||||
|
1
src/types/uni-pages.d.ts
vendored
1
src/types/uni-pages.d.ts
vendored
@ -66,6 +66,7 @@ interface NavigateToOptions {
|
||||
"/pages-process/taskHandle" |
|
||||
"/pages-bpm/carRental/index" |
|
||||
"/pages-bpm/document/index" |
|
||||
"/pages-bpm/FollowUpRecords/index" |
|
||||
"/pages-bpm/khss/index" |
|
||||
"/pages-bpm/lawsAndRegulations/index" |
|
||||
"/pages-bpm/leaveApplication/index" |
|
||||
|
Loading…
Reference in New Issue
Block a user