|
@@ -1,9 +1,9 @@
|
|
import React from 'react';
|
|
import React from 'react';
|
|
import {connect} from 'react-redux';
|
|
import {connect} from 'react-redux';
|
|
import PushItems from '../components/PushItems'
|
|
import PushItems from '../components/PushItems'
|
|
-import {CHANGE_ASSAY, CHANGE_CHECK, ADD_BILLING, SHOW_TIPS_DETAILS, HIDE_TIPS_DETAILS,SHOW_TABLE_LIST,HIDE_TABLE_LIST} from '@store/types/pushMessage';
|
|
|
|
|
|
+import {CHANGE_ASSAY, CHANGE_CHECK, ADD_BILLING, SHOW_TIPS_DETAILS, HIDE_TIPS_DETAILS} from '@store/types/pushMessage';
|
|
import { ADD_DIAGNOSTIC, GET_DIAGNOSTIC_STR } from '@store/types/diagnosticList';
|
|
import { ADD_DIAGNOSTIC, GET_DIAGNOSTIC_STR } from '@store/types/diagnosticList';
|
|
-import {billing, getTips, getTipsDetails,getTableList} from '../store/async-actions/pushMessage';
|
|
|
|
|
|
+import {billing, getTips, getTipsDetails} from '../store/async-actions/pushMessage';
|
|
import { isAddMainSuit } from '@store/async-actions/diagnosticList';
|
|
import { isAddMainSuit } from '@store/async-actions/diagnosticList';
|
|
|
|
|
|
function mapStateToProps(state) {
|
|
function mapStateToProps(state) {
|
|
@@ -59,13 +59,6 @@ function mapDispatchToProps(dispatch) {
|
|
dispatch({
|
|
dispatch({
|
|
type: HIDE_TIPS_DETAILS
|
|
type: HIDE_TIPS_DETAILS
|
|
})
|
|
})
|
|
- },
|
|
|
|
- getTableList(id){
|
|
|
|
- dispatch(getTableList(id))
|
|
|
|
- dispatch({type:SHOW_TABLE_LIST})
|
|
|
|
- },
|
|
|
|
- hideList(){
|
|
|
|
- dispatch({type:HIDE_TABLE_LIST})
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|