Explorar el Código

急诊流程bug修改

Luolei hace 6 años
padre
commit
065c1d5237

+ 3 - 3
src/components/EmergencyProcedure/EmergencyPart/PartTrd/index.jsx

@@ -340,7 +340,7 @@ class PartTrd extends React.Component {
             }
           </ul>
           <h4>询问并立即服用负荷剂量的双抗药物(若未服用)</h4>
-          <p style={{ color: '#000', textIndent: '2em', lineHeight: '20px' }}>阿司匹林0.3g+氯吡格雷300mg/600mg(需急诊手术时)或 阿司匹林0.3g+替格瑞洛180mg( "心拯救"一包药)</p>
+          <p style={{ color: '#000', textIndent: '2em', lineHeight: '20px' }}>阿司匹林0.3g+氯吡格雷300mg/600mg(急需手术)或 阿司匹林0.3g+替格瑞洛180mg( "心拯救")</p>
           <h4>患者发病时间!</h4>
           {
             trdShow ? <React.Fragment>
@@ -448,8 +448,8 @@ class PartTrd extends React.Component {
                 <h4>{trdFlg ? '立即服用负荷剂量的双抗药物(若未服用)' : '已排除NSTEMI-ACS ,请其他诊室会诊!'}</h4>
                 {
                   trdFlg ? <React.Fragment>
-                    <h4>询问并立即服用负荷剂量的双抗药物(若未服用)</h4>
-                    <p style={{ color: '#000', textIndent: '2em', lineHeight: '20px' }}>阿司匹林0.3g+氯吡格雷300mg/600mg(需急诊手术时)或 阿司匹林0.3g+替格瑞洛180mg("心拯救"一包药)</p>
+                    {/* <h4>询问并立即服用负荷剂量的双抗药物(若未服用)</h4> */}
+                    <p style={{ color: '#000', textIndent: '2em', lineHeight: '20px' }}>阿司匹林0.3g+氯吡格雷300mg/600mg(急需手术)或 阿司匹林0.3g+替格瑞洛180mg("心拯救")</p>
                     <h4>判断患者危重程度</h4>
                     <ul className={`${styles.illDeep} clearfix`}>
                       <li className={currentIdx==0? styles.selectOn:''}>极高危患者</li>

+ 1 - 1
src/containers/PushItemsContainer.js

@@ -6,7 +6,7 @@ import { ADD_DIAGNOSTIC, GET_DIAGNOSTIC_STR } from '@store/types/diagnosticList'
 import {billing, getAllConceptDetail} from '../store/async-actions/pushMessage';
 import { isAddMainSuit } from '@store/async-actions/diagnosticList';
 
-function mapStateToProps(state) {
+function mapStateToProps(state) {console.log(state)
   const {pushMessage,diagnosticList} = state;
         return {
         pushMessage: pushMessage,

+ 14 - 0
src/containers/TypeConfigContainer.js

@@ -2,6 +2,8 @@ import React from "react";
 import { connect } from "react-redux";
 import Banner from "../components/Banner";
 import { SHOW_CONFIG_MODAL, CLOSE_CONFIG_MODAL, CHANGE_TYPE, CONFIRM_TYPE } from "../store/types/typeConfig";
+import { BILLING_ADVICE} from '@store/types/pushMessage';
+
 import {pushAllDataList} from '@utils/tools';
 import {saveMode,getOtherHisRecord} from '@store/async-actions/fetchModules';
 import config from "@config/index";
@@ -49,6 +51,18 @@ function mapDispatchToProps(dispatch) {
           Notify.success("模式切换成功");
           dispatch(initItemList(confirmType));
           dispatch(allCheckedShow(false))    //全选反选显示重置
+          dispatch({//推送重置
+            type: BILLING_ADVICE,
+            determine:[],
+            doubt:[],
+            possible:[],
+            vigilant: [],
+            likely:[],
+            lab: [],
+            pacs:[],
+            setPushEmergency:[],
+            setPushEmergencyIdx:''
+          });
         }else{
           Notify.error(res.data.msg+",请稍后再试");
           //dispatch({type:MODE_CHANGE_FAIL,data:true});      //保存失败弹窗提示