|
@@ -490,6 +490,8 @@ export default {
|
|
console.log('点击文件', file);
|
|
console.log('点击文件', file);
|
|
},
|
|
},
|
|
successFile(file, fileLists) {
|
|
successFile(file, fileLists) {
|
|
|
|
+ console.log('上传文件successFile', fileLists);
|
|
|
|
+
|
|
let obj = {};
|
|
let obj = {};
|
|
// this.fileList.push(fileLists.name);
|
|
// this.fileList.push(fileLists.name);
|
|
let resName = fileLists.response.data;
|
|
let resName = fileLists.response.data;
|
|
@@ -497,8 +499,6 @@ export default {
|
|
obj.name = fileLists.name;
|
|
obj.name = fileLists.name;
|
|
// this.uploadFileUrl= this.uploadFileUrl.concat(newName + ',');
|
|
// this.uploadFileUrl= this.uploadFileUrl.concat(newName + ',');
|
|
this.uploadFileUrl.push(obj);
|
|
this.uploadFileUrl.push(obj);
|
|
-
|
|
|
|
- console.log('上传文件successFile', this.fileList);
|
|
|
|
},
|
|
},
|
|
handleExceed(files, fileList) {
|
|
handleExceed(files, fileList) {
|
|
this.$message.warning(
|
|
this.$message.warning(
|
|
@@ -558,7 +558,7 @@ export default {
|
|
if (res.status === 0) {
|
|
if (res.status === 0) {
|
|
this.selectDataHouseTreeData = res.data;
|
|
this.selectDataHouseTreeData = res.data;
|
|
} else {
|
|
} else {
|
|
- // this.$message('请选择房间');
|
|
|
|
|
|
+ // this.$message('获取房间失败');
|
|
}
|
|
}
|
|
});
|
|
});
|
|
console.log('选中的房间val', val);
|
|
console.log('选中的房间val', val);
|
|
@@ -625,6 +625,7 @@ export default {
|
|
},
|
|
},
|
|
// 发布活动类型
|
|
// 发布活动类型
|
|
changeInformType(val) {
|
|
changeInformType(val) {
|
|
|
|
+ this.successImageLists = '';
|
|
if (val) {
|
|
if (val) {
|
|
this.showUploadImage = true;
|
|
this.showUploadImage = true;
|
|
this.rowDetail = '';
|
|
this.rowDetail = '';
|
|
@@ -645,7 +646,7 @@ export default {
|
|
this.ruleForm.issueRoom.checkAll = false;
|
|
this.ruleForm.issueRoom.checkAll = false;
|
|
// this.showDetail = false;
|
|
// this.showDetail = false;
|
|
this.filePath = '';
|
|
this.filePath = '';
|
|
- this.uploadFileUrl = '';
|
|
|
|
|
|
+ this.uploadFileUrl = [];
|
|
this.fileList = [];
|
|
this.fileList = [];
|
|
this.ruleForm.exigencyText = true;
|
|
this.ruleForm.exigencyText = true;
|
|
this.$refs.endit.setContent(this.contents);
|
|
this.$refs.endit.setContent(this.contents);
|
|
@@ -658,7 +659,7 @@ export default {
|
|
this.showUploadImage = false;
|
|
this.showUploadImage = false;
|
|
this.ruleForm.issueRoom.checkAll = true;
|
|
this.ruleForm.issueRoom.checkAll = true;
|
|
this.filePath = '';
|
|
this.filePath = '';
|
|
- this.uploadFileUrl = '';
|
|
|
|
|
|
+ this.uploadFileUrl = [];
|
|
this.fileList = [];
|
|
this.fileList = [];
|
|
this.$refs.endit.setContent(this.contents);
|
|
this.$refs.endit.setContent(this.contents);
|
|
this.$refs.upImages.clearImageList();
|
|
this.$refs.upImages.clearImageList();
|