|
@@ -9,7 +9,6 @@ import {pregetCheckbodyData} from '@store/async-actions/fetchModules';
|
|
|
|
|
|
const api={
|
|
const api={
|
|
push:'/push/pushInner',
|
|
push:'/push/pushInner',
|
|
- textPush:'/push/pushText',
|
|
|
|
getTableList:'/scale/getList', //获取量表列表
|
|
getTableList:'/scale/getList', //获取量表列表
|
|
getTableInfo:'/scale/getContent', //获取量表明细
|
|
getTableInfo:'/scale/getContent', //获取量表明细
|
|
getConceptDetail:'/conceptDetail/getConceptDetail', //获取静态提示信息
|
|
getConceptDetail:'/conceptDetail/getConceptDetail', //获取静态提示信息
|
|
@@ -20,9 +19,6 @@ export const billing = (mdata,boxMark) => {
|
|
return (dispatch, getState) =>{
|
|
return (dispatch, getState) =>{
|
|
const state = getState();
|
|
const state = getState();
|
|
let url = api.push;
|
|
let url = api.push;
|
|
- if(+state.typeConfig.typeConfig===1){
|
|
|
|
- url=api.textPush;
|
|
|
|
- }
|
|
|
|
const checkBody = state.checkBody.data;
|
|
const checkBody = state.checkBody.data;
|
|
let getCheck = boxMark==2&&!(checkBody&&checkBody.length>0&&!checkBody[0].full);
|
|
let getCheck = boxMark==2&&!(checkBody&&checkBody.length>0&&!checkBody[0].full);
|
|
const emrData = getEMRParams();
|
|
const emrData = getEMRParams();
|
|
@@ -36,7 +32,8 @@ export const billing = (mdata,boxMark) => {
|
|
pacs: emrData.pacs,
|
|
pacs: emrData.pacs,
|
|
sex: emrData.sex,
|
|
sex: emrData.sex,
|
|
vital:emrData.vital,
|
|
vital:emrData.vital,
|
|
- symptom: mdata?(emrData.current + mdata):(emrData.current + emrData.main)
|
|
|
|
|
|
+ symptom: mdata?(emrData.current + mdata):(emrData.current + emrData.main),
|
|
|
|
+ hosCode: emrData.hosCode
|
|
};
|
|
};
|
|
let savePm = Object.assign({},params);
|
|
let savePm = Object.assign({},params);
|
|
delete savePm.featureType;
|
|
delete savePm.featureType;
|