Ver código fonte

创智接口

xiaochan 3 meses atrás
pai
commit
116dd3fa98

+ 0 - 1
src/utils/setting.ts

@@ -2,7 +2,6 @@ const isProduction = import.meta.env.MODE === "production";
 
 type ImportMetaEnv = {
   readonly VITE_BASE_URL: string;
-  readonly VITE_SOCKET_URL: string;
   readonly VITE_EMR_CONTROL_URL: string;
   readonly VITE_DATA_BASE: string;
   readonly VITE_MAGIC_API_IFRAME: string;

+ 9 - 11
src/views/hospitalization/zhu-yuan-yi-sheng/public-js/zhu-yuan-yi-sheng.ts

@@ -826,17 +826,15 @@ export const clickOnThePatient = async (patNo: string) => {
     .catch(() => {
       shouShuDiagnosis.value = [];
     });
-  if (!isDev) {
-    getDrgPatInfo(huanZheXinXi.value).then((res: any) => {
-      if (res != null) {
-        huanZheXinXi.value.groupInfoName = res["name"];
-        huanZheXinXi.value.groupInfoWeight = res["weight"];
-        huanZheXinXi.value.groupInfoBl = res["groupInfoBl"];
-        huanZheXinXi.value.setGroupInfoProfit = res["profit"];
-        huanZheXinXi.value.groupInfoFeeStand = res["fee_stand"];
-      }
-    });
-  }
+  getDrgPatInfo(huanZheXinXi.value).then((res: any) => {
+    if (res != null) {
+      huanZheXinXi.value.groupInfoName = res["name"];
+      huanZheXinXi.value.groupInfoWeight = res["weight"];
+      huanZheXinXi.value.groupInfoBl = res["groupInfoBl"];
+      huanZheXinXi.value.setGroupInfoProfit = res["profit"];
+      huanZheXinXi.value.groupInfoFeeStand = res["fee_stand"];
+    }
+  });
 
   await jsQueryYzData();
   queryParam.value.frequCode = frequCodeEnum.all;