luolei hace 5 años
padre
commit
36ee32cf8a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/store/async-actions/patInfo.js

+ 2 - 2
src/store/async-actions/patInfo.js

@@ -22,8 +22,8 @@ export const getPreMsg = (dispatch, getState) => {
     // let state = baseList.patInfo.message;
     json('http://192.168.2.121:5050'+api.getPreMsg, {
         "hospitalCode": getUrlArgObject('hospitalId'),
-        "inquiryCode": "7",
-        "patientCode": getUrlArgObject("recordId")
+        "inquiryCode":getUrlArgObject("recordId"),
+        "patientCode": getUrlArgObject("patientNo")
     },true).then((res) => {
         const data = res.data;
         if (data.code == 0) {