|
@@ -450,7 +450,7 @@
|
|
|
pageSize: 10,
|
|
|
},
|
|
|
// 选中选项卡的 name
|
|
|
- activeName: "basic",
|
|
|
+ activeName: "cloum",
|
|
|
// 表格的高度
|
|
|
tableHeight: document.documentElement.scrollHeight - 245 + "px",
|
|
|
// 表信息
|
|
@@ -548,8 +548,13 @@
|
|
|
if (valid) {
|
|
|
addGenTableColumn(this.formZd).then(response => {
|
|
|
this.msgSuccess("新增成功");
|
|
|
- this.open = false;
|
|
|
- this.tabList();
|
|
|
+ this.openZd = false;
|
|
|
+ // 获取表详细信息
|
|
|
+ getGenTable(tableId).then(res => {
|
|
|
+ this.cloumns = res.data.rows;
|
|
|
+ this.info = res.data.info;
|
|
|
+ this.tables = res.data.tables;
|
|
|
+ });
|
|
|
});
|
|
|
}
|
|
|
});
|