|
@@ -6,8 +6,9 @@ import {CURRENT_MUL,CURRENT_TEXT_LABEL} from '@types/currentIll';
|
|
|
import {MAINSUIT_MUL,CHANGE_LABELVAL} from '@types/mainSuit';
|
|
|
import {OTHERHIS_MUL,CHANGEOTHERTEXTLABEL} from '@types/otherHistory';
|
|
|
import {CHECKBODY_MUL,CHANGECHECKTEXTLABEL} from '@types/checkBody';
|
|
|
-import {filterDataArr,getLabelIndex} from '@utils/tools.js';
|
|
|
+import {filterDataArr,getLabelIndex,didPushParamChange} from '@utils/tools.js';
|
|
|
import config from '@config/index.js';
|
|
|
+import {billing} from '@store/async-actions/pushMessage';
|
|
|
import {Notify} from '@commonComp';
|
|
|
|
|
|
function handleMainSuit(dispatch,params){
|
|
@@ -170,9 +171,16 @@ function mapDispatchToProps(dispatch){
|
|
|
},
|
|
|
handleLabelChange(obj){//标签内输入
|
|
|
handleLabel(dispatch,obj);
|
|
|
+ dispatch(billing());
|
|
|
},
|
|
|
handleConfirm(params){
|
|
|
handleDiff(dispatch,params);
|
|
|
+ //右侧推送
|
|
|
+ setTimeout(function(){ //延迟待确定后的数据更新后推送,避免获取的参数还是旧的
|
|
|
+ if(didPushParamChange()){ //操作后内容有变化才推送
|
|
|
+ dispatch(billing('',params.ikey.substr(0,1)));
|
|
|
+ }
|
|
|
+ },500);
|
|
|
}
|
|
|
}
|
|
|
}
|