This commit is contained in:
yanran200730
2022-04-22 14:13:01 +08:00
parent cce3c47466
commit 03d990f8b5
4 changed files with 20 additions and 13 deletions

View File

@@ -54,7 +54,7 @@
</div>
<div class="playback">
<div class="synergr-more" @click="isShowTimeline = !isShowTimeline" :class="[isShowTimeline ? 'active' : '']">
<img title="展开" src="https://cdn.cunwuyun.cn/slw2.0/images/arrow.png" />
<img :title="isShowTimeline ? '收起' : '展开'" src="https://cdn.cunwuyun.cn/slw2.0/images/arrow.png" />
</div>
<div class="playback-list" v-if="isShowTimeline">
<el-checkbox-group v-model="checked" @change="onCheckChange">
@@ -90,7 +90,7 @@
import PlaybackTime from './PlaybackTime'
export default {
props: ['ids', 'instance'],
props: ['ids', 'instance', 'isLoading'],
name: 'Synergy',
@@ -111,7 +111,7 @@
date: ''
},
times: [],
isShowTimeline: false,
isShowTimeline: true,
checkList: [],
isInit: false,
left: 0,
@@ -318,7 +318,7 @@
},
getSlwPlaybackTime () {
this.isLoading = true
this.$emit('update:isLoading', true)
this.instance.post(`/app/appzyvideoequipment/getSlwPlaybackTime`, null, {
params: {
ids: this.ids,
@@ -346,10 +346,10 @@
})
}
this.isLoading = false
this.$emit('update:isLoading', false)
}
}).catch(() => {
this.isLoading = false
this.$emit('update:isLoading', false)
})
},