|
@@ -42,13 +42,11 @@ async function getCareProgress() {
|
|
|
// console.log('调养效果数据:', careProcessList.value?.patientConditioningScores);
|
|
// console.log('调养效果数据:', careProcessList.value?.patientConditioningScores);
|
|
|
}
|
|
}
|
|
|
onMounted(async () => {
|
|
onMounted(async () => {
|
|
|
- // console.log(props.data, 'props.data');
|
|
|
|
|
if (props.data.id) {
|
|
if (props.data.id) {
|
|
|
await getCareProgress();
|
|
await getCareProgress();
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
function openIndicatorRecordsPreview() {
|
|
function openIndicatorRecordsPreview() {
|
|
|
- // console.log(patient.value, 'patient9999');
|
|
|
|
|
const component = defineAsyncComponent(() => import('@/components/RecordsIndicatorPreview.vue'));
|
|
const component = defineAsyncComponent(() => import('@/components/RecordsIndicatorPreview.vue'));
|
|
|
const id = `modal:record-indicator:preview`;
|
|
const id = `modal:record-indicator:preview`;
|
|
|
const onDestroy = () => {
|
|
const onDestroy = () => {
|
|
@@ -70,7 +68,6 @@ function openIndicatorRecordsPreview() {
|
|
|
title: `指标信息更新记录`,
|
|
title: `指标信息更新记录`,
|
|
|
slots: {
|
|
slots: {
|
|
|
default() {
|
|
default() {
|
|
|
- // console.log(patient.value, 'patient9999');
|
|
|
|
|
return h(component, {
|
|
return h(component, {
|
|
|
patient: patient.value,
|
|
patient: patient.value,
|
|
|
onDestroy,
|
|
onDestroy,
|
|
@@ -209,12 +206,13 @@ function open(row: Model) {
|
|
|
: ''
|
|
: ''
|
|
|
}}</span>
|
|
}}</span>
|
|
|
<span
|
|
<span
|
|
|
- >姓名:<b>{{ careProcessList?.patientName }}</b></span
|
|
|
|
|
|
|
+ v-if="careProcessList?.patientName"
|
|
|
|
|
+ >姓名:<b>{{ careProcessList?.patientName }}</b></span
|
|
|
>
|
|
>
|
|
|
- <span>疾病名称:{{ careProcessList?.diagnosis }}</span>
|
|
|
|
|
- <span>证型:{{ careProcessList?.symptom }}</span>
|
|
|
|
|
- <span>开具医生:{{ careProcessList?.createBy }}</span>
|
|
|
|
|
- <span>调养周期:{{ careProcessList?.estimatedStartDate }} ~ {{ careProcessList?.estimatedEndDate }}</span>
|
|
|
|
|
|
|
+ <span v-if="careProcessList?.diagnosis">疾病名称:{{ careProcessList?.diagnosis }}</span>
|
|
|
|
|
+ <span v-if="careProcessList?.symptom">证型:{{ careProcessList?.symptom }}</span>
|
|
|
|
|
+ <span v-if="careProcessList?.createBy">开具医生:{{ careProcessList?.createBy }}</span>
|
|
|
|
|
+ <span v-if="careProcessList?.estimatedStartDate && careProcessList?.estimatedEndDate">调养周期:{{ careProcessList?.estimatedStartDate }} ~ {{ careProcessList?.estimatedEndDate }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div v-if="careProcessList?.isDelivery === 'Y'" class="delivery-info">
|
|
<div v-if="careProcessList?.isDelivery === 'Y'" class="delivery-info">
|
|
|
<a-checkbox checked disabled style="color: #52c41a; margin-right: 8px" />
|
|
<a-checkbox checked disabled style="color: #52c41a; margin-right: 8px" />
|