+
+
+
+
@@ -543,6 +545,10 @@ export default {
handleFileUploadProgress(event, file, fileList) {
this.upload.isUploading = true;
},
+ //删除文件
+ handleFileremove(file, fileList) {
+ this.fileList = this.fileList.filter(e => e != file);
+ },
// 文件上传成功处理
handleFileSuccess(response, file, fileList) {
this.upload.isUploading = false;
@@ -555,10 +561,12 @@ export default {
// "上传结果",
// { dangerouslyUseHTMLString: true }
// );
- this.videourl.push(response.prescriptionVideoUrl);
},
// 提交上传文件
submitFileForm() {
+ this.fileList.forEach(e => {
+ this.videourl.push(e.response.prescriptionVideoUrl);
+ });
var obj = {
motionPrescriptionId: this.upload.data.motionPrescriptionId,
prescriptionVideoUrlList: this.videourl