Browse Source

Merge branch 'dev/new1' of http://192.168.2.236:10080/zhouna/newICSS into dev/new1

Luolei 6 năm trước cách đây
mục cha
commit
8beb949494
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/store/async-actions/treat.js

+ 2 - 1
src/store/async-actions/treat.js

@@ -398,6 +398,7 @@ export const getInstroduce = (item, type, position)=>{
 export const commonTreatAddToAdvice = () => {
     return (dispatch, getState) => {
         const state = getState();
+
         const followUp = state.treat.followUp
         if(state.treat.treatItem.conceptId === state.diagnosticList.diagnosticList[0].conceptId && state.treat.isFirstMainDiag) {
             dispatch({
@@ -405,7 +406,7 @@ export const commonTreatAddToAdvice = () => {
             })
             dispatch({
                 type: SET_COMMONTREATMENT,
-                commontreatment: state.treat.treatItem.treat.commonTreatment.content
+                commontreatment: state.treat.generalTreat.content
             })
             if(followUp) {
                 dispatch({