소스 검색

切换到查体时调病历分析(2969)

zhangxc 5 년 전
부모
커밋
93010588ff
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/common/components/ItemBox/index.jsx

+ 2 - 2
src/common/components/ItemBox/index.jsx

@@ -40,10 +40,10 @@ class ItemBox extends Component {
     const state = store.getState()
     const moduleName = state.homePage.moduleName
     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);//为了获取鼠标位置,显示搜索结果框;
     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({
         type: SET_CURRENT_MODULE,
         moduleName:title