|
@@ -110,6 +110,7 @@
|
|
|
imgUrl:'',
|
|
imgUrl:'',
|
|
|
fileList: [],
|
|
fileList: [],
|
|
|
isUpImg:false,
|
|
isUpImg:false,
|
|
|
|
|
+ isSub:false,
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -119,6 +120,7 @@
|
|
|
},
|
|
},
|
|
|
// 提交
|
|
// 提交
|
|
|
sub() {
|
|
sub() {
|
|
|
|
|
+ if(this.isSub) return;
|
|
|
if (this.call == '') {
|
|
if (this.call == '') {
|
|
|
this.$message.error('请填写称呼!');
|
|
this.$message.error('请填写称呼!');
|
|
|
} else if (this.leaveInfor == '') {
|
|
} else if (this.leaveInfor == '') {
|
|
@@ -126,6 +128,7 @@
|
|
|
} else {
|
|
} else {
|
|
|
// 手动上传
|
|
// 手动上传
|
|
|
this.isUpImg = true;
|
|
this.isUpImg = true;
|
|
|
|
|
+ this.isSub = true;
|
|
|
this.$refs.upload.submit();
|
|
this.$refs.upload.submit();
|
|
|
let _this = this;
|
|
let _this = this;
|
|
|
let uid = localStorage.getItem('uid');
|
|
let uid = localStorage.getItem('uid');
|
|
@@ -148,6 +151,7 @@
|
|
|
_this.$emit('value', 10);
|
|
_this.$emit('value', 10);
|
|
|
this.$refs.upload.clearFiles();
|
|
this.$refs.upload.clearFiles();
|
|
|
this.fileList =[];
|
|
this.fileList =[];
|
|
|
|
|
+ this.isSub = false;
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
}, 1500)
|
|
}, 1500)
|