|
@@ -91,8 +91,7 @@ export default {
|
|
|
},
|
|
|
// 获取正在转码的视频
|
|
|
getMyVideoProcessingList() {
|
|
|
- this.loading = true;
|
|
|
- // this.isRequest();
|
|
|
+ this.isRequest();
|
|
|
GetMyVideoListByTranscoding({ pageIndex: 1, pageSize: 1000, name: "" })
|
|
|
.then(({ data }) => {
|
|
|
if (data.isSuccess) {
|
|
@@ -102,24 +101,23 @@ export default {
|
|
|
this.$toast(data.ResultMsg);
|
|
|
}
|
|
|
Toast.clear();
|
|
|
- this.loading = false;
|
|
|
})
|
|
|
.catch(error => {
|
|
|
- this.loading = false;
|
|
|
Toast.clear();
|
|
|
})
|
|
|
+ Toast.clear()
|
|
|
},
|
|
|
|
|
|
// 获取已发布的视频列表
|
|
|
getMyVideoList() {
|
|
|
- this.loading = true;
|
|
|
- // this.isRequest();
|
|
|
+ // this.loading = true;
|
|
|
+ this.isRequest();
|
|
|
getDoctorProduction(this.videoParams)
|
|
|
.then(({ data }) => {
|
|
|
- // return;
|
|
|
- this.loading = false;
|
|
|
+ // this.loading = false;
|
|
|
+ console.log('toast: ',Toast)
|
|
|
+ Toast.clear();
|
|
|
if (data.isSuccess) {
|
|
|
- Toast.clear();
|
|
|
this.videoListTotal = data.pager.totalItemCount;
|
|
|
if (data.resultObject.length === 0 && this.videoParams.pageIndex === 1) {
|
|
|
this.isShow = true;
|
|
@@ -139,8 +137,8 @@ export default {
|
|
|
})
|
|
|
.catch(err => {
|
|
|
Toast.clear()
|
|
|
- this.loading = false;
|
|
|
})
|
|
|
+ Toast.clear()
|
|
|
},
|
|
|
|
|
|
// 跳转视频播放页面
|