Files
pipeline/frontend/lib/registry/components/v2-process-work-standard/config.ts
T
kjs 4f6d9a689d feat: Implement process work standard routes and controller
- Added a new controller for managing process work standards, including CRUD operations for work items and routing processes.
- Introduced routes for fetching items with routing, retrieving routings with processes, and managing work items.
- Integrated the new process work standard routes into the main application file for API accessibility.
- Created a migration script for exporting data related to the new process work standard feature.
- Updated frontend components to support the new process work standard functionality, enhancing the overall user experience.
2026-02-24 12:37:33 +09:00

34 lines
1019 B
TypeScript

/**
* 공정 작업기준 기본 설정
*/
import { ProcessWorkStandardConfig } from "./types";
export const defaultConfig: ProcessWorkStandardConfig = {
dataSource: {
itemTable: "item_info",
itemNameColumn: "item_name",
itemCodeColumn: "item_number",
routingVersionTable: "item_routing_version",
routingFkColumn: "item_code",
routingVersionNameColumn: "version_name",
routingDetailTable: "item_routing_detail",
processTable: "process_mng",
processNameColumn: "process_name",
processCodeColumn: "process_code",
},
phases: [
{ key: "PRE", label: "작업 전 (Pre-Work)", sortOrder: 1 },
{ key: "IN", label: "작업 중 (In-Work)", sortOrder: 2 },
{ key: "POST", label: "작업 후 (Post-Work)", sortOrder: 3 },
],
detailTypes: [
{ value: "CHECK", label: "체크" },
{ value: "INSPECTION", label: "검사" },
{ value: "MEASUREMENT", label: "측정" },
],
splitRatio: 30,
leftPanelTitle: "품목 및 공정 선택",
readonly: false,
};