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