Compare commits
No commits in common. "c0b6a237827362a3134edb3e9b8a0b4b89502e78" and "a838b3673c4464fb90c27b8ce0eb430d04301f54" have entirely different histories.
c0b6a23782
...
a838b3673c
|
@ -426,22 +426,6 @@
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
<v-card-text v-show="audio_content.price > 0">
|
|
||||||
<v-row align="center">
|
|
||||||
<v-col cols="4">
|
|
||||||
미리듣기 생성
|
|
||||||
</v-col>
|
|
||||||
<v-col
|
|
||||||
cols="8"
|
|
||||||
align="left"
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
v-model="audio_content.is_generate_preview"
|
|
||||||
type="checkbox"
|
|
||||||
>
|
|
||||||
</v-col>
|
|
||||||
</v-row>
|
|
||||||
</v-card-text>
|
|
||||||
<v-card-text v-show="audio_content.price > 0">
|
<v-card-text v-show="audio_content.price > 0">
|
||||||
<v-row align="center">
|
<v-row align="center">
|
||||||
<v-col cols="4">
|
<v-col cols="4">
|
||||||
|
@ -614,7 +598,6 @@ export default {
|
||||||
audio_content: {
|
audio_content: {
|
||||||
price: 0,
|
price: 0,
|
||||||
is_adult: false,
|
is_adult: false,
|
||||||
is_generate_preview: true,
|
|
||||||
is_comment_available: true,
|
is_comment_available: true,
|
||||||
},
|
},
|
||||||
audio_contents: [],
|
audio_contents: [],
|
||||||
|
@ -664,6 +647,8 @@ export default {
|
||||||
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
|
||||||
this.audio_content.cover_image_url = item.coverImageUrl
|
this.audio_content.cover_image_url = item.coverImageUrl
|
||||||
|
console.log(this.audio_content)
|
||||||
|
|
||||||
this.show_modify_dialog = true
|
this.show_modify_dialog = true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -768,7 +753,6 @@ export default {
|
||||||
price: this.audio_content.price,
|
price: this.audio_content.price,
|
||||||
themeId: this.audio_content.theme_id,
|
themeId: this.audio_content.theme_id,
|
||||||
isAdult: this.audio_content.is_adult,
|
isAdult: this.audio_content.is_adult,
|
||||||
isGeneratePreview: this.audio_content.price > 0 ? this.audio_content.is_generate_preview : false,
|
|
||||||
isOnlyRental: this.audio_content.is_only_rental,
|
isOnlyRental: this.audio_content.is_only_rental,
|
||||||
isCommentAvailable: this.audio_content.is_comment_available
|
isCommentAvailable: this.audio_content.is_comment_available
|
||||||
}
|
}
|
||||||
|
@ -833,6 +817,8 @@ export default {
|
||||||
formData.append("contentFile", this.audio_content.content_file)
|
formData.append("contentFile", this.audio_content.content_file)
|
||||||
formData.append("request", JSON.stringify(request))
|
formData.append("request", JSON.stringify(request))
|
||||||
|
|
||||||
|
console.log(request)
|
||||||
|
|
||||||
const res = await api.createAudioContent(formData)
|
const res = await api.createAudioContent(formData)
|
||||||
if (res.status === 200 && res.data.success === true) {
|
if (res.status === 200 && res.data.success === true) {
|
||||||
this.is_loading = false
|
this.is_loading = false
|
||||||
|
|
Loading…
Reference in New Issue