|
@@ -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)
|
|
|
+ })
|
|
|
+ }
|
|
|
+};
|