|
@@ -7,7 +7,7 @@
|
|
|
<h3>微信医疗服务平台</h3>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="yuyueguahao" @click="routeTo(filterPath('/covidVaccinate/', '/selectCovidVaccinatePatient'))">
|
|
|
+ <div class="yuyueguahao" @click="toVaccinateAppointment">
|
|
|
<div>
|
|
|
<img class="large-icon" src="../../assets/hospital-service/vaccinate.png" />
|
|
|
</div>
|
|
@@ -96,6 +96,7 @@ import store from '../../store'
|
|
|
import { selectHomePageDoctors } from '../../api/home-page'
|
|
|
import { getDate } from '../../utils/date'
|
|
|
import router from '../../router'
|
|
|
+import { Dialog } from 'vant'
|
|
|
export default {
|
|
|
setup() {
|
|
|
const windowSize = store.state.windowSize
|
|
@@ -160,6 +161,14 @@ export default {
|
|
|
router.push(val)
|
|
|
}
|
|
|
|
|
|
+ const toVaccinateAppointment = () => {
|
|
|
+ Dialog.alert({
|
|
|
+ title: '提示',
|
|
|
+ message: '本院新冠疫苗已无库存,暂时无法预约,敬请谅解。',
|
|
|
+ })
|
|
|
+ // routeTo(filterPath('/covidVaccinate/', '/selectCovidVaccinatePatient'))
|
|
|
+ }
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
if (doctors.value.length === 0) {
|
|
|
selectHomePageDoctors().then((res) => {
|
|
@@ -178,6 +187,7 @@ export default {
|
|
|
infoStyle,
|
|
|
specialtyStyle,
|
|
|
routeTo,
|
|
|
+ toVaccinateAppointment,
|
|
|
}
|
|
|
},
|
|
|
}
|