|
@@ -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
|
|
|
})
|