123456789101112131415161718192021222324252627282930313233 |
- export const updatePatientMessage=(state,action)=>{
- const res=Object.assign({},state);
- // const mock = {
- // doctorCode: "YS001",
- // doctorId: 1,
- // doctorName: "付",
- // hospitalCode: "A001",
- // hospitalDeptCode: "D01",
- // hospitalDeptId: 1,
- // hospitalDeptName: "全科",
- // hospitalId: 1,
- // hospitalName: "浙二医院",
- // modeClassify: 0,
- // modeValue: 1,
- // patientAge: 25,
- // patientCode: "1600",
- // patientId: 1,
- // patientIdNo: "9696969",
- // patientName: "沈强",
- // patientSex: "女",
- // recordId: "44",
- // selfDeptId: 5,
- // systemTime: "2018-12-20 11:52",
- // idNo: "9696969",
- // name: "沈强",
- // sex: 2
- // };
- res.message = action.data;
- /*if(!action.data.selfDeptId){ //selfDeptId这个参数是跟外部对接用的
- res.message = {};
- }*/
- return res;
- };
|