fix: 고객센터 시스템 게시판 API 엔드포인트 및 날짜 필터 수정

- shared/actions.ts: /boards/ → /system-boards/ 엔드포인트 변경
- EventList, InquiryList, NoticeList: 날짜 범위 초기값 빈 문자열로 변경 (전체 조회)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-28 02:49:46 +09:00
parent b295f60d1b
commit 3e74999e89
7 changed files with 201 additions and 35 deletions

View File

@@ -17,15 +17,22 @@ public function rules(): array
$stepTypes = implode(',', ApprovalLine::STEP_TYPES);
return [
'form_id' => 'required|integer|exists:approval_forms,id',
// form_id 또는 form_code 중 하나 필수
'form_id' => 'required_without:form_code|integer|exists:approval_forms,id',
'form_code' => 'required_without:form_id|string|exists:approval_forms,code',
'title' => 'required|string|max:200',
'content' => 'required|array',
'attachments' => 'nullable|array',
'attachments.*' => 'integer|exists:files,id',
'submit' => 'nullable|boolean',
'steps' => 'required_if:submit,true|array|min:1',
'steps.*.type' => "required_with:steps|string|in:{$stepTypes}",
'steps.*.user_id' => 'required_with:steps|integer|exists:users,id',
// type 또는 step_type
'steps.*.type' => "nullable|string|in:{$stepTypes}",
'steps.*.step_type' => "nullable|string|in:{$stepTypes}",
// user_id 또는 approver_id
'steps.*.user_id' => 'nullable|integer|exists:users,id',
'steps.*.approver_id' => 'nullable|integer|exists:users,id',
'steps.*.step_order' => 'nullable|integer|min:1',
];
}