|
|
@@ -154,6 +154,7 @@
|
|
|
:data="tableData"
|
|
|
row-key="id"
|
|
|
ref="table"
|
|
|
+ empty-text="加载中..."
|
|
|
header-row-class-name="table-header-row"
|
|
|
header-cell-class-name="table-header-cell"
|
|
|
row-class-name="table-row"
|
|
|
@@ -631,12 +632,20 @@ export default {
|
|
|
// document.exitPictureInPicture();
|
|
|
// },
|
|
|
playVideo(row) {
|
|
|
- this.showViedo = true;
|
|
|
- this.videoUrl = row.video;
|
|
|
+ if (row.video) {
|
|
|
+ this.showViedo = true;
|
|
|
+ this.videoUrl = row.video;
|
|
|
+ } else {
|
|
|
+ this.$message.success('暂无视频');
|
|
|
+ }
|
|
|
},
|
|
|
playImg(row) {
|
|
|
- this.showImg = true;
|
|
|
- this.annex = row.annex;
|
|
|
+ if (row.annex) {
|
|
|
+ this.showImg = true;
|
|
|
+ this.annex = row.annex;
|
|
|
+ } else {
|
|
|
+ this.$message.success('暂无图片');
|
|
|
+ }
|
|
|
},
|
|
|
audit(row, status) {
|
|
|
this.$set(row, 'loading', true);
|