添加取消按钮刷新列表
This commit is contained in:
parent
ef1f20de56
commit
952f8d040b
|
@ -178,10 +178,6 @@ import { datasyncqueryPage,
|
|||
methods: {
|
||||
add () {
|
||||
this.visible =true;
|
||||
let that = this;
|
||||
that.form.resetFields();
|
||||
console.log(record);
|
||||
this.model = Object.assign({},record);
|
||||
this.getselect();
|
||||
},
|
||||
edit (record) {
|
||||
|
@ -362,7 +358,7 @@ import { datasyncqueryPage,
|
|||
this.$emit('ok');
|
||||
},
|
||||
close () {
|
||||
this.$emit('close');
|
||||
this.$emit('ok');
|
||||
this.visible = false;
|
||||
},
|
||||
handleOk () {
|
||||
|
@ -370,6 +366,7 @@ import { datasyncqueryPage,
|
|||
this.close();
|
||||
},
|
||||
handleCancel () {
|
||||
this.$emit('ok');
|
||||
this.close()
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user