技术委员会功能完善
This commit is contained in:
@@ -238,6 +238,7 @@ export default {
|
|||||||
this.dialogTitle = "编辑";
|
this.dialogTitle = "编辑";
|
||||||
this.addModel = true;
|
this.addModel = true;
|
||||||
this.addForm.id = this.committeeChangeList[0].id;
|
this.addForm.id = this.committeeChangeList[0].id;
|
||||||
|
this.addForm.committeer = this.committeeChangeList[0].committeer;
|
||||||
this.addForm.committeeName = this.committeeChangeList[0].committeeName;
|
this.addForm.committeeName = this.committeeChangeList[0].committeeName;
|
||||||
this.addForm.committor = this.committeeChangeList[0].committor;
|
this.addForm.committor = this.committeeChangeList[0].committor;
|
||||||
this.addForm.committeeIds = this.committeeChangeList[0].committorId;
|
this.addForm.committeeIds = this.committeeChangeList[0].committorId;
|
||||||
@@ -307,15 +308,20 @@ export default {
|
|||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.getCommittee();
|
if(res.ok){
|
||||||
this.addModel = false;
|
this.getCommittee();
|
||||||
|
this.addModel = false;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$http.put("wgCommittee/wg-committee/update", {
|
this.$http.put("wgCommittee/wg-committee/update", {
|
||||||
...this.addForm
|
...this.addForm
|
||||||
}, { _this: this },
|
}, { _this: this },
|
||||||
res => {
|
res => {
|
||||||
console.log(res);
|
if(res.ok){
|
||||||
|
this.getCommittee();
|
||||||
|
this.addModel = false;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user