|
@@ -32,10 +32,10 @@ export const getPreMsg = (dispatch, getState) => {
|
|
|
chief:result.chiefComplaint?new Array(result.chiefComplaint):[],
|
|
|
current:result.xbs?new Array(result.xbs):[],
|
|
|
other:result.qts?new Array(result.qts):[],
|
|
|
- checkBody:result.supplement?new Array(result.supplement):[]
|
|
|
+ checkBody:result.supplement?result.supplement:''
|
|
|
}
|
|
|
pushAllDataList(1,'push',preIcss,'preIcss');
|
|
|
- store.dispatch({type:SETPRE,show:false});
|
|
|
+ dispatch({type:SETPRE,show:false});
|
|
|
} else {
|
|
|
console.log(res)
|
|
|
}
|
|
@@ -92,8 +92,8 @@ export const initHistoryDetails = (dispatch) => {
|
|
|
if(detail.dataJson){
|
|
|
pushAllDataList(detail.sign,'push',detail,'history');
|
|
|
}else{
|
|
|
- let pre = baseList.homePage.sysConfig.connect_prec
|
|
|
- pre&&dispatch({type:SETPRE,show:true});
|
|
|
+ let pre = baseList.homePage.sysConfig.connect_prec;
|
|
|
+ (pre==1)&&dispatch({type:SETPRE,show:true});
|
|
|
}
|
|
|
dispatch({
|
|
|
type:ISREAD
|