|
|
@@ -26,8 +26,12 @@
|
|
|
@change="onChange"
|
|
|
/>
|
|
|
<div class="l-flex__none l-flex--col c-step__column u-width--xl">
|
|
|
- <div class="c-sibling-item--v u-font-size--sm u-bold">上播配置</div>
|
|
|
- <div class="c-sibling-item--v u-font-size--sm">优先级</div>
|
|
|
+ <div class="c-sibling-item--v u-font-size--sm u-bold">
|
|
|
+ 上播配置
|
|
|
+ </div>
|
|
|
+ <div class="c-sibling-item--v u-font-size--sm">
|
|
|
+ 优先级
|
|
|
+ </div>
|
|
|
<el-select
|
|
|
v-model="priority"
|
|
|
class="c-sibling-item--v near u-width--sm"
|
|
|
@@ -44,7 +48,9 @@
|
|
|
class="l-flex--row inline u-font-size--sm has-active"
|
|
|
@click="onAddEvent"
|
|
|
>
|
|
|
- <span class="c-sibling-item">播放时段</span>
|
|
|
+ <span class="c-sibling-item">
|
|
|
+ 播放时段
|
|
|
+ </span>
|
|
|
<i class="c-sibling-item near el-icon-circle-plus-outline" />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -89,8 +95,10 @@ import {
|
|
|
EventTarget,
|
|
|
EventTargetInfo,
|
|
|
PublishTargetType,
|
|
|
- EventPriority,
|
|
|
- EventPriorityInfo
|
|
|
+ // EventPriority,
|
|
|
+ // EventPriorityInfo,
|
|
|
+ PlayPriority,
|
|
|
+ PlayPriorityInfo
|
|
|
} from '@/constant'
|
|
|
import {
|
|
|
getConflict,
|
|
|
@@ -109,12 +117,13 @@ export default {
|
|
|
data () {
|
|
|
return {
|
|
|
productType: null,
|
|
|
- priority: EventPriority.INSERTED,
|
|
|
+ priority: PlayPriority.FIRST,
|
|
|
priorityOptions: [
|
|
|
- { value: EventPriority.SCHEDULING, label: EventPriorityInfo[EventPriority.SCHEDULING] },
|
|
|
- { value: EventPriority.INSERTED, label: EventPriorityInfo[EventPriority.INSERTED] },
|
|
|
- { value: EventPriority.EMBEDDED, label: EventPriorityInfo[EventPriority.EMBEDDED] },
|
|
|
- { value: EventPriority.EMERGENT, label: EventPriorityInfo[EventPriority.EMERGENT] }
|
|
|
+ { value: PlayPriority.FIRST, label: PlayPriorityInfo[PlayPriority.FIRST] },
|
|
|
+ { value: PlayPriority.SECOND, label: PlayPriorityInfo[PlayPriority.SECOND] },
|
|
|
+ { value: PlayPriority.THIRD, label: PlayPriorityInfo[PlayPriority.THIRD] },
|
|
|
+ { value: PlayPriority.FOURTH, label: PlayPriorityInfo[PlayPriority.FOURTH] },
|
|
|
+ { value: PlayPriority.FIFTH, label: PlayPriorityInfo[PlayPriority.FIFTH] }
|
|
|
],
|
|
|
timeSchema: {
|
|
|
nonPagination: true,
|
|
|
@@ -263,7 +272,7 @@ export default {
|
|
|
{
|
|
|
programCalendarName: value,
|
|
|
resolutionRatio: resolutionRatio || `自适应${this.productType.name}`,
|
|
|
- remark: EventPriorityInfo[this.priority]
|
|
|
+ remark: PlayPriorityInfo[this.priority]
|
|
|
}
|
|
|
)
|
|
|
)
|