|
@@ -5,8 +5,6 @@ import { SET_DRUG_INFO, SHOW_DRUG_INFO } from '@store/types/treat';
|
|
|
import { SET_CLICK_DIAG } from '../types/diagnosticList';
|
|
|
import {storageLocal,getEMRParams, getMRInfo,getAllDataStringList,isAllClear} from '@utils/tools';
|
|
|
import {getBigPush} from '@utils/utils';
|
|
|
-import {SET_IMPORT_CHECKBODY_LABEL,PRESET} from "../types/checkBody";
|
|
|
-import dataLis from '@components/EmergencyProcedure/emergency';
|
|
|
import Notify from '@commonComp/Notify';
|
|
|
import {pregetCheckbodyData} from '@store/async-actions/fetchModules';
|
|
|
import {tabChange} from '@store/actions/tabTemplate';
|
|
@@ -16,7 +14,7 @@ const api={
|
|
|
getTableInfo:'/scale/getContent', //获取量表明细
|
|
|
getConceptDetail:'/conceptDetail/getConceptDetail', //获取静态提示信息
|
|
|
getMRAnalyse: '/mrqc/analyse', //病历质控
|
|
|
- setMrInfo:'http://192.168.2.241/api/data/mr/createMr', //存页面信息,供页面推送模式调取
|
|
|
+ setMrInfo:'/api/data/mrv2/createMr', //存页面信息,供页面推送模式调取
|
|
|
}
|
|
|
import store from '@store';
|
|
|
import {SET_MR_INFO} from "../types/print";
|
|
@@ -24,14 +22,14 @@ import {SET_MR_INFO} from "../types/print";
|
|
|
|
|
|
export const billing = () => {
|
|
|
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)
|
|
|
const param = getEMRParams();
|
|
|
- console.log(state)
|
|
|
/*const param={
|
|
|
"hosCode": hospitalCode,
|
|
|
"age": patientAge,
|
|
@@ -107,7 +105,7 @@ export const billing = () => {
|
|
|
"vaccination": "",
|
|
|
"vital": ""
|
|
|
};*/
|
|
|
- json(api.setMrInfo,param).then((res)=>{
|
|
|
+ json(api.setMrInfo,param,true).then((res)=>{
|
|
|
const data = res.data;
|
|
|
if(data.code==='0'){
|
|
|
//存mrId
|