Explorar o código

标准化接口联调

liucf %!s(int64=6) %!d(string=hai) anos
pai
achega
31dbbe219e

+ 1 - 0
src/store/async-actions/homePage.js

@@ -133,6 +133,7 @@ export const getCommonList = (val)=>{
     const params = {
       "age":patientInfo.patientAge ,   //年龄
       "deptId": patientInfo.hospitalDeptId,       //科室id
+      // "deptName": patientInfo.selfDeptName,       //科室name-标准化
       "sexType": patientInfo.sex,        //性别
       "type": val
     }

+ 2 - 0
src/store/async-actions/mainSuit.js

@@ -15,8 +15,10 @@ export const getCommSymptoms = ()=>{//获取常见症状
     const {message} = state.patInfo;
     //从state中拿到门诊号
     const deptCode = message.selfDeptId;
+    // const deptName = message.selfDeptName;//标准化
     const params = {
       'deptId':deptCode,
+      // 'deptName':deptName,
       'age':message.patientAge,
       'sexType':message.sex,
       'type':1

+ 2 - 2
src/utils/config.js

@@ -1,7 +1,7 @@
 // const host='http://192.168.3.1:5050';//赵
 // const host='http://192.168.3.100:5050';//王峰
-const host='http://192.168.2.241:5050';//后端接口访问地址
-// const host='http://192.168.2.236:5050';//后端接口访问地址
+// const host='http://192.168.2.241:5050';//后端接口访问地址
+const host='http://192.168.2.236:5050';//后端接口访问地址
 // const host='http://192.168.3.11:5050';//王宇
 //const host='http://192.168.2.164:8080';
 // const host='http://192.168.3.117:5050'; //周铁刚