Explorar o código

修改诊断搜索参数

zhangxc %!s(int64=6) %!d(string=hai) anos
pai
achega
b77a4e183b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/store/async-actions/diagnosticSearch.js

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

@@ -8,9 +8,9 @@ export const getSearchResult = (value) =>{
         const url = '/api/icss/retrieval/getTagInfos'
         const param={
             type: 7,
-            age: 44,
+            age: state.patInfo.message.patientAge,
             inputStr: value,
-            sexType: 1
+            sexType: state.patInfo.message.sex
         }
         if(value === state.diagnosticSearch.searchValue) {
             return