|
@@ -1,15 +1,15 @@
|
|
|
-import {json,expJson} from '@utils/ajax.js';
|
|
|
-import {SET,PRESET} from '@types/checkBody.js';
|
|
|
+import {json,expJson} from '@utils/ajax';
|
|
|
+import {SET,PRESET} from '@types/checkBody';
|
|
|
import {SETDATA} from '@store/types/otherHistory';
|
|
|
import store from '@store';
|
|
|
-import {getEMRParams,didPushParamChange,inspectAndAssist,fullfillText,checkFullfillText,deepClone} from '@utils/tools.js';
|
|
|
+import {getEMRParams,didPushParamChange,inspectAndAssist,fullfillText,checkFullfillText,deepClone,filterDataArr} from '@utils/tools';
|
|
|
import {Notify} from '@commonComp';
|
|
|
import {billing} from '@store/async-actions/pushMessage';
|
|
|
import {SETOTHERHISTORY,ISREAD} from "../types/homePage";
|
|
|
import config from "@config/index";
|
|
|
import {CURRENT_CHRONIC} from '@store/types/currentIll';
|
|
|
-import {MODI_LOADING} from '@store/types/homePage.js';
|
|
|
-import {GET_ALL_HIS,FILTER_ALL_HIS} from '@store/types/emergencyHis.js';
|
|
|
+import {MODI_LOADING} from '@store/types/homePage';
|
|
|
+import {GET_ALL_HIS,FILTER_ALL_HIS} from '@store/types/emergencyHis';
|
|
|
import {SET_IMPORT_CHECKBODY_LABEL} from "../types/checkBody";
|
|
|
|
|
|
const api={
|
|
@@ -120,17 +120,18 @@ export const getOtherHisRecord = ()=>{
|
|
|
save:[objStr[0]]
|
|
|
});
|
|
|
}else{
|
|
|
+ const text = filterDataArr(objStr);
|
|
|
dispatch({
|
|
|
type:SETOTHERHISTORY,
|
|
|
- data:arr,
|
|
|
- period:{
|
|
|
+ data:[{tagType:8,name:'',controlType:0,value:text}],
|
|
|
+ /*period:{
|
|
|
yjs_1: obj.yjs_1,
|
|
|
yjs_2: obj.yjs_2,
|
|
|
yjs_3: obj.yjs_3,
|
|
|
yjs_4: obj.yjs_4,
|
|
|
},
|
|
|
- selecteds:obj.otherHistorySelecteds,
|
|
|
- save:objStr
|
|
|
+ selecteds:obj.otherHistorySelecteds,*/
|
|
|
+ save:[text]
|
|
|
});
|
|
|
}
|
|
|
}
|