技术委员会表单数据没有清空 51828 技术委员会新增bug 51825

This commit is contained in:
宋伟佳
2022-03-16 16:09:00 +08:00
parent 20e5f1c726
commit 08215c4a19
@@ -226,6 +226,15 @@ export default {
//新增
committeeAdd() {
this.dialogTitle = "新增";
this.addForm = {
committeeName: "", //委员会名称
committeeDirector: "", //主任
committeeDirectorName: "", //主任
committeeSecretary: "", //秘书长
committeeSecretaryName: "", //秘书长
committor: "", //委员
committeeIds: "" //委员
}
this.addModel = true;
},
//编辑
@@ -297,6 +306,15 @@ export default {
//取消新增
cancelModel() {
this.addModel = false;
this.addForm = {
committeeName: "", //委员会名称
committeeDirector: "", //主任
committeeDirectorName: "", //主任
committeeSecretary: "", //秘书长
committeeSecretaryName: "", //秘书长
committor: "", //委员
committeeIds: "" //委员
}
},
//确定新增
addOk() {
@@ -308,7 +326,7 @@ export default {
}, {
_this: this
}, res => {
if(res.ok){
if(res.message === '新增成功'){
this.getCommittee();
this.addModel = false;
}