Browse Source

查看婴儿

DESKTOP-0GD05B0\Administrator 2 years ago
parent
commit
f24db3027b

+ 2 - 2
src/api/inpatient/patient.js

@@ -1,10 +1,10 @@
 import request from '../../utils/request'
 
-export function getOverView(ward) {
+export function getOverView(ward, viewBabies = true) {
     return request({
         url: '/patient/getOverView',
         method: 'get',
-        params: {ward},
+        params: {ward, viewBabies},
     })
 }
 

+ 1 - 1
src/components/medical-insurance/patient-overview/Index.vue

@@ -124,7 +124,7 @@ export default {
 
     const fetchOverviews = () => {
       store.commit('user/wardChange', currentWard.value)
-      getOverView(currentWard.value).then((res) => {
+      getOverView(currentWard.value, false).then((res) => {
         overviews.value = res
       })
     }