| | |
| | | queryParams: {
|
| | | pageNum: 1,
|
| | | pageSize: 10,
|
| | | reasonable: true,
|
| | | tableName: undefined,
|
| | | tableComment: undefined
|
| | | },
|
| | |
| | | return synchDb(tableName);
|
| | | }).then(() => {
|
| | | this.msgSuccess("同步成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | },
|
| | | /** 打开导入表弹窗 */
|
| | | openImportTable() {
|
| | |
| | | /** 修改按钮操作 */
|
| | | handleEditTable(row) {
|
| | | const tableId = row.tableId || this.ids[0];
|
| | | this.$router.push("/gen/edit/" + tableId);
|
| | | this.$router.push("/tool/gen-edit/index/" + tableId);
|
| | | },
|
| | | /** 删除按钮操作 */
|
| | | handleDelete(row) {
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | }
|
| | | }
|
| | | };
|