콘텐츠 등록/수정 - 포인트 사용 가능 여부 추가
This commit is contained in:
		| @@ -14,7 +14,7 @@ | ||||
|         <v-col> | ||||
|           <v-btn | ||||
|             block | ||||
|             color="#9970ff" | ||||
|             color="#3bb9f1" | ||||
|             dark | ||||
|             depressed | ||||
|             @click="showWriteDialog" | ||||
| @@ -273,6 +273,22 @@ | ||||
|               </v-col> | ||||
|             </v-row> | ||||
|           </v-card-text> | ||||
|           <v-card-text> | ||||
|             <v-row> | ||||
|               <v-col cols="4"> | ||||
|                 포인트 사용 가능 | ||||
|               </v-col> | ||||
|               <v-col | ||||
|                 cols="8" | ||||
|                 align="left" | ||||
|               > | ||||
|                 <input | ||||
|                   v-model="audio_content.is_point_available" | ||||
|                   type="checkbox" | ||||
|                 > | ||||
|               </v-col> | ||||
|             </v-row> | ||||
|           </v-card-text> | ||||
|           <v-card-actions v-show="!is_loading"> | ||||
|             <v-spacer /> | ||||
|             <v-btn | ||||
| @@ -615,6 +631,22 @@ | ||||
|               </v-col> | ||||
|             </v-row> | ||||
|           </v-card-text> | ||||
|           <v-card-text> | ||||
|             <v-row> | ||||
|               <v-col cols="4"> | ||||
|                 포인트 사용 가능 | ||||
|               </v-col> | ||||
|               <v-col | ||||
|                 cols="8" | ||||
|                 align="left" | ||||
|               > | ||||
|                 <input | ||||
|                   v-model="audio_content.is_point_available" | ||||
|                   type="checkbox" | ||||
|                 > | ||||
|               </v-col> | ||||
|             </v-row> | ||||
|           </v-card-text> | ||||
|           <v-card-actions v-show="!is_loading"> | ||||
|             <v-spacer /> | ||||
|             <v-btn | ||||
| @@ -700,6 +732,7 @@ export default { | ||||
|       audio_content: { | ||||
|         price: 0, | ||||
|         is_adult: false, | ||||
|         is_point_available: false, | ||||
|         is_generate_preview: false, | ||||
|         is_comment_available: true, | ||||
|         is_full_detail_visible: true, | ||||
| @@ -748,6 +781,7 @@ export default { | ||||
|       this.audio_content.detail = item.detail | ||||
|       this.audio_content.price = item.price | ||||
|       this.audio_content.is_adult = item.isAdult | ||||
|       this.audio_content.is_point_available = item.isPointAvailable | ||||
|       this.audio_content.is_comment_available = item.isCommentAvailable | ||||
|       this.audio_content.cover_image_url = item.coverImageUrl | ||||
|       this.show_modify_dialog = true | ||||
| @@ -758,6 +792,7 @@ export default { | ||||
|       this.audio_content = { | ||||
|         price: 0, | ||||
|         is_adult: false, | ||||
|         is_point_available: false, | ||||
|         is_comment_available: true, | ||||
|         is_full_detail_visible: true, | ||||
|         purchase_option: 'BOTH', | ||||
| @@ -869,6 +904,7 @@ export default { | ||||
|           isAdult: this.audio_content.is_adult, | ||||
|           isGeneratePreview: this.audio_content.price > 0 ? this.audio_content.is_generate_preview : false, | ||||
|           purchaseOption: this.audio_content.purchase_option, | ||||
|           isPointAvailable: this.audio_content.is_point_available, | ||||
|           isCommentAvailable: this.audio_content.is_comment_available, | ||||
|           isFullDetailVisible: this.audio_content.is_full_detail_visible | ||||
|         } | ||||
| @@ -1010,6 +1046,10 @@ export default { | ||||
|           request.isAdult = this.audio_content.is_adult | ||||
|         } | ||||
|  | ||||
|         if (this.selected_audio_content.isPointAvailable !== this.audio_content.is_point_available) { | ||||
|           request.isPointAvailable = this.audio_content.is_point_available | ||||
|         } | ||||
|  | ||||
|         if (this.selected_audio_content.isCommentAvailable !== this.audio_content.is_comment_available) { | ||||
|           request.isCommentAvailable = this.audio_content.is_comment_available | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung