模板设置

prod
anthonywj 2 years ago
parent 0523450965
commit 593b6fede5

@ -568,15 +568,7 @@ export default {
console.log(this.formName) console.log(this.formName)
this.$refs["dataForm"].validate(valid => { this.$refs["dataForm"].validate(valid => {
if (valid) { if (valid) {
this.submitTemplate(); this.submitTemplate();
// if (!this.uploadDisabled) {
// this.$refs.uploadJasper.submit();
// this.$refs.uploadJrxml.submit();
// } else {
// this.submitTemplate();
// }
} }
}); });
}, },
@ -613,7 +605,7 @@ export default {
console.log(response) console.log(response)
if (response.code === 20000) { if (response.code === 20000) {
this.formData.path = response.data.path; this.formData.path = response.data.path;
this.submitTemplate(); // this.submitTemplate();
} else { } else {
this.$message.error("上传失败:" + response.message); this.$message.error("上传失败:" + response.message);
} }

Loading…
Cancel
Save