feat: 统一页面布局与字体样式

This commit is contained in:
selfrelease
2026-07-24 17:30:36 +08:00
parent 4ae24990a7
commit a28b065ab8
25 changed files with 2032 additions and 259 deletions
@@ -0,0 +1,31 @@
/*
Warnings:
- Added the required column `updatedAt` to the `TerminationRecord` table without a default value. This is not possible if the table is not empty.
*/
-- AlterEnum
-- This migration adds more than one value to an enum.
-- With PostgreSQL versions 11 and earlier, this is not possible
-- in a single migration. This can be worked around by creating
-- multiple migrations, each migration adding only one value to
-- the enum.
ALTER TYPE "ContractType" ADD VALUE 'LABOR';
ALTER TYPE "ContractType" ADD VALUE 'INTERNSHIP';
-- AlterTable
ALTER TABLE "TerminationRecord" ADD COLUMN "approvalComment" TEXT,
ADD COLUMN "approvedAt" TIMESTAMP(3),
ADD COLUMN "approvedBy" TEXT,
ADD COLUMN "checklistOverrides" JSONB,
ADD COLUMN "compensationBreakdown" JSONB,
ADD COLUMN "currentStep" INTEGER NOT NULL DEFAULT 0,
ADD COLUMN "handoverItems" JSONB,
ADD COLUMN "status" TEXT NOT NULL DEFAULT 'DRAFT',
ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL,
ADD COLUMN "updatedBy" TEXT;
-- CreateIndex
CREATE INDEX "TerminationRecord_orgId_status_idx" ON "TerminationRecord"("orgId", "status");