|
@@ -20,14 +20,9 @@ import store from '@store';
|
|
import {SET_MR_INFO} from "../types/print";
|
|
import {SET_MR_INFO} from "../types/print";
|
|
|
|
|
|
|
|
|
|
-export const billing = () => {
|
|
|
|
|
|
+export const embedPush = () => { //内嵌页面推送时推送
|
|
return (dispatch, getState) =>{
|
|
return (dispatch, getState) =>{
|
|
//const state = getState();
|
|
//const state = getState();
|
|
- /*const {hospitalCode,sex,patientAge} = state.patInfo.message;
|
|
|
|
- const checkBody = state.checkBody.data;
|
|
|
|
- let diagMain = state.diagnosticList.diagnosticList.length>0&&state.diagnosticList.diagnosticList[0];
|
|
|
|
- //mdata为主诉无标签直接输入时的内容,symptom参数传主诉+现病史文本
|
|
|
|
- const mainData = mdata?(emrData.current + mdata):(emrData.current + emrData.main);*/
|
|
|
|
//console.log(state)
|
|
//console.log(state)
|
|
const param = getEMRParams();
|
|
const param = getEMRParams();
|
|
/*const param={
|
|
/*const param={
|
|
@@ -119,7 +114,7 @@ export const billing = () => {
|
|
};
|
|
};
|
|
|
|
|
|
//获取右侧推送信息
|
|
//获取右侧推送信息
|
|
-/*export const billing = (mdata,boxMark) => {
|
|
|
|
|
|
+export const billing = (mdata,boxMark) => {
|
|
return (dispatch, getState) =>{
|
|
return (dispatch, getState) =>{
|
|
const state = getState();
|
|
const state = getState();
|
|
const checkBody = state.checkBody.data;
|
|
const checkBody = state.checkBody.data;
|
|
@@ -211,7 +206,7 @@ export const billing = () => {
|
|
console.log(e)
|
|
console.log(e)
|
|
});
|
|
});
|
|
}
|
|
}
|
|
-};*/
|
|
|
|
|
|
+};
|
|
|
|
|
|
//获取提示信息(静态信息)
|
|
//获取提示信息(静态信息)
|
|
export const getConceptDetail = (item,noTips,noDetails,noNotify) => {
|
|
export const getConceptDetail = (item,noTips,noDetails,noNotify) => {
|
|
@@ -250,7 +245,7 @@ export const getConceptDetail = (item,noTips,noDetails,noNotify) => {
|
|
flag:true
|
|
flag:true
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- //document.getElementById("tipsMsg").scrollIntoView(true)
|
|
|
|
|
|
+ document.getElementById("tipsMsg").scrollIntoView(true)
|
|
//点击i同时打开详情弹窗 点击诊断名称不打开弹窗
|
|
//点击i同时打开详情弹窗 点击诊断名称不打开弹窗
|
|
if(!noDetails) {
|
|
if(!noDetails) {
|
|
dispatch({
|
|
dispatch({
|