Commit 4e6c5ed3 authored by 张伯涛's avatar 张伯涛

大屏修改

parent a55df700
......@@ -3058,8 +3058,23 @@ export default defineComponent({
id: this.transferList[num].stationId
}
GYTransferVideo(params).then(res => {
if(res.success === true) {
if(res.success === false){
if(num + 1 < this.transferList.length) {
num += 1
this.getVideoAPI(num)
}else {
this.stationName = this.transferList[num].stationName
ElMessage({
message: res.data,
type: 'warning'
})
}
}else {
this.videoLoading = true
this.stationName = this.transferList[num].stationName
}
this.showVideo = true
const list = res.data
this.VideoInfo.playVideoList = []
......@@ -3077,20 +3092,6 @@ export default defineComponent({
this.getDivWidth()
this.queryParams = JSON.stringify(videoList)
}else {
if(num + 1 < this.transferList.length) {
num += 1
this.getVideoAPI(num)
}else {
this.stationName = this.transferList[num].stationName
this.videoLoading = false
ElMessage({
message: res.data,
type: 'warning'
})
}
}
})
},
// 获取港益换热站视频数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment