|
@@ -1,5 +1,5 @@
|
|
|
import { get, post, json } from "@utils/ajax";
|
|
|
-import { BILLING_ADVICE, SET_TIPS, SET_TIPS_DETAILS ,SET_CHRONIC_TABLELIST} from '../types/pushMessage';
|
|
|
+import { BILLING_ADVICE, SET_TIPS, SET_TIPS_DETAILS ,SET_CHRONIC_TABLELIST,SET_CHRONIC_PUSHS} from '../types/pushMessage';
|
|
|
import { SET_CLICK_DIAG } from '../types/diagnosticList';
|
|
|
import {storageLocal,getEMRParams} from '@utils/tools';
|
|
|
import {SET_IMPORT_CHECKBODY_LABEL} from "../types/checkBody";
|
|
@@ -21,7 +21,7 @@ export const billing = (mdata) => {
|
|
|
const emrData = getEMRParams();
|
|
|
const params = {
|
|
|
age: emrData.age,
|
|
|
- featureType: "4,5,6,7",
|
|
|
+ featureType: "4,5,6,7,22",
|
|
|
diag: emrData.dis,
|
|
|
lis: emrData.lis,
|
|
|
other: emrData.other,
|
|
@@ -32,7 +32,7 @@ export const billing = (mdata) => {
|
|
|
};
|
|
|
storageLocal.set('emrParam',params); //推送数据存储,用作推送前对比是否有变,有变才推送
|
|
|
json(url, params).then((data) => {
|
|
|
- let {dis, lab, pacs,markedVitalIds} = data.data.data||{};console.log(markedVitalIds)
|
|
|
+ let {dis, lab, pacs,markedVitalIds,medicalIndications} = data.data.data||{};
|
|
|
lab = lab||[];
|
|
|
pacs = pacs||[];
|
|
|
// console.log('推送数据', data.data.data);
|
|
@@ -63,6 +63,11 @@ export const billing = (mdata) => {
|
|
|
lab: lab||[],
|
|
|
pacs: pacs||[],
|
|
|
});
|
|
|
+ //慢病推送模块数据
|
|
|
+ dispatch({
|
|
|
+ type:SET_CHRONIC_PUSHS,
|
|
|
+ data:medicalIndications
|
|
|
+ });
|
|
|
//查体高亮标签
|
|
|
dispatch({
|
|
|
type:SET_IMPORT_CHECKBODY_LABEL,
|