From f460b76ff718ef691d5bde9afdf90f4a70932a32 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Wed, 16 Oct 2024 12:34:04 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BD=98=ED=85=90=EC=B8=A0=20=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20-=20=EC=98=A4=ED=94=88=20/=20=EC=98=A4?= =?UTF-8?q?=ED=94=88=20=EC=98=88=EC=A0=95=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/audio_content.js | 4 ++-- src/views/Content/ContentList.vue | 39 ++++++++++++++++--------------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/src/api/audio_content.js b/src/api/audio_content.js index 4fe8945..ba651e3 100644 --- a/src/api/audio_content.js +++ b/src/api/audio_content.js @@ -1,8 +1,8 @@ import Vue from 'vue'; -async function getAudioContentList(page) { +async function getAudioContentList(status, page) { return Vue.axios.get( - "/admin/audio-content/list?page=" + (page - 1) + + "/admin/audio-content/list?status=" + status + "&page=" + (page - 1) + "&size=10" ) } diff --git a/src/views/Content/ContentList.vue b/src/views/Content/ContentList.vue index 2ece5f6..e644c9d 100644 --- a/src/views/Content/ContentList.vue +++ b/src/views/Content/ContentList.vue @@ -10,26 +10,25 @@ - - + + + + + + + - - - - - - -