|
|
|
|
@ -347,15 +347,14 @@
|
|
|
|
|
},
|
|
|
|
|
pichandleRemove(file, fileList) {
|
|
|
|
|
//console.log(file, fileList);
|
|
|
|
|
this.picfileList = fileList;
|
|
|
|
|
},
|
|
|
|
|
pichandleBeforeRemove(file, fileList) {},
|
|
|
|
|
pichandlePreview(file) {
|
|
|
|
|
console.log(file);
|
|
|
|
|
},
|
|
|
|
|
pichandleSuccess(response, file, fileList) {
|
|
|
|
|
this.picfileList.push(response.url)
|
|
|
|
|
},
|
|
|
|
|
pichandleBeforeRemove(file) {
|
|
|
|
|
this.picfileList.splice(this.picfileList.indexOf(file.response.id), 1)
|
|
|
|
|
this.picfileList = fileList;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
addListCombo() {
|
|
|
|
|
@ -464,11 +463,13 @@
|
|
|
|
|
coverPicture: res?.cover_picture,
|
|
|
|
|
timeLimit: res?.time_limit?.split(','),
|
|
|
|
|
content: res?.content,
|
|
|
|
|
video: res?.video,
|
|
|
|
|
set_list: [],
|
|
|
|
|
picture_list: []
|
|
|
|
|
video: res?.video,
|
|
|
|
|
set_list: [],
|
|
|
|
|
picture_list: []
|
|
|
|
|
}
|
|
|
|
|
this.$refs['tinymce'].setContent(this.form.content)
|
|
|
|
|
this.$refs['tinymce'].setContent(this.form.content);
|
|
|
|
|
this.picfileList = this.getPic();
|
|
|
|
|
this.set_list = this.getCombo();
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
loadMoreClub() {
|
|
|
|
|
@ -506,7 +507,11 @@
|
|
|
|
|
|
|
|
|
|
let list = [];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.picfileList.map(item => {
|
|
|
|
|
list.push({
|
|
|
|
|
picture: item.response.url,type:0
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
let _form = {
|
|
|
|
|
name: this.form.name,
|
|
|
|
|
@ -556,8 +561,6 @@
|
|
|
|
|
isShow(newVal) {
|
|
|
|
|
if (newVal) {
|
|
|
|
|
this.getClubs()
|
|
|
|
|
this.getEquips()
|
|
|
|
|
this.getRoomTypes()
|
|
|
|
|
|
|
|
|
|
if (this.type === 'editor') {
|
|
|
|
|
this.getDetail()
|
|
|
|
|
|