Browse Source

病案首页接受出院病人的跳转

lighter 2 years ago
parent
commit
80197ceae5
1 changed files with 9 additions and 3 deletions
  1. 9 3
      src/views/hospitalization/case-front-sheet/FillCaseFrontSheet.vue

+ 9 - 3
src/views/hospitalization/case-front-sheet/FillCaseFrontSheet.vue

@@ -1545,11 +1545,17 @@ onActivated(async () => {
   const params = router.currentRoute.value.query
   if (params && params.patNo && params.deptCode) {
     await Sleep(300)
-    inOutStatus.value = 1
+    if (params.times && params.disdate) {
+      dateRange.value[0] = params.disdate
+      dateRange.value[1] = params.disdate
+      inOutStatus.value = 2
+    } else {
+      inOutStatus.value = 1
+    }
     inpatientNo.value = params.patNo
     currentWard.value = params.deptCode
     handleWardChange()
-    await Sleep(300)
+    await Sleep(500)
     searchPatient()
   }
 })
@@ -1559,7 +1565,7 @@ onMounted(() => {
     title: '提示',
     type: 'warning',
     message: '据国家卫健委要求,数据中如有空项,应保留为空,不得以“—”、“-”、“/”等内容代表空项。',
-    duration: 30000,
+    duration: 5000,
   })
   scrollWrapper = document.getElementById('scrollWrapper')
   initLodop()