This commit is contained in:
shidongli 2023-09-22 16:22:19 +08:00
parent e37f51f2bd
commit b0b297d1ad
2 changed files with 16 additions and 7 deletions

View File

@ -0,0 +1,9 @@
import request from "../../request.js"
export function getPoserInfoListByType() {
return request({
url: `/nurseApplet/nearbyNursingStation/getPoserInfoListByType?moduleType=HOME_PAGE_MODULE`,
method: 'GET'
})
}

View File

@ -101,8 +101,11 @@
mapActions mapActions
} from "vuex"; } from "vuex";
import { import {
getPoserInfoListByType getPoserInfoListByType
} from '@/api/pagesB/homepage/index.js' } from '@/api/pages/medicalservice/index.js'
// } from '@/api/pagesB/homepage/index.js'
import { import {
getHeathHousingList getHeathHousingList
} from '@/api/pagesB/Healthknowledge/index.js' } from '@/api/pagesB/Healthknowledge/index.js'
@ -164,13 +167,13 @@
} else if (e.dictLabel == '新医象') { } else if (e.dictLabel == '新医象') {
this.goycjc(); this.goycjc();
} else { } else {
if (e.jumpLink == '/pages/ConsultationDetails/ConsultationDetails') { if (e.jumpLink == '/pagesB/ConsultationDetails/ConsultationDetails') {
const url = `/pagesB/ConsultationDetails/ConsultationDetails?goto=${'homepage'}` const url = `/pagesB/ConsultationDetails/ConsultationDetails?goto=${'homepage'}`
uni.navigateTo({ uni.navigateTo({
url: url url: url
}) })
} else if (e.jumpLink == '/pages/homepage/homepage' || e.jumpLink == } else if (e.jumpLink == '/pages/medicalservice/medicalservice' || e.jumpLink ==
'/pages/Personal/Personal') { '/pages/myinformation/myinformation') {
uni.switchTab({ uni.switchTab({
url: e.jumpLink url: e.jumpLink
}) })
@ -277,9 +280,6 @@
url: '/pages/login/login' url: '/pages/login/login'
}) })
} }
// uni.navigateTo({
// url: '/pages/diseasemanagement/diseasemanagement'
// })
}, },
// //
gomedicine() { gomedicine() {