Browse Source

修复问卷分析title错误的问题

lighter 1 year ago
parent
commit
cc12b034b0
1 changed files with 8 additions and 2 deletions
  1. 8 2
      src/views/clinic/interactive/ClinicSatisfied.vue

+ 8 - 2
src/views/clinic/interactive/ClinicSatisfied.vue

@@ -965,8 +965,14 @@ const showAnalyzeResult = ref(false)
 const analyzeResult = ref({})
 
 const titleOfAnalyze = computed(() => {
-  return inquiry.visitType === 'OUTPATIENT' ?
-      '门诊满意度调查分析' : '住院满意度调查分析'
+  switch (inquiry.visitType) {
+    case 'OUTPATIENT':
+      return '门诊满意度调查分析'
+    case 'EMERGENCY':
+      return '急诊满意度调查分析'
+    default:
+      return '住院满意度调查分析'
+  }
 })
 
 const handleVisitTypeChange = () => {