浏览代码

检索接口添加hospitalId

luolei 4 年之前
父节点
当前提交
9cd4f76246

+ 2 - 1
src/store/async-actions/assistCheck.js

@@ -16,7 +16,8 @@ export const getSearchList = (val) => {
             "age": formatFormParmas('patientAge',baseList.patInfo.patInfoData),
             "inputStr": val,
             "sex": formatFormParmas('patientSex',baseList.patInfo.patInfoData),
-            "type": '3'
+            "type": '3',
+            "hospitalId":baseList.homePage.curHos.hosId
         })
         .then((res)=>{
             if(res.data.code==0){

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

@@ -35,6 +35,7 @@ export const getSearchList = (val,flag) => {
             "age": formatFormParmas('patientAge',state.patInfo.patInfoData),
             "inputStr": val,
             "sex": formatFormParmas('patientSex',state.patInfo.patInfoData),
+            "hospitalId":baseList.homePage.curHos.hosId
         })
         .then((res)=>{
             if(res.data.code==0){

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

@@ -17,6 +17,7 @@ export const getSearchList = (val) => {
             "age": formatFormParmas('patientAge',baseList.patInfo.patInfoData),
             "inputStr": val,
             "sex": formatFormParmas('patientSex',baseList.patInfo.patInfoData),
+            "hospitalId":baseList.homePage.curHos.hosId,
             "type": type
         })
         .then((res)=>{

+ 2 - 1
src/store/async-actions/newAdvice.js

@@ -17,7 +17,8 @@ export const getSearchList = (val) => {
             "hospitalId": 2,
             "age": formatFormParmas('patientAge',baseList.patInfo.patInfoData),
             "sex": formatFormParmas('patientSex',baseList.patInfo.patInfoData),
-            "type": type
+            "type": type,
+            "hospitalId":baseList.homePage.curHos.hosId
         })
         .then((res)=>{
             if(res.data.code==0){