|
@@ -7,22 +7,12 @@ import {Notify} from '@commonComp';
|
|
|
|
|
|
export const getPreMsg = () => {
|
|
export const getPreMsg = () => {
|
|
let baseList = store.getState().patInfo.message;
|
|
let baseList = store.getState().patInfo.message;
|
|
- const inCode = config.preIcss.recordIdVal===-1?getUrlArgObject("recordId"):config.preIcss.recordIdVal;
|
|
|
|
json('/api/prec/inquiryInfo/hisInquirys', {
|
|
json('/api/prec/inquiryInfo/hisInquirys', {
|
|
"isHaveDetail":1,
|
|
"isHaveDetail":1,
|
|
"hospitalCode": baseList.hospitalCode,
|
|
"hospitalCode": baseList.hospitalCode,
|
|
- "inquiryCode":inCode,
|
|
|
|
- "patientCode": baseList.patientCode,
|
|
|
|
"dayLimit":config.preIcss.deadline===-1?undefined:config.preIcss.deadline,
|
|
"dayLimit":config.preIcss.deadline===-1?undefined:config.preIcss.deadline,
|
|
-
|
|
|
|
- // "doctorCode": baseList,
|
|
|
|
- // "doctorId": baseList.doctorId,
|
|
|
|
- // "hospitalDeptCode": baseList.hospitalDeptCode,
|
|
|
|
- // "hospitalDeptId": baseList.hospitalDeptId,
|
|
|
|
- // "hospitalId": baseList.hospitalId,
|
|
|
|
- // "patientId": baseList.patientId,
|
|
|
|
- // "patientIdNo": baseList.patientIdNo,
|
|
|
|
- // "patientName": baseList.patientName
|
|
|
|
|
|
+ "patientIdNo": baseList.patientIdentityNum?baseList.patientIdentityNum:baseList.patientIdNo,
|
|
|
|
+ "patientName": baseList.patientName
|
|
},true).then((res) => {
|
|
},true).then((res) => {
|
|
const data = res.data;
|
|
const data = res.data;
|
|
if (data.code == 0) {
|
|
if (data.code == 0) {
|
|
@@ -40,13 +30,15 @@ export const getPreMsg = () => {
|
|
}
|
|
}
|
|
|
|
|
|
export const tellPred = () => {
|
|
export const tellPred = () => {
|
|
- let baseList = store.getState().homePage.item;
|
|
|
|
|
|
+ let baseData = store.getState();
|
|
|
|
+ let baseList = baseData.homePage.item;
|
|
|
|
+ let idcon = baseData.patInfo.message;
|
|
const inCode = config.preIcss.recordIdVal===-1?getUrlArgObject("recordId"):config.preIcss.recordIdVal;
|
|
const inCode = config.preIcss.recordIdVal===-1?getUrlArgObject("recordId"):config.preIcss.recordIdVal;
|
|
json('/api/prec/inquiryInfo/inquiryQuoteForIcss', {
|
|
json('/api/prec/inquiryInfo/inquiryQuoteForIcss', {
|
|
"hospitalCode": baseList.hospitalCode,
|
|
"hospitalCode": baseList.hospitalCode,
|
|
"inquiryCode":inCode,
|
|
"inquiryCode":inCode,
|
|
"patientCode": baseList.patientCode,
|
|
"patientCode": baseList.patientCode,
|
|
-
|
|
|
|
|
|
+ "patientIdentityNum":idcon.patientIdentityNum,
|
|
"doctorCode":baseList.doctorCode,
|
|
"doctorCode":baseList.doctorCode,
|
|
"doctorId": baseList.doctorId,
|
|
"doctorId": baseList.doctorId,
|
|
"doctorName":baseList.doctorName,
|
|
"doctorName":baseList.doctorName,
|