|
@@ -811,6 +811,14 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
batchVideoSave(){
|
|
batchVideoSave(){
|
|
|
|
+ if (this.addBatchData.select.length===0){
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '请选择视频!!',
|
|
|
|
+ type: 'warning'
|
|
|
|
+ });
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ console.log(this.addBatchData.select)
|
|
this.addBatchData.form.ids = this.addBatchData.select;
|
|
this.addBatchData.form.ids = this.addBatchData.select;
|
|
batchSaveVideo(this.addBatchData.form).then(response => {
|
|
batchSaveVideo(this.addBatchData.form).then(response => {
|
|
this.addBatchData.open = false;
|
|
this.addBatchData.open = false;
|