|
@@ -27,7 +27,6 @@ function modulesParseJson(data){
|
|
|
export const getInitModules= (dispatch,getStore)=>{
|
|
|
const state = getStore();
|
|
|
const {message} = state.patInfo;
|
|
|
- return json(api.getModules,{age:message.patientAge,sexType:message.sex}).then((res) => {console.log("模板请求成功",res);
|
|
|
dispatch({type:MODI_LOADING});
|
|
|
dispatch(initHistoryDetails(message)); //历史病历回读
|
|
|
return json(api.getModules,{age:message.patientAge,sexType:message.sex}).then((res) => {
|