260810_04_ENH: 컨택 화면 ui 변경 및 개별 발송시 미리보기에 치환 문자열 치환 돼서 보여지도록 수정

This commit is contained in:
2026-08-10 11:57:44 +09:00
parent ef748142f8
commit 9b93d45ed0
7 changed files with 64 additions and 30 deletions

View File

@@ -159,6 +159,11 @@ const ListContactPageContent = () => {
setFormValues((prev) => ({ ...prev, [listHderId]: value }));
};
const handleCancelEdit = () => {
setFormValues(initialFormValues);
setIsEditing(false);
};
const handleToggleEdit = async () => {
if (!isEditing) {
setIsEditing(true);
@@ -205,6 +210,11 @@ const ListContactPageContent = () => {
<CalendarClock className="h-4 w-4" />
예약리스트 조회
</Button>
{isEditing ? (
<Button type="button" variant="outline" disabled={updateListMutation.isPending} onClick={handleCancelEdit}>
취소
</Button>
) : null}
<Button type="button" disabled={updateListMutation.isPending} onClick={handleToggleEdit}>
{isEditing ? '저장' : '수정'}
</Button>

View File

@@ -285,6 +285,7 @@ const ListManagePage = () => {
surveys={surveyArray}
listHeaders={headerManageRows}
enableBatchEdit={canManageList}
selectMode={canManageList ? 'multi' : 'click-event'}
refreshKey={listRefreshKey}
onCurrentFilterChange={setCurrentListFilter}
onFilterSummaryChange={setFilterSummary}