|
|
@@ -17,6 +17,10 @@ onMounted(async () => {
|
|
|
notification.error({ message: '获取数据失败' });
|
|
|
}
|
|
|
});
|
|
|
+const visible = ref<boolean>(false);
|
|
|
+const setVisible = (value: boolean): void => {
|
|
|
+ visible.value = value;
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
|
@@ -39,11 +43,73 @@ onMounted(async () => {
|
|
|
? '已完结'
|
|
|
: ''
|
|
|
}}</span>
|
|
|
- <span v-if="tableData?.diagnosis || tableData?.diagnoseDiseaseNames?.length>0" >疾病名称:{{ tableData?.diagnosis || tableData?.diagnoseDiseaseNames?.join(',') }}</span>
|
|
|
- <span v-if="tableData?.symptom || tableData?.diagnoseSyndromeNames?.length>0" >证型:{{ tableData?.symptom || tableData?.diagnoseSyndromeNames?.join(',') }}</span>
|
|
|
+
|
|
|
+ <div>
|
|
|
+ <div class="flex mb-2" style="align-items: center">
|
|
|
+ <!-- 机构名称 -->
|
|
|
+ <div class="mr-10" v-if="props.data?.types === 'institution'" style="display: flex; align-items: center; margin-bottom: 0">
|
|
|
+ <span style="white-space: nowrap; margin-right: 8px">机构名称:</span>
|
|
|
+ <span>{{ tableData?.institutionName }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 服务包名称 -->
|
|
|
+ <div class="mr-6" style="display: flex; align-items: center; margin-bottom: 0">
|
|
|
+ <span style="white-space: nowrap; margin-right: 8px">服务包名称:</span>
|
|
|
+ <span>{{ tableData?.name }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 服务形象照 -->
|
|
|
+ <div class="flex" v-if="props.data?.types === 'institution'" style="align-items: center; margin-bottom: 0">
|
|
|
+ <div class="w-20" style="white-space: nowrap; margin-right: 8px">服务形象照:</div>
|
|
|
+ <a-image
|
|
|
+ :width="100"
|
|
|
+ :height="100"
|
|
|
+ :preview="{
|
|
|
+ visible,
|
|
|
+ onVisibleChange: setVisible,
|
|
|
+ }"
|
|
|
+ :src="tableData?.photo"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div style="margin-bottom: 16px">
|
|
|
+ <div class="mb-3">适用情况</div>
|
|
|
+ <div class="flex items-center mb-3" v-if="tableData?.conditioningWrapPatientMatchRule?.sex || tableData?.conditioningWrapPatientMatchRule?.age">
|
|
|
+ <span class="w-20">使用限制</span>
|
|
|
+ <div class="mr-10" v-if="tableData?.conditioningWrapPatientMatchRule?.sex">
|
|
|
+ <span>性别:{{ tableData?.conditioningWrapPatientMatchRule?.sex }}</span>
|
|
|
+ </div>
|
|
|
+ <div v-if="tableData?.conditioningWrapPatientMatchRule?.age">
|
|
|
+ <span>年龄:{{ tableData?.conditioningWrapPatientMatchRule?.age }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="flex items-center" v-if="tableData?.conditioningWrapPatientMatchRule?.diagnoseDiseaseNames?.length > 0 || tableData?.conditioningWrapPatientMatchRule?.diagnoseSyndromeNames?.length > 0 || tableData?.conditioningWrapPatientMatchRule?.constitutionGroupNames?.length > 0 || tableData?.conditioningWrapPatientMatchRule?.willillStateNames?.length > 0">
|
|
|
+ <span class="w-20">适用</span>
|
|
|
+ <div class="mr-10 flex items-center" v-if="tableData?.conditioningWrapPatientMatchRule?.diagnoseDiseaseNames?.length > 0">
|
|
|
+ <span>专病:</span>
|
|
|
+ <span>{{ tableData?.conditioningWrapPatientMatchRule?.diagnoseDiseaseNames?.join(',') }}</span>
|
|
|
+ </div>
|
|
|
+ <div class="mr-10 flex items-center" v-if="tableData?.conditioningWrapPatientMatchRule?.diagnoseSyndromeNames?.length > 0">
|
|
|
+ <span>证型:</span>
|
|
|
+ <span>{{ tableData?.conditioningWrapPatientMatchRule?.diagnoseSyndromeNames?.join(',') }}</span>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="flex items-center mr-10" v-if="tableData?.conditioningWrapPatientMatchRule?.constitutionGroupNames?.length > 0">
|
|
|
+ <span>体质:</span>
|
|
|
+ <span>{{ tableData?.conditioningWrapPatientMatchRule?.constitutionGroupNames?.join(',') }}</span>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div v-if="tableData?.conditioningWrapPatientMatchRule?.willillStateNames?.length > 0">
|
|
|
+ <span>欲病状态:</span>
|
|
|
+ <span>{{ tableData?.conditioningWrapPatientMatchRule?.willillStateNames?.join(',') }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- <span v-if="tableData?.diagnosis || tableData?.diagnoseDiseaseNames?.length > 0">疾病名称:{{ tableData?.diagnosis || tableData?.diagnoseDiseaseNames?.join(',') }}</span>
|
|
|
+ <span v-if="tableData?.symptom || tableData?.diagnoseSyndromeNames?.length > 0">证型:{{ tableData?.symptom || tableData?.diagnoseSyndromeNames?.join(',') }}</span>
|
|
|
<span>开具医生:{{ tableData?.createBy }}</span>
|
|
|
<span>开具时间:{{ tableData?.createTime }}</span>
|
|
|
- <span v-if="tableData?.estimatedEndDate">调养周期:{{ tableData?.estimatedStartDate }} - {{ tableData?.estimatedEndDate }}</span>
|
|
|
+ <span v-if="tableData?.estimatedEndDate">调养周期:{{ tableData?.estimatedStartDate }} - {{ tableData?.estimatedEndDate }}</span> -->
|
|
|
</div>
|
|
|
|
|
|
<!-- 表格和作废字样包裹层 -->
|
|
|
@@ -54,9 +120,7 @@ onMounted(async () => {
|
|
|
<vxe-column field="days" title="周期" align="center" :disabled="true" />
|
|
|
<vxe-column field="frequencyType" title="频率" width="auto">
|
|
|
<template #default="{ row }">
|
|
|
- <div v-if="row.frequencyType === '不限'">
|
|
|
- 不限
|
|
|
- </div>
|
|
|
+ <div v-if="row.frequencyType === '不限'">不限</div>
|
|
|
<div style="display: flex; align-items: center" v-else>
|
|
|
<span>每</span>
|
|
|
<a-input v-model:value="row.frequencyType" style="width: 60px" @change="() => calculateCount(row)" :disabled="true" />
|
|
|
@@ -64,7 +128,6 @@ onMounted(async () => {
|
|
|
<a-input v-model:value="row.frequencyMeasure" style="width: 60px" @change="() => calculateCount(row)" :disabled="true" />
|
|
|
<span>{{ row.conditioningProgramDetail?.cpFixedPricingRule?.pricingUnit }}</span>
|
|
|
</div>
|
|
|
-
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
<vxe-column field="conditioningProgramDetail.conditioningProgramType" title="方案类型" align="center" />
|
|
|
@@ -124,8 +187,8 @@ onMounted(async () => {
|
|
|
background: #fff;
|
|
|
}
|
|
|
.header {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
+ /* display: flex;
|
|
|
+ align-items: center; */
|
|
|
gap: 24px;
|
|
|
margin-bottom: 12px;
|
|
|
}
|