From 3d0c4f442210e89062f0cf407a31f27e47984e06 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 16 Nov 2023 00:11:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=EF=BC=9A?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=A0=91=E5=BD=A2=E8=A1=A8=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../codegen/components/GenerateInfoForm.vue | 58 +++++++------------ 1 file changed, 20 insertions(+), 38 deletions(-) diff --git a/src/views/infra/codegen/components/GenerateInfoForm.vue b/src/views/infra/codegen/components/GenerateInfoForm.vue index 178b4e0f..a4f5ad97 100644 --- a/src/views/infra/codegen/components/GenerateInfoForm.vue +++ b/src/views/infra/codegen/components/GenerateInfoForm.vue @@ -182,50 +182,33 @@ - -

其他信息

- - - - - - - + + + +

树表信息

- + - + - + - - + @@ -248,7 +230,7 @@
- +

主表信息

@@ -343,14 +325,12 @@ const formData = ref({ classComment: '', parentMenuId: null, genPath: '', - treeCode: '', - treeParentCode: '', - treeName: '', - tplCategory: '', genType: '', masterTableId: undefined, subJoinColumnId: undefined, - subJoinMany: undefined + subJoinMany: undefined, + treeParentColumnId: undefined, + treeNameColumnId: undefined }) const rules = reactive({ @@ -364,7 +344,9 @@ const rules = reactive({ classComment: [required], masterTableId: [required], subJoinColumnId: [required], - subJoinMany: [required] + subJoinMany: [required], + treeParentColumnId: [required], + treeNameColumnId: [required] }) const tables = ref([]) // 表定义列表