Browse Source

医生的病区

DESKTOP-0GD05B0\Administrator 2 years ago
parent
commit
d77d940197
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/zhu-yuan-yi-sheng/emr/EmrSidebar.vue

+ 2 - 2
src/components/zhu-yuan-yi-sheng/emr/EmrSidebar.vue

@@ -44,8 +44,8 @@ import {
 } from "@/api/zhu-yuan-yi-sheng/emr-patient";
 import {BizException, ExceptionEnum} from "@/utils/BizException";
 import {emrConfig} from '@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-init'
-import {getWardsApi} from "@/api/login";
 import {stringIsBlank} from "@/utils/blank-utils";
+import {getAllWards} from "@/api/zhu-yuan-yi-sheng/resident-doctor";
 
 const props = defineProps({
   maxHeight: {
@@ -234,7 +234,7 @@ const nullToEmpty = (val) => {
 onMounted(() => {
   queryData()
   if (editor) {
-    getWardsApi().then((res) => {
+    getAllWards().then((res) => {
       if (res.length > 0) {
         for (let i = 0, len = res.length; i < len; i++) {
           wardList.push(res[i].code)