test #56
@@ -63,9 +63,6 @@
 | 
				
			|||||||
                  <th class="text-center">
 | 
					                  <th class="text-center">
 | 
				
			||||||
                    내용
 | 
					                    내용
 | 
				
			||||||
                  </th>
 | 
					                  </th>
 | 
				
			||||||
                  <th class="text-center">
 | 
					 | 
				
			||||||
                    큐레이션
 | 
					 | 
				
			||||||
                  </th>
 | 
					 | 
				
			||||||
                  <th class="text-center">
 | 
					                  <th class="text-center">
 | 
				
			||||||
                    크리에이터
 | 
					                    크리에이터
 | 
				
			||||||
                  </th>
 | 
					                  </th>
 | 
				
			||||||
@@ -134,7 +131,6 @@
 | 
				
			|||||||
                      :lines="3"
 | 
					                      :lines="3"
 | 
				
			||||||
                    />
 | 
					                    />
 | 
				
			||||||
                  </td>
 | 
					                  </td>
 | 
				
			||||||
                  <td>{{ item.curationTitle || '없음' }}</td>
 | 
					 | 
				
			||||||
                  <td>{{ item.creatorNickname }}</td>
 | 
					                  <td>{{ item.creatorNickname }}</td>
 | 
				
			||||||
                  <td>{{ item.theme }}</td>
 | 
					                  <td>{{ item.theme }}</td>
 | 
				
			||||||
                  <td style="max-width: 100px !important; word-break:break-all; height: auto;">
 | 
					                  <td style="max-width: 100px !important; word-break:break-all; height: auto;">
 | 
				
			||||||
@@ -307,22 +303,6 @@
 | 
				
			|||||||
              </v-col>
 | 
					              </v-col>
 | 
				
			||||||
            </v-row>
 | 
					            </v-row>
 | 
				
			||||||
          </v-card-text>
 | 
					          </v-card-text>
 | 
				
			||||||
          <v-card-text>
 | 
					 | 
				
			||||||
            <v-row>
 | 
					 | 
				
			||||||
              <v-col cols="4">
 | 
					 | 
				
			||||||
                큐레이션
 | 
					 | 
				
			||||||
              </v-col>
 | 
					 | 
				
			||||||
              <v-col cols="8">
 | 
					 | 
				
			||||||
                <v-select
 | 
					 | 
				
			||||||
                  v-model="audio_content.curation_id"
 | 
					 | 
				
			||||||
                  :items="curations"
 | 
					 | 
				
			||||||
                  item-text="title"
 | 
					 | 
				
			||||||
                  item-value="value"
 | 
					 | 
				
			||||||
                  label="큐레이션 선택"
 | 
					 | 
				
			||||||
                />
 | 
					 | 
				
			||||||
              </v-col>
 | 
					 | 
				
			||||||
            </v-row>
 | 
					 | 
				
			||||||
          </v-card-text>
 | 
					 | 
				
			||||||
          <v-card-text>
 | 
					          <v-card-text>
 | 
				
			||||||
            <v-row>
 | 
					            <v-row>
 | 
				
			||||||
              <v-col cols="4">
 | 
					              <v-col cols="4">
 | 
				
			||||||
@@ -415,7 +395,6 @@ export default {
 | 
				
			|||||||
      search_word: '',
 | 
					      search_word: '',
 | 
				
			||||||
      audio_content: {},
 | 
					      audio_content: {},
 | 
				
			||||||
      audio_contents: [],
 | 
					      audio_contents: [],
 | 
				
			||||||
      curations: [],
 | 
					 | 
				
			||||||
      themeList: [],
 | 
					      themeList: [],
 | 
				
			||||||
      selected_audio_content: {},
 | 
					      selected_audio_content: {},
 | 
				
			||||||
      utm_source: '',
 | 
					      utm_source: '',
 | 
				
			||||||
@@ -426,7 +405,6 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  async created() {
 | 
					  async created() {
 | 
				
			||||||
    await this.getAudioContentThemeList();
 | 
					    await this.getAudioContentThemeList();
 | 
				
			||||||
    await this.getCurations()
 | 
					 | 
				
			||||||
    await this.getAudioContent()
 | 
					    await this.getAudioContent()
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -455,7 +433,6 @@ export default {
 | 
				
			|||||||
      this.audio_content.id = item.audioContentId
 | 
					      this.audio_content.id = item.audioContentId
 | 
				
			||||||
      this.audio_content.title = item.title
 | 
					      this.audio_content.title = item.title
 | 
				
			||||||
      this.audio_content.detail = item.detail
 | 
					      this.audio_content.detail = item.detail
 | 
				
			||||||
      this.audio_content.curation_id = item.curationId
 | 
					 | 
				
			||||||
      this.audio_content.theme_id = item.themeId
 | 
					      this.audio_content.theme_id = item.themeId
 | 
				
			||||||
      this.audio_content.is_adult = item.isAdult
 | 
					      this.audio_content.is_adult = item.isAdult
 | 
				
			||||||
      this.audio_content.is_comment_available = item.isCommentAvailable
 | 
					      this.audio_content.is_comment_available = item.isCommentAvailable
 | 
				
			||||||
@@ -513,10 +490,6 @@ export default {
 | 
				
			|||||||
          request.detail = this.audio_content.detail
 | 
					          request.detail = this.audio_content.detail
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (this.selected_audio_content.curationId !== this.audio_content.curation_id) {
 | 
					 | 
				
			||||||
          request.curationId = this.audio_content.curation_id
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        if (this.selected_audio_content.themeId !== this.audio_content.theme_id) {
 | 
					        if (this.selected_audio_content.themeId !== this.audio_content.theme_id) {
 | 
				
			||||||
          request.themeId = this.audio_content.theme_id
 | 
					          request.themeId = this.audio_content.theme_id
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@@ -598,26 +571,6 @@ export default {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    async getCurations() {
 | 
					 | 
				
			||||||
      this.is_loading = true
 | 
					 | 
				
			||||||
      try {
 | 
					 | 
				
			||||||
        const res = await api.getCurations()
 | 
					 | 
				
			||||||
        if (res.status === 200 && res.data.success === true) {
 | 
					 | 
				
			||||||
          this.curations = res.data.data.map((curation) => {
 | 
					 | 
				
			||||||
            return {title: curation.title, value: curation.id}
 | 
					 | 
				
			||||||
          })
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
          this.curations.unshift({title: '없음', value: 0})
 | 
					 | 
				
			||||||
        } else {
 | 
					 | 
				
			||||||
          this.notifyError(res.data.message || '알 수 없는 오류가 발생했습니다. 다시 시도해 주세요.')
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      } catch (e) {
 | 
					 | 
				
			||||||
        this.notifyError('알 수 없는 오류가 발생했습니다. 다시 시도해 주세요.')
 | 
					 | 
				
			||||||
      } finally {
 | 
					 | 
				
			||||||
        this.is_loading = false
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    async getAudioContent() {
 | 
					    async getAudioContent() {
 | 
				
			||||||
      this.is_loading = true
 | 
					      this.is_loading = true
 | 
				
			||||||
      try {
 | 
					      try {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user