From 0f291383a16bb694ffeee3f83dc832973acf9593 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 13 Jun 2025 15:57:52 +0900 Subject: [PATCH] source edit --- src/views/ContentManagementView.vue | 39 ----------------------------- src/views/StoreManagementView.vue | 37 --------------------------- 2 files changed, 76 deletions(-) diff --git a/src/views/ContentManagementView.vue b/src/views/ContentManagementView.vue index a88994e..26006c9 100644 --- a/src/views/ContentManagementView.vue +++ b/src/views/ContentManagementView.vue @@ -308,21 +308,6 @@ 해시태그는 수정할 수 없습니다. 새로 생성해주세요. - - -
- - - - {{ getStatusText(selectedContent.status) }} - -
@@ -446,12 +431,6 @@ const contentTypeOptions = [ { title: '🎨 포스터', value: 'poster', color: 'orange', emoji: '🎨' } ] -const statusOptions = [ - { title: '발행됨', value: 'published' }, - { title: '임시저장', value: 'draft' }, - { title: '보관됨', value: 'archived' } -] - const sortOptions = [ { title: '최신순', value: 'latest' }, { title: '오래된순', value: 'oldest' }, @@ -492,15 +471,6 @@ const filteredContents = computed(() => { content.hashtags?.some(tag => tag.toLowerCase().includes(query)) ) } - - // 상태 필터 - if (filters.value.published || filters.value.draft) { - contents = contents.filter(content => { - if (filters.value.published && content.status === 'published') return true - if (filters.value.draft && content.status === 'draft') return true - return false - }) - } // 정렬 (프로모션 기간 정렬이 활성화되어 있지 않을 때만) if (promotionSortOrder.value === 'none') { @@ -727,15 +697,6 @@ const getStatusColor = (status) => { return colors[status] || 'grey' } -const getStatusText = (status) => { - const texts = { - 'published': '발행됨', - 'draft': '임시저장', - 'archived': '보관됨' - } - return texts[status] || status -} - const formatDateRange = (startDate, endDate) => { if (!startDate && !endDate) return '-' diff --git a/src/views/StoreManagementView.vue b/src/views/StoreManagementView.vue index a7a1bf1..33905af 100644 --- a/src/views/StoreManagementView.vue +++ b/src/views/StoreManagementView.vue @@ -210,34 +210,6 @@ - - - - -
{{ menus.length }}
-
전체 메뉴
-
-
- - -
{{ availableMenusCount }}
-
판매중
-
-
- - -
{{ recommendedMenusCount }}
-
추천메뉴
-
-
- - -
{{ averagePrice }}
-
평균가격
-
-
-
- @@ -278,15 +250,6 @@ hide-details /> - - -