|
@@ -5,6 +5,7 @@ import {CHANGE_ASSAY, CHANGE_CHECK, ADD_BILLING, SHOW_TIPS_DETAILS, HIDE_TIPS_DE
|
|
import { ADD_DIAGNOSTIC, GET_DIAGNOSTIC_STR } from '@store/types/diagnosticList';
|
|
import { ADD_DIAGNOSTIC, GET_DIAGNOSTIC_STR } from '@store/types/diagnosticList';
|
|
import {billing, getAllConceptDetail} from '../store/async-actions/pushMessage';
|
|
import {billing, getAllConceptDetail} from '../store/async-actions/pushMessage';
|
|
import { isAddMainSuit } from '@store/async-actions/diagnosticList';
|
|
import { isAddMainSuit } from '@store/async-actions/diagnosticList';
|
|
|
|
+import { HIDEDROP } from '@store/types/homePage.js';
|
|
|
|
|
|
function mapStateToProps(state) {//console.log(state)
|
|
function mapStateToProps(state) {//console.log(state)
|
|
const {pushMessage,diagnosticList} = state;
|
|
const {pushMessage,diagnosticList} = state;
|
|
@@ -24,6 +25,11 @@ function mapStateToProps(state) {//console.log(state)
|
|
|
|
|
|
function mapDispatchToProps(dispatch) {
|
|
function mapDispatchToProps(dispatch) {
|
|
return {
|
|
return {
|
|
|
|
+ hideAllDrop(){
|
|
|
|
+ dispatch({
|
|
|
|
+ type:HIDEDROP
|
|
|
|
+ });
|
|
|
|
+ },
|
|
changeAssay: (item) => {
|
|
changeAssay: (item) => {
|
|
dispatch({type: CHANGE_ASSAY, item})
|
|
dispatch({type: CHANGE_ASSAY, item})
|
|
},
|
|
},
|