|
@@ -1,6 +1,7 @@
|
|
|
import {get, post, json} from "../../utils/ajax";
|
|
|
import {GET_PATIENT_MESSAGE} from "../types/patInfo";
|
|
|
import {CONFIRM_TYPE} from "../types/typeConfig";
|
|
|
+import {Notify} from '@commonComp';
|
|
|
import {getInfos} from '@store/actions/getInfoByUuid';
|
|
|
import {getUrlArgObject,pushAllDataList} from '@utils/tools';
|
|
|
import {getInitModules} from '@store/async-actions/homePage.js';
|
|
@@ -24,6 +25,10 @@ export const initPersonInfo = (dispatch, getState) => {
|
|
|
//console.log(data.data)
|
|
|
getPatientMessage(dispatch, getState);
|
|
|
} else {
|
|
|
+ Notify.error(data.msg);
|
|
|
+ dispatch({
|
|
|
+ type:MODI_LOADING
|
|
|
+ });
|
|
|
console.log(res)
|
|
|
}
|
|
|
})
|