|
@@ -406,14 +406,20 @@
|
|
|
}
|
|
|
return '';
|
|
|
},
|
|
|
+ beforeAvatarUpload(){
|
|
|
+
|
|
|
+ },
|
|
|
// 上传成功
|
|
|
handleAvatarSuccess(res) {
|
|
|
this.form1.credentials = res.data.url
|
|
|
+ this.form1.pictures.push(this.form1.credentials)
|
|
|
},
|
|
|
// 删除
|
|
|
handleRemove(file, fileList) {
|
|
|
this.form2.electronicDataList = this.form2.electronicDataList.filter(item => item !== file.response.data
|
|
|
.webUrl);
|
|
|
+ this.form1.pictures = this.form1.pictures.filter(item => item !== file.response.data
|
|
|
+ .webUrl);
|
|
|
},
|
|
|
// 文件状态改变时的钩子,添加文件、上传成功和上传失败时都会被调用
|
|
|
changeUpload(file, fileList) {
|
|
@@ -442,6 +448,7 @@
|
|
|
this.form1.credentials = this.form2.electronicDataList;
|
|
|
this.form1.credentials = this.form1.credentials.join(',');
|
|
|
}
|
|
|
+ console.log("!!!!",this.form1.pictures )
|
|
|
this.$refs["form1"].validate(valid => {
|
|
|
if (valid) {
|
|
|
this.$modal.confirm('确认放款吗?').then(function() {
|
|
@@ -586,4 +593,4 @@
|
|
|
.el-table .success-row {
|
|
|
background: #f0f9eb;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|