<template>
    <div class="app-container">
        <div class="page-header">
            <h2>档案数据管理</h2>
            <p>项目ID: {{ projectId }}</p>
        </div>
        <div class="content">
            <p>这里将显示档案数据管理的内容...</p>
            <p>当前项目ID: {{ projectId }}</p>
        </div>
    </div>
</template>

<script>
export default {
    name: 'FileData',
    data() {
        return {
            projectId: null
        }
    },
    created() {
        // 获取传递的项目ID
        this.projectId = this.$route.query.id
        console.log('接收到的项目ID:', this.projectId)
    }
}
</script>

<style scoped>
.page-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6e6e6;
}

.page-header h2 {
    margin: 0 0 10px 0;
    color: #303133;
}

.page-header p {
    margin: 0;
    color: #606266;
    font-size: 14px;
}

.content {
    padding: 20px 0;
}
</style>