|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
import { connect } from 'react-redux';
|
|
|
import DiagnosticItem from '@components/DiagnosticItem';
|
|
|
import { ADD_DIAGNOSTIC, GET_DIAGNOSTIC_STR } from '@store/types/diagnosticList';
|
|
|
-import { SHOW_SEARCH, HIDE_SEARCH, SET_SEARCH_VALUE } from '@store/types/diagnosticSearch';
|
|
|
+import { SHOW_SEARCH, HIDE_SEARCH,HIDE_TCM_SEARCH, SET_SEARCH_VALUE } from '@store/types/diagnosticSearch';
|
|
|
import { isChronicMag, isAddMainSuit } from'@store/async-actions/diagnosticList.js';
|
|
|
import { addDiagnostic } from '@store/async-actions/treat';
|
|
|
import { getSearchResult } from '@store/async-actions/diagnosticSearch';
|
|
@@ -44,6 +44,13 @@ function mapDispatchToProps(dispatch) {
|
|
|
dispatch({
|
|
|
type: HIDE_SEARCH
|
|
|
})
|
|
|
+ dispatch({
|
|
|
+ type: HIDE_TCM_SEARCH
|
|
|
+ })
|
|
|
+ dispatch({
|
|
|
+ type: 'SHOW_SYM_SEARCH',
|
|
|
+ show:false
|
|
|
+ })
|
|
|
},
|
|
|
getTips: (diagItem) => {
|
|
|
dispatch(getConceptDetail(diagItem))
|