投后计划
原能力
将董事会事项、关键指标与价值创造计划交给对应责任人跟踪。(细化版 p.14–15)
首选项目
OpenProject(GPL-3.0(社区代码))。 OpenProject
接入说明
首选 OpenProject 记录具名投后任务。指标和触发条件由业务层实现。
匹配范围
投后监测工作台和工作包组织指标及责任任务。
源码
OpenProject · class WorkPackage
app/models/work_package.rb · 30–43 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
class WorkPackage < ApplicationRecord
include WorkPackage::SemanticIdentifier
include WorkPackage::Validations
include WorkPackage::SchedulingRules
include WorkPackage::StatusTransitions
include WorkPackage::AskBeforeDestruction
include WorkPackage::TimeEntriesCleaner
include WorkPackage::Ancestors
include WorkPackage::Automatable
include WorkPackage::Hooks
include WorkPackage::Origin
# Must stay above WorkPackage::Journalized: its after_save persists the
# version rows that the journal snapshot then reads.
include WorkPackage::Versions
- #-- copyright
- # Copyright (C) the OpenProject GmbH
- # OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
- # Copyright (C) 2006-2013 Jean-Philippe Lang
- # Copyright (C) 2010-2013 the ChiliProject Team
- # See COPYRIGHT and LICENSE files for more details.
Portfolio · export async function GET(
app/api/deals/route.ts · 8–21 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
export async function GET(req: NextRequest) {
const supabase = await createClient()
const { data: { user } } = await supabase.auth.getUser()
if (!user) return NextResponse.json({ error: 'Unauthorized' }, { status: 401 })
const admin = createAdminClient()
const { data: membership } = await admin
.from('fund_members')
.select('fund_id')
.eq('user_id', user.id)
.maybeSingle()
if (!membership) return NextResponse.json({ error: 'No fund found' }, { status: 403 })
实现与验收要点
董事会责任、价值创造指标、数据授权和证据。