|
@@ -24,6 +24,12 @@
|
|
|
>
|
|
>
|
|
|
广告属性
|
|
广告属性
|
|
|
</button>
|
|
</button>
|
|
|
|
|
+ <button
|
|
|
|
|
+ class="o-button"
|
|
|
|
|
+ @click="onPowerTimeSync"
|
|
|
|
|
+ >
|
|
|
|
|
+ 电源开启时长
|
|
|
|
|
+ </button>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<div class="c-sibling-item--v u-font-size--sm u-bold">播控器配置</div>
|
|
<div class="c-sibling-item--v u-font-size--sm u-bold">播控器配置</div>
|
|
@@ -53,6 +59,7 @@
|
|
|
<attribute-config-dialog ref="attributeConfigDialog" />
|
|
<attribute-config-dialog ref="attributeConfigDialog" />
|
|
|
<content-protection-config-dialog ref="contentProtectionConfigDialog" />
|
|
<content-protection-config-dialog ref="contentProtectionConfigDialog" />
|
|
|
<ad-config-dialog ref="adConfigDialog" />
|
|
<ad-config-dialog ref="adConfigDialog" />
|
|
|
|
|
+ <power-time-sync-dialog ref="powerTimeSyncDialog" />
|
|
|
<record-config-dialog ref="recordConfigDialog" />
|
|
<record-config-dialog ref="recordConfigDialog" />
|
|
|
<spacer-config-dialog ref="spacerConfigDialog" />
|
|
<spacer-config-dialog ref="spacerConfigDialog" />
|
|
|
<dataset-config-dialog ref="datasetConfigDialog" />
|
|
<dataset-config-dialog ref="datasetConfigDialog" />
|
|
@@ -65,6 +72,7 @@ import AttributeConfigDialog from './components/AttributeConfigDialog.vue'
|
|
|
import ContentProtectionConfigDialog from './components/ContentProtectionConfigDialog.vue'
|
|
import ContentProtectionConfigDialog from './components/ContentProtectionConfigDialog.vue'
|
|
|
import AdConfigDialog from './components/AdConfigDialog.vue'
|
|
import AdConfigDialog from './components/AdConfigDialog.vue'
|
|
|
import RecordConfigDialog from './components/RecordConfigDialog.vue'
|
|
import RecordConfigDialog from './components/RecordConfigDialog.vue'
|
|
|
|
|
+import PowerTimeSyncDialog from './components/PowerTimeSyncDialog.vue'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'DeviceNormalConfig',
|
|
name: 'DeviceNormalConfig',
|
|
@@ -72,7 +80,8 @@ export default {
|
|
|
AttributeConfigDialog,
|
|
AttributeConfigDialog,
|
|
|
ContentProtectionConfigDialog,
|
|
ContentProtectionConfigDialog,
|
|
|
AdConfigDialog,
|
|
AdConfigDialog,
|
|
|
- RecordConfigDialog
|
|
|
|
|
|
|
+ RecordConfigDialog,
|
|
|
|
|
+ PowerTimeSyncDialog
|
|
|
},
|
|
},
|
|
|
props: {
|
|
props: {
|
|
|
device: {
|
|
device: {
|
|
@@ -84,15 +93,18 @@ export default {
|
|
|
...mapGetters(['isSuperAdmin'])
|
|
...mapGetters(['isSuperAdmin'])
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- onAttributeConfig () {
|
|
|
|
|
- this.$refs.attributeConfigDialog.show(this.device)
|
|
|
|
|
- },
|
|
|
|
|
onContentProtectionConfig () {
|
|
onContentProtectionConfig () {
|
|
|
this.$refs.contentProtectionConfigDialog.show(this.device)
|
|
this.$refs.contentProtectionConfigDialog.show(this.device)
|
|
|
},
|
|
},
|
|
|
|
|
+ onAttributeConfig () {
|
|
|
|
|
+ this.$refs.attributeConfigDialog.show(this.device)
|
|
|
|
|
+ },
|
|
|
onAdConfig () {
|
|
onAdConfig () {
|
|
|
this.$refs.adConfigDialog.show(this.device)
|
|
this.$refs.adConfigDialog.show(this.device)
|
|
|
},
|
|
},
|
|
|
|
|
+ onPowerTimeSync () {
|
|
|
|
|
+ this.$refs.powerTimeSyncDialog.show(this.device)
|
|
|
|
|
+ },
|
|
|
onRecordConfig () {
|
|
onRecordConfig () {
|
|
|
this.$refs.recordConfigDialog.show(this.device)
|
|
this.$refs.recordConfigDialog.show(this.device)
|
|
|
},
|
|
},
|