Quellcode durchsuchen

删除中医诊断,治疗方案传参

zhouna vor 4 Jahren
Ursprung
Commit
dec97f220d
2 geänderte Dateien mit 3 neuen und 4 gelöschten Zeilen
  1. 1 1
      src/containers/DiagnosticList.js
  2. 2 3
      src/store/actions/diagnosticList.js

+ 1 - 1
src/containers/DiagnosticList.js

@@ -86,7 +86,7 @@ function mapDispatchToProps(dispatch) {
                 type: GET_DIAGNOSTIC_STR,
                 isTcm
             });
-            dispatch(getMRAnalyse())
+            dispatch(embedPush())
         },
         delReact: (item) => {
             dispatch({

+ 2 - 3
src/store/actions/diagnosticList.js

@@ -122,14 +122,13 @@ export const delDiagnostic = (state, action) => {
             "uniqueName": tmpLis[0].uniqueName
         }
         if(isTcm){
-            res.otherIndex=obj;
+            res.otherIndex=tmpLis[0];
         }else{
             res.diseaseName = obj
         }
     }else{
-
         if(isTcm){
-            res.otherIndex={};
+            res.otherIndex=tmpLis[0];
         }else{
             res.diseaseName = {}
         }