From f4ae6888acd7588e76c1a8e9bcb4a76328d28e01 Mon Sep 17 00:00:00 2001
From: Yu Sung <hwchon1234@gmail.com>
Date: Wed, 29 May 2024 15:45:11 +0900
Subject: [PATCH 1/4] =?UTF-8?q?=EC=BD=98=ED=85=90=EC=B8=A0=20=EA=B0=80?=
 =?UTF-8?q?=EA=B2=A9=20=EC=88=98=EC=A0=95=EA=B8=B0=EB=8A=A5=20=EC=B6=94?=
 =?UTF-8?q?=EA=B0=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/views/Content/ContentList.vue | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/src/views/Content/ContentList.vue b/src/views/Content/ContentList.vue
index 1b990f0..140dd15 100644
--- a/src/views/Content/ContentList.vue
+++ b/src/views/Content/ContentList.vue
@@ -227,6 +227,20 @@
               </v-col>
             </v-row>
           </v-card-text>
+          <v-card-text>
+            <v-row align="center">
+              <v-col cols="4">
+                가격
+              </v-col>
+              <v-col cols="8">
+                <v-text-field
+                  v-model="audio_content.price"
+                  label="가격"
+                  required
+                />
+              </v-col>
+            </v-row>
+          </v-card-text>
           <v-card-text>
             <v-row>
               <v-col cols="4">
@@ -699,6 +713,7 @@ export default {
       this.audio_content.id = item.audioContentId
       this.audio_content.title = item.title
       this.audio_content.detail = item.detail
+      this.audio_content.price = item.price
       this.audio_content.is_adult = item.isAdult
       this.audio_content.is_comment_available = item.isCommentAvailable
       this.audio_content.cover_image_url = item.coverImageUrl
@@ -963,6 +978,10 @@ export default {
           request.isCommentAvailable = this.audio_content.is_comment_available
         }
 
+        if (this.audio_content.price !== this.selected_audio_content.price) {
+          request.price = this.audio_content.price
+        }
+
         if (this.audio_content.cover_image !== null) {
           formData.append("coverImage", this.audio_content.cover_image)
         }
-- 
2.40.1


From 91f803f7a87be90b87573fe1bcfba04a0c3fd65a Mon Sep 17 00:00:00 2001
From: Yu Sung <hwchon1234@gmail.com>
Date: Wed, 29 May 2024 17:07:20 +0900
Subject: [PATCH 2/4] =?UTF-8?q?=EC=BD=98=ED=85=90=EC=B8=A0=20=EB=93=B1?=
 =?UTF-8?q?=EB=A1=9D=20-=20=EB=AF=B8=EB=A6=AC=EB=B3=B4=EA=B8=B0=20?=
 =?UTF-8?q?=EC=83=9D=EC=84=B1=20=EA=B8=B0=EB=B3=B8=EA=B0=92=20false?=
 =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/views/Content/ContentList.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/views/Content/ContentList.vue b/src/views/Content/ContentList.vue
index 140dd15..4abdc62 100644
--- a/src/views/Content/ContentList.vue
+++ b/src/views/Content/ContentList.vue
@@ -666,7 +666,7 @@ export default {
       audio_content: {
         price: 0,
         is_adult: false,
-        is_generate_preview: true,
+        is_generate_preview: false,
         is_comment_available: true,
       },
       audio_contents: [],
-- 
2.40.1


From d2ab7c12f129117835103e5e760e7ec1775e6c9b Mon Sep 17 00:00:00 2001
From: Yu Sung <hwchon1234@gmail.com>
Date: Thu, 30 May 2024 01:34:16 +0900
Subject: [PATCH 3/4] =?UTF-8?q?=EC=8B=9C=EA=B7=B8=EB=8B=88=EC=B2=98=20?=
 =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EC=A0=95=EB=A0=AC=20=EC=B6=94?=
 =?UTF-8?q?=EA=B0=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/api/signature.js                        |  4 +-
 src/views/Signature/SignatureManagement.vue | 79 +++++++++++++++++++--
 2 files changed, 77 insertions(+), 6 deletions(-)

diff --git a/src/api/signature.js b/src/api/signature.js
index 10a61da..a6034f9 100644
--- a/src/api/signature.js
+++ b/src/api/signature.js
@@ -1,7 +1,7 @@
 import Vue from 'vue'
 
-async function getSignatureList(page) {
-    return Vue.axios.get('/creator-admin/signature?page=' + (page - 1) + "&size=20");
+async function getSignatureList(page, sort) {
+    return Vue.axios.get('/creator-admin/signature?page=' + (page - 1) + "&size=20" + "&sort-type=" + sort);
 }
 
 async function createSignature(formData) {
diff --git a/src/views/Signature/SignatureManagement.vue b/src/views/Signature/SignatureManagement.vue
index 2fe9ca7..94b9888 100644
--- a/src/views/Signature/SignatureManagement.vue
+++ b/src/views/Signature/SignatureManagement.vue
@@ -7,7 +7,59 @@
     </v-toolbar>
     <v-container>
       <v-row>
-        <v-col cols="10" />
+        <v-col>
+          <v-row>
+            <v-col>
+              <input
+                id="sort-newest"
+                v-model="sort_type"
+                type="radio"
+                value="NEWEST"
+                class="radio-sort"
+                @change="changeSortType"
+              >
+              <label
+                for="sort-newest"
+                class="radio-label-sort"
+              >
+                최신순
+              </label>
+            </v-col>
+            <v-col>
+              <input
+                id="sort-can-high"
+                v-model="sort_type"
+                type="radio"
+                value="CAN_HIGH"
+                class="radio-sort"
+                @change="changeSortType"
+              >
+              <label
+                for="sort-can-high"
+                class="radio-label-sort"
+              >
+                높은캔순
+              </label>
+            </v-col>
+            <v-col>
+              <input
+                id="sort-can-low"
+                v-model="sort_type"
+                type="radio"
+                value="CAN_LOW"
+                class="radio-sort"
+                @change="changeSortType"
+              >
+              <label
+                for="sort-can-low"
+                class="radio-label-sort"
+              >
+                낮은캔순
+              </label>
+            </v-col>
+          </v-row>
+        </v-col>
+        <v-col cols="8" />
         <v-col>
           <v-btn
             block
@@ -346,6 +398,7 @@ export default {
       image_url: null,
       is_active: null,
       selected_signature_can: {},
+      sort_type: 'NEWEST',
 
       headers: [
         {
@@ -449,11 +502,15 @@ export default {
       this.show_modify_dialog = true
     },
 
+    async changeSortType() {
+      await this.getSignatureList();
+    },
+
     async getSignatureList() {
-      this.isLoading = true
+      this.is_loading = true
 
       try {
-        let res = await api.getSignatureList(this.page);
+        let res = await api.getSignatureList(this.page, this.sort_type);
 
         if (res.status === 200 && res.data.success === true) {
           const data = res.data.data
@@ -469,7 +526,7 @@ export default {
       } catch (e) {
         this.notifyError("알 수 없는 오류가 발생했습니다. 다시 시도해 주세요.")
       } finally {
-        this.isLoading = false
+        this.is_loading = false
       }
     },
 
@@ -639,4 +696,18 @@ export default {
   display: block;
   margin: 0 auto;
 }
+
+.radio-sort {
+  display: none;
+}
+
+.radio-label-sort {
+  font-weight: normal;
+  color: black;
+}
+
+.radio-sort:checked + .radio-label-sort {
+  font-weight: bold;
+  color: #3bb9f1;
+}
 </style>
-- 
2.40.1


From 387c1c2abdb4f9d0e0888a7b3d8d060a016bdb3a Mon Sep 17 00:00:00 2001
From: Yu Sung <hwchon1234@gmail.com>
Date: Thu, 30 May 2024 01:53:42 +0900
Subject: [PATCH 4/4] =?UTF-8?q?=EC=8B=9C=EA=B7=B8=EB=8B=88=EC=B2=98=20?=
 =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EC=A0=95=EB=A0=AC=20=EB=B2=84?=
 =?UTF-8?q?=ED=8A=BC=20-=20=EC=83=81=EB=8B=A8=20margin=2040px=20=EC=B6=94?=
 =?UTF-8?q?=EA=B0=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/views/Signature/SignatureManagement.vue | 109 ++++++++++----------
 1 file changed, 56 insertions(+), 53 deletions(-)

diff --git a/src/views/Signature/SignatureManagement.vue b/src/views/Signature/SignatureManagement.vue
index 94b9888..01a22e8 100644
--- a/src/views/Signature/SignatureManagement.vue
+++ b/src/views/Signature/SignatureManagement.vue
@@ -7,59 +7,7 @@
     </v-toolbar>
     <v-container>
       <v-row>
-        <v-col>
-          <v-row>
-            <v-col>
-              <input
-                id="sort-newest"
-                v-model="sort_type"
-                type="radio"
-                value="NEWEST"
-                class="radio-sort"
-                @change="changeSortType"
-              >
-              <label
-                for="sort-newest"
-                class="radio-label-sort"
-              >
-                최신순
-              </label>
-            </v-col>
-            <v-col>
-              <input
-                id="sort-can-high"
-                v-model="sort_type"
-                type="radio"
-                value="CAN_HIGH"
-                class="radio-sort"
-                @change="changeSortType"
-              >
-              <label
-                for="sort-can-high"
-                class="radio-label-sort"
-              >
-                높은캔순
-              </label>
-            </v-col>
-            <v-col>
-              <input
-                id="sort-can-low"
-                v-model="sort_type"
-                type="radio"
-                value="CAN_LOW"
-                class="radio-sort"
-                @change="changeSortType"
-              >
-              <label
-                for="sort-can-low"
-                class="radio-label-sort"
-              >
-                낮은캔순
-              </label>
-            </v-col>
-          </v-row>
-        </v-col>
-        <v-col cols="8" />
+        <v-col cols="10" />
         <v-col>
           <v-btn
             block
@@ -72,6 +20,57 @@
           </v-btn>
         </v-col>
       </v-row>
+      <v-row class="row-sort">
+        <v-col>
+          <input
+            id="sort-newest"
+            v-model="sort_type"
+            type="radio"
+            value="NEWEST"
+            class="radio-sort"
+            @change="changeSortType"
+          >
+          <label
+            for="sort-newest"
+            class="radio-label-sort"
+          >
+            최신순
+          </label>
+        </v-col>
+        <v-col>
+          <input
+            id="sort-can-high"
+            v-model="sort_type"
+            type="radio"
+            value="CAN_HIGH"
+            class="radio-sort"
+            @change="changeSortType"
+          >
+          <label
+            for="sort-can-high"
+            class="radio-label-sort"
+          >
+            높은캔순
+          </label>
+        </v-col>
+        <v-col>
+          <input
+            id="sort-can-low"
+            v-model="sort_type"
+            type="radio"
+            value="CAN_LOW"
+            class="radio-sort"
+            @change="changeSortType"
+          >
+          <label
+            for="sort-can-low"
+            class="radio-label-sort"
+          >
+            낮은캔순
+          </label>
+        </v-col>
+        <v-col cols="10" />
+      </v-row>
       <v-row>
         <v-col>
           <v-data-table
@@ -697,6 +696,10 @@ export default {
   margin: 0 auto;
 }
 
+.row-sort {
+  margin-top: 40px;
+}
+
 .radio-sort {
   display: none;
 }
-- 
2.40.1