<template>
    <window-size>
        <van-cell title="SDS抑郁自评量" is-link :to="'/assessments/depression/' + patientId"></van-cell>
        <div style="height: 5px"></div>
        <van-cell title="门诊服务满意度调查" is-link :to="'/assessments/clinicSatisfied/' + patientId"></van-cell>
        <div style="height: 5px"></div>
        <van-cell title="住院服务满意度调查" is-link :to="'/assessments/inpatientSatisfied/' + patientId"></van-cell>
        <div style="height: 5px"></div>
        <van-cell title="新型冠状病毒感染流行病学史问卷" is-link :to="'/assessments/covid/' + patientId"></van-cell>
    </window-size>
</template>

<script>
import {useRouter} from 'vue-router'

export default {
    name: 'AssessmentsEntrance',
    setup() {
        const router = useRouter()
        const patientId = router.currentRoute.value.params.patientId
        return {
            patientId,
        }
    },
}
</script>
