공차 등록, 연속추적 기능

This commit is contained in:
leeheejin
2025-12-01 17:04:59 +09:00
parent fbeb3ec2c9
commit 7242f08224
2 changed files with 44 additions and 32 deletions

View File

@@ -503,8 +503,8 @@ export const ButtonConfigPanel: React.FC<ButtonConfigPanelProps> = ({
<SelectItem value="excel_upload"> </SelectItem>
<SelectItem value="barcode_scan"> </SelectItem>
<SelectItem value="code_merge"> </SelectItem>
<SelectItem value="geolocation"> </SelectItem>
<SelectItem value="update_field"> </SelectItem>
<SelectItem value="empty_vehicle"></SelectItem>
<SelectItem value="operation_control"> </SelectItem>
</SelectContent>
</Select>
</div>
@@ -1665,9 +1665,9 @@ export const ButtonConfigPanel: React.FC<ButtonConfigPanelProps> = ({
)}
{/* 위치정보 가져오기 설정 */}
{(component.componentConfig?.action?.type || "save") === "geolocation" && (
{(component.componentConfig?.action?.type || "save") === "empty_vehicle" && (
<div className="mt-4 space-y-4 rounded-lg border bg-muted/50 p-4">
<h4 className="text-sm font-medium text-foreground">📍 </h4>
<h4 className="text-sm font-medium text-foreground">🚛 </h4>
{/* 테이블 선택 */}
<div>
@@ -1849,10 +1849,10 @@ export const ButtonConfigPanel: React.FC<ButtonConfigPanelProps> = ({
</div>
)}
{/* 필드 값 변경 설정 */}
{(component.componentConfig?.action?.type || "save") === "update_field" && (
{/* 운행알림 및 종료 설정 */}
{(component.componentConfig?.action?.type || "save") === "operation_control" && (
<div className="mt-4 space-y-4 rounded-lg border bg-muted/50 p-4">
<h4 className="text-sm font-medium text-foreground">📝 </h4>
<h4 className="text-sm font-medium text-foreground">🚗 </h4>
<div>
<Label htmlFor="update-table">