优化
This commit is contained in:
@@ -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)
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user