Browse Source

手术推荐优先根据医保出院主诊断选取

lighter 3 years ago
parent
commit
51efb94423

+ 2 - 2
src/api/case-front-sheet/index.js

@@ -38,11 +38,11 @@ export function sheetSearch(data) {
   })
 }
 
-export function getSsfzSurgeriesByIcd(icd) {
+export function getSsfzSurgeriesByIcd(bah, times, icd) {
   return request({
     url: '/sheetSearch/getSsfzSurgeriesByIcd',
     method: 'get',
-    params: { icd },
+    params: { bah, times, icd },
   })
 }
 

+ 3 - 3
src/views/hospitalization/case-front-sheet/FillCaseFrontSheet.vue

@@ -964,7 +964,7 @@ const fetchSearchData = () => {
 const executeSearch = () => {
   showSurgeryRecommand = false
   if (mainSurgeryFocused && searchContent.value === '' && patient.value.disdiagList[0].code) {
-    getSsfzSurgeriesByIcd(patient.value.disdiagList[0].code).then((res) => {
+    getSsfzSurgeriesByIcd(patient.value.bah, patient.value.admissTimes, patient.value.disdiagList[0].code).then((res) => {
       searchResults.value = res
       showSurgeryRecommand = true
     })
@@ -1270,7 +1270,7 @@ const onSearchSurgeryFocus = (n) => {
   if (!patient.value.surgeryList[n].code) {
     if (n === 0 && patient.value.disdiagList[0].code) {
       mainSurgeryFocused = true
-      getSsfzSurgeriesByIcd(patient.value.disdiagList[0].code).then((res) => {
+      getSsfzSurgeriesByIcd(patient.value.bah, patient.value.admissTimes, patient.value.disdiagList[0].code).then((res) => {
         searchResults.value = res
         showSurgeryRecommand = true
       })
@@ -1285,7 +1285,7 @@ const onEditSurgeryClick = (n) => {
   showSearch.value = true
   if (n === 0 && patient.value.disdiagList[0].code) {
     mainSurgeryFocused = true
-    getSsfzSurgeriesByIcd(patient.value.disdiagList[0].code).then((res) => {
+    getSsfzSurgeriesByIcd(patient.value.bah, patient.value.admissTimes, patient.value.disdiagList[0].code).then((res) => {
       searchResults.value = res
       showSurgeryRecommand = true
     })