|
@@ -40,10 +40,10 @@ class ItemBox extends Component {
|
|
const state = store.getState()
|
|
const state = store.getState()
|
|
const moduleName = state.homePage.moduleName
|
|
const moduleName = state.homePage.moduleName
|
|
const currentIllIsNull = state.currentIll.saveText.length === 0
|
|
const currentIllIsNull = state.currentIll.saveText.length === 0
|
|
- const checkBodyIsNull = state.checkBody.saveText.length.length === 0
|
|
|
|
|
|
+ const checkBodyIsNull = state.checkBody.saveText.length === 0
|
|
handleClick && handleClick(e);//为了获取鼠标位置,显示搜索结果框;
|
|
handleClick && handleClick(e);//为了获取鼠标位置,显示搜索结果框;
|
|
hideAllDrop&&hideAllDrop();
|
|
hideAllDrop&&hideAllDrop();
|
|
- if((title=='化验'|| title=='辅检'|| title=='诊断' || title=='医嘱'||title == '现病史' && currentIllIsNull || title == '现病史' && checkBodyIsNull)&& moduleName != title) {
|
|
|
|
|
|
+ if((title=='化验'|| title=='辅检'|| title=='诊断' || title=='医嘱'||title == '现病史' && currentIllIsNull || title == '查体' && checkBodyIsNull)&& moduleName != title) {
|
|
store.dispatch({
|
|
store.dispatch({
|
|
type: SET_CURRENT_MODULE,
|
|
type: SET_CURRENT_MODULE,
|
|
moduleName:title
|
|
moduleName:title
|