|
|
@@ -164,7 +164,7 @@ export default {
|
|
|
],
|
|
|
schema: {
|
|
|
list: getSchedules,
|
|
|
- condition: { name: '', type: ScheduleType.COMPLEX, status: State.AVAILABLE },
|
|
|
+ condition: { type: ScheduleType.COMPLEX, status: State.AVAILABLE },
|
|
|
filters: [
|
|
|
{ key: 'name', type: 'search', placeholder: '名称' }
|
|
|
],
|
|
|
@@ -203,9 +203,6 @@ export default {
|
|
|
btnMsg () {
|
|
|
return this.active < 1 ? '下一步' : '发布'
|
|
|
},
|
|
|
- resolutionRatio () {
|
|
|
- return this.selectedDevices[0]?.resolutionRatio
|
|
|
- },
|
|
|
selectedId () {
|
|
|
return this.eventOptions?.target?.id
|
|
|
},
|
|
|
@@ -273,7 +270,6 @@ export default {
|
|
|
this.active += 1
|
|
|
})
|
|
|
return false
|
|
|
- // return this.onError('选择的设备分辨率不一致')
|
|
|
}
|
|
|
this.ratio = ratio
|
|
|
this.eventOptions = this.createEventOptions(PublishTargetType.EVENT)
|
|
|
@@ -321,7 +317,7 @@ export default {
|
|
|
publish () {
|
|
|
return this.getPublishTarget().then(
|
|
|
({ publishType, publishTarget, name, resolutionRatio }) => this.$confirm(
|
|
|
- `${resolutionRatio && (!this.radio || resolutionRatio !== this.radio) ? '<p class="u-color--error">上播内容与设备分辨率不一致,可能无法完全适配</p>' : ''}发布后需审核生效,操作完成后请通知相关人员进行审核`,
|
|
|
+ `${resolutionRatio && (!this.ratio || resolutionRatio !== this.ratio) ? '<p class="u-color--error">上播内容与设备分辨率不一致,可能无法完全适配</p>' : ''}发布后需审核生效,操作完成后请通知相关人员进行审核`,
|
|
|
'发布确认',
|
|
|
{
|
|
|
dangerouslyUseHTMLString: true,
|