diff --git a/src/api/platform/system/entity/gencodeTable.ts b/src/api/platform/system/entity/gencodeTable.ts new file mode 100644 index 0000000..b5bb9cd --- /dev/null +++ b/src/api/platform/system/entity/gencodeTable.ts @@ -0,0 +1,17 @@ +import type { R } from '/#/axios'; +import type { Page, CommonEntity } from '/@/api/common/data/entity'; + +export type GencodeCustomObjParams = Page & GencodeCustomObj; + +export interface GencodeCustomObj extends CommonEntity { + id: string; + label: string; + value: string; + dataUrl: string; + tableName: string; + sort: number; + type: string; + [key: string]: any; +} + +export type GencodeCustomObjResult = R; diff --git a/src/api/platform/system/entity/gencodeTableColumn.ts b/src/api/platform/system/entity/gencodeTableColumn.ts new file mode 100644 index 0000000..f319094 --- /dev/null +++ b/src/api/platform/system/entity/gencodeTableColumn.ts @@ -0,0 +1,16 @@ +import type { R } from '/#/axios'; +import type { Page } from '/@/api/common/data/entity'; +import type { BaseEntity } from '/@/api/common/base/entity'; + +export type GencodeCustomFieldParams = Page & GencodeCustomField; + +export interface GencodeCustomField extends BaseEntity { + id: string; + name: string; + objId: string; + sort: number; + remarks: string; + [key: string]: any; +} + +export type GencodeCustomFieldResult = R; diff --git a/src/views/system/devtools/genTable/index.vue b/src/views/system/devtools/genTable/index.vue index a1db7b1..be72ce9 100644 --- a/src/views/system/devtools/genTable/index.vue +++ b/src/views/system/devtools/genTable/index.vue @@ -6,9 +6,7 @@ dense >
-