diff --git a/components/custom-message/rx-open-fail-card.vue b/components/custom-message/rx-open-fail-card.vue index 008657e..6b87ca9 100644 --- a/components/custom-message/rx-open-fail-card.vue +++ b/components/custom-message/rx-open-fail-card.vue @@ -2,7 +2,7 @@ ! - 处方开具失败 + {{ errorSource }} 原因: @@ -48,6 +48,10 @@ const reason = computed(() => { : '未获取到失败原因,请稍后重试。'; }); +const errorSource = computed(() => { + return ext.value && ext.value.source === 'HIS' ? '处方开具失败' : '服务暂未响应'; +}); + onMounted(() => { uni.$emit('autoRxFail'); }) diff --git a/pages/consult/disease-description.vue b/pages/consult/disease-description.vue index c97ed28..d671c27 100644 --- a/pages/consult/disease-description.vue +++ b/pages/consult/disease-description.vue @@ -1,5 +1,5 @@