'待执行', 'ongoing' => '进行中', 'completed' => '已完成', 'cancelled' => '已取消', ]; // 计划节点不会有"进行中",执行节点默认就是已完成 $statusOptions = $category === 'plan' ? ['planned', 'completed', 'cancelled'] : ['completed', 'ongoing', 'planned', 'cancelled']; $dtLocal = static function ($value): string { if (empty($value)) return ''; $ts = strtotime((string)$value); return $ts ? date('Y-m-d\TH:i', $ts) : ''; }; $sLoc = json_decode_field($n['start_location'] ?? null); $eLoc = json_decode_field($n['end_location'] ?? null); ?>
活动: = e($activity['title']) ?> · 由计划节点生成