Commit 04789620 by fairyly

feat: 增加树形组件

parent f7b1f106
...@@ -243,12 +243,14 @@ export default { ...@@ -243,12 +243,14 @@ export default {
const that = this; const that = this;
that.$refs['form'].resetFields(); that.$refs['form'].resetFields();
that.memberVisible = false; that.memberVisible = false;
that.$emit('refreshData', 'close');
done(); done();
}, },
cancel() { cancel() {
const that = this; const that = this;
that.$refs['form'].resetFields(); that.$refs['form'].resetFields();
that.memberVisible = false; that.memberVisible = false;
that.$emit('refreshData', 'close');
}, },
/** /**
* 确定保存 * 确定保存
......
...@@ -192,9 +192,13 @@ export default { ...@@ -192,9 +192,13 @@ export default {
const that = this; const that = this;
that.addShow = true; that.addShow = true;
}, },
refreshData() { refreshData(res) {
const that = this; const that = this;
that.addShow = false; that.addShow = false;
if (res == 'close') {
return;
}
that.getTableList();
}, },
/** /**
* 跳转回收站 * 跳转回收站
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment