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