|
|
|
@ -814,7 +814,7 @@ export default {
|
|
|
|
|
console.log(res);
|
|
|
|
|
console.log(this.$refs.upload + "*******");
|
|
|
|
|
this.form.contractAttachment = res.data.url;
|
|
|
|
|
this.$refs.upload.clearFiles();
|
|
|
|
|
|
|
|
|
|
this.$message({
|
|
|
|
|
showClose: true,
|
|
|
|
|
message: res.data.name+"上传成功",
|
|
|
|
@ -970,6 +970,7 @@ export default {
|
|
|
|
|
if (this.form.id != null) {
|
|
|
|
|
updateElectronicContracts(this.form).then((response) => {
|
|
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
|
|
this.$refs.upload.clearFiles();
|
|
|
|
|
this.open = false;
|
|
|
|
|
this.getList();
|
|
|
|
|
});
|
|
|
|
@ -979,6 +980,7 @@ export default {
|
|
|
|
|
this.form.cherks = 0;
|
|
|
|
|
createElectronicContracts(this.form).then((response) => {
|
|
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
|
|
this.$refs.upload.clearFiles();
|
|
|
|
|
this.open = false;
|
|
|
|
|
this.getList();
|
|
|
|
|
});
|
|
|
|
|