|
|
|
@ -648,10 +648,9 @@ export default {
|
|
|
|
|
handleSuccess(res) {
|
|
|
|
|
console.log(res);
|
|
|
|
|
this.form.contractAttachment = res.data.url;
|
|
|
|
|
this.$refs.upload.clearFiles();
|
|
|
|
|
this.$message({
|
|
|
|
|
showClose: true,
|
|
|
|
|
message: res.data.name+"上传成功",
|
|
|
|
|
message: res.data.name + "上传成功",
|
|
|
|
|
type: "success",
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
@ -850,6 +849,7 @@ export default {
|
|
|
|
|
if (this.form.id != null) {
|
|
|
|
|
updateElectronicAssets(this.form).then((response) => {
|
|
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
|
|
this.$refs.upload.clearFiles();
|
|
|
|
|
this.open = false;
|
|
|
|
|
this.getList();
|
|
|
|
|
});
|
|
|
|
@ -858,6 +858,7 @@ export default {
|
|
|
|
|
// 添加的提交
|
|
|
|
|
createElectronicAssets(this.form).then((response) => {
|
|
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
|
|
this.$refs.upload.clearFiles();
|
|
|
|
|
this.open = false;
|
|
|
|
|
this.getList();
|
|
|
|
|
});
|
|
|
|
|