Files
sam-react-prod/src/components/quality/InspectionManagement/inspectionConfig.ts

28 lines
942 B
TypeScript
Raw Normal View History

import { ClipboardCheck } from 'lucide-react';
import type { DetailConfig } from '@/components/templates/IntegratedDetailTemplate/types';
/**
* Config
*
* 참고: config는 /
* InspectionDetail의 renderView/renderForm에서
* ( , , validation )
*/
export const inspectionConfig: DetailConfig = {
title: '검사 상세',
description: '검사 정보를 조회하고 관리합니다',
icon: ClipboardCheck,
basePath: '/quality/inspections',
fields: [], // renderView/renderForm 사용으로 필드 정의 불필요
gridColumns: 2,
actions: {
showBack: true,
showDelete: false, // 검수관리는 삭제 기능 없음
showEdit: true,
backLabel: '목록',
editLabel: '수정',
submitLabel: '수정 완료',
cancelLabel: '취소',
},
};