|
@@ -4,7 +4,7 @@ import AssessResult from '@components/AssessResult';
|
|
|
import {ISREAD} from '@store/types/homePage.js';
|
|
|
import {billing} from '@store/async-actions/pushMessage';
|
|
|
import {getAssessData,getIndexData} from '@store/async-actions/fetchModules';
|
|
|
-import {SET_ASSESS_DATA,SET_INDEX_DATA,SET_INDEX_SUB_TYPE,REMOVE_ASSESS_ITEMS,CLEAR_INDEX_DATA,SET_CHRONIC_CALCU_RESULT} from '@types/assessResult';
|
|
|
+import {SET_ASSESS_DATA,SET_INDEX_DATA,SET_INDEX_SUB_TYPE,REMOVE_ASSESS_ITEMS,CLEAR_INDEX_DATA,SET_CHRONIC_CALCU_RESULT,SET_CALCU_VALUES} from '@types/assessResult';
|
|
|
import {parseChartData,deepClone} from '@utils/tools';
|
|
|
import {SHOW_TABLE_LIST,HIDE_TABLE_LIST} from '@store/types/pushMessage';
|
|
|
import {saveMessage} from "../store/async-actions/print";
|
|
@@ -124,6 +124,12 @@ function mapDispatchToProps(dispatch) {
|
|
|
type: 'SAVE_POSSIBLE_RESULT',
|
|
|
wholeResults: data
|
|
|
})
|
|
|
+ },
|
|
|
+ saveCalcuValue(data){
|
|
|
+ dispatch({
|
|
|
+ type:SET_CALCU_VALUES,
|
|
|
+ data
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|