Luolei 6 vuotta sitten
vanhempi
commit
6408345eee
1 muutettua tiedostoa jossa 18 lisäystä ja 0 poistoa
  1. 18 0
      src/store/async-actions/inspect.js

+ 18 - 0
src/store/async-actions/inspect.js

@@ -50,3 +50,21 @@ export const getSublableList = (id,idx) => {
         })
     }
 };
+export const getImportList = (data) => {
+  const state = store.getState();
+  const patientInfo = state.patInfo.message;
+    let param = {
+      "endTime": data.endTime,
+      "startTime": data.startTime,
+      "hospitalCode": patientInfo.hospitalCode,
+      "inquiryCode": patientInfo.recordId,
+      "patientId": patientInfo.patientId,
+    }
+    return (dispatch) => {
+        axios.json('/dockingImport/lisDockingImports',param)
+        .then((res)=>{
+            const data = res.data.data;
+            console.log(res)
+        })
+    }
+};