Browse Source

Merge branch 'master' of https://172.16.32.165/lighter/vue-intergration-platform

xiaochan 1 year ago
parent
commit
6ed2856162

+ 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 = () => {

+ 4 - 1
src/views/hospitalization/case-front-sheet/DrgCoding.vue

@@ -883,6 +883,10 @@ async function checkPathParams() {
   }
 }
 
+onActivated(() => {
+  checkPathParams()
+})
+
 onMounted(() => {
   getInsutypes().then((res) => {
     insutypes.value = res
@@ -906,7 +910,6 @@ onMounted(() => {
     }
   }))
   clrOptins.value = clrOptinsData
-  checkPathParams()
 })
 
 const ybSfData = [