|
|
@@ -524,14 +524,14 @@ export default {
|
|
|
else{
|
|
|
request.planExecOrgIdList = [];
|
|
|
}
|
|
|
- if (this.form.id != null) {
|
|
|
+ if (request.id != null) {
|
|
|
updatePlan(request).then(response => {
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
|
});
|
|
|
} else {
|
|
|
- addPlan(this.form).then(response => {
|
|
|
+ addPlan(request).then(response => {
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
this.open = false;
|
|
|
this.getList();
|