|
@@ -2,7 +2,7 @@ import {get, post, json} from "../../utils/ajax";
|
|
|
import {GET_PATIENT_MESSAGE,GET_HOSPITAL_MESSAGE} from "../types/patInfo";
|
|
|
import {CONFIRM_TYPE} from "../types/typeConfig";
|
|
|
import {getInfos} from '@store/actions/getInfoByUuid';
|
|
|
-import {getUrlArgObject,pushAllDataList} from '@utils/tools';
|
|
|
+import {getUrlArgObject,pushAllDataList,storageLocal} from '@utils/tools';
|
|
|
import {getInitModules,getCommonList} from '@store/async-actions/homePage.js';
|
|
|
import store from '@store'
|
|
|
import {ISREAD,MODI_LOADING,SETPRE,SETPREDATA} from "../types/homePage";
|
|
@@ -81,6 +81,7 @@ export const initPersonInfo = (dispatch, getState) => {
|
|
|
export const initHistoryDetails = (dispatch) => {
|
|
|
let baseList = store.getState();
|
|
|
let state = baseList.patInfo.message;
|
|
|
+ storageLocal.remove('emrParam');
|
|
|
return (dispatch) => {
|
|
|
json('/inquiryInfo/readInquiry', {
|
|
|
"doctorId": state.doctorId,
|