Sfoglia il codice sorgente

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

zhangxc 5 anni fa
parent
commit
93010588ff
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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