xiaochan 1 year ago
parent
commit
60e3683bc4

+ 0 - 8
src/api/zhu-yuan-yi-sheng/yi-zhu-lu-ru.ts

@@ -66,14 +66,6 @@ export function confirmOrders(data) {
     })
 }
 
-export function huoQuHuanZheXinXi(inpatientNo) {
-    return requestV2({
-        url: url + '/huoQuHuanZheXinXi',
-        method: 'get',
-        params: {inpatientNo},
-    })
-}
-
 export function huoQuYiZhuShuJu(data) {
     return requestV2({
         url: url + '/huoQuYiZhuShuJu',

+ 0 - 1
src/components/zhu-yuan-yi-sheng/yi-zhu-lu-ru/yz-header/YzQueryCondition.vue

@@ -339,7 +339,6 @@ const queryYz = async (tableScrollTop = true) => {
     }
     await jsQueryYzData()
   } catch (e) {
-    yzData.value = []
   }
 
 }

+ 1 - 1
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/Home.vue

@@ -230,7 +230,7 @@ const queryDisPatient = async () => {
             </div>
           </div>
       ),
-      duration: 0,
+      duration: 1000 * 10,
       type: 'warning',
       position: 'bottom-right'
     })

+ 4 - 0
src/views/hospitalization/zhu-yuan-yi-sheng/public-js/zhu-yuan-yi-sheng.ts

@@ -242,6 +242,7 @@ export interface YzType {
     execDept: string
     execDeptName: string
 }
+
 export interface SearchOrdersType {
     id: string;
     pyCode: string;
@@ -288,6 +289,7 @@ export interface SearchOrdersType {
     drugFlagName: string;
     infusionFlagName: string;
 }
+
 // 医嘱数据
 export const yiZhuData = ref<YzType>({
     actOrderNo: addTempOrderNo,
@@ -458,6 +460,8 @@ export const jsQueryYzData = async () => {
             times: huanZheXinXi.value.admissTimes,
             startTime: queryParam.value.startTime,
             endTime: queryParam.value.endTime,
+        }).catch(() => {
+            return []
         })
     }
 }