<template>
    <div class="screening-first-result text-center pt-3 px-3">
        <doc-icon type="doc-check-circle" style="font-size: .46rem;"/>
        <div class="mt-3">筛查完成</div>
        <div class="text-start mt-5">
            <span style="color: #595959;">通过筛查，您的慢病高危评估结果为：</span>
            <div class="text-red mt-2" style='line-height: 24px'>{{specialScreenResultList.join("、")}}</div>
        </div>
        <div style="margin-top: .48rem">
            <van-button type='primary' block round plain
                @click='toDetail'>查看居民详情</van-button>
            <div class="text-16 pt-5" style="color: #8c8c8c;"
                @click="toWorkbench">返回工作台</div>
        </div>
    </div>
</template>

<script>
export default {
    props: {
        residentInfoId: String,
        specialScreenResultList: Array,
    },
    methods: {
        toScreen() {
            this.$router.replace({
                path: '/doctor/screening/secondForm',
                query: {
                    residentInfoId: this.residentInfoId
                }
            })
        },
        toDetail() {
            this.$router.replace({
                path: '/doctor/patient-detail',
                query: {
                    residentInfoId: this.residentInfoId
                }
            })
        },
        toWorkbench() {
            this.$router.replace({
                path: '/doctor/workbench'
            })
        }
    }
}
</script>

<style lang="less" scoped>

</style>
