|
@@ -168,19 +168,11 @@
|
|
|
console.log('表单数据:', this.form)
|
|
|
if (this.form.userId != undefined) {
|
|
|
}else{
|
|
|
-
|
|
|
addWork(this.form).then(response => {
|
|
|
- debugger;
|
|
|
- this.$modal.msgSuccess("新增成功");
|
|
|
- this.open = false;
|
|
|
- this.getList();
|
|
|
+ this.dialogVisible = false
|
|
|
+ this.$message.success('保存成功')
|
|
|
});
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
-
|
|
|
- this.dialogVisible = false
|
|
|
- this.$message.success('保存成功')
|
|
|
this.loadData()
|
|
|
}
|
|
|
})
|