<template>
    <div class="flex flex-col" style="height: 100vh">
        <div class="p-3 text-black text-center shrink-0 doc-nav-bar">
            <span @click="onBack" class="text-12 back-bt">
                <doc-icon type="doc-left2" />
            </span>
            <span>专病筛查详情</span>
        </div>
    </div>
</template>

<script>
import { secondScreenDetail } from '@/api/residentWX/screening.js'
import { useStore } from '@/residentWX/store'

export default {
    data() {
        return {
            info: {},
            store: useStore(),
            activeCollapse: [],
            collapseList: []
        }
    },
    computed: {
        id() {
            return this.$route.params.id
        },
        userInfo() {
            return this.store.userInfo
        },
    },
    created() {
        this.init()
    },
    methods: {
        init() {
            secondScreenDetail({ id: this.id }).then(res => {
                this.info = res.data || {}
                console.log(this.info)
            })
        },
        onBack() {
            this.$router.back()
        }
    }
}
</script>

<style lang="less" scoped>
@import url('../../utils/common.less');

.list {
    .label {
        min-width: 5em;
    }
}
</style>
