From 5e17bce1a0233532355317f1365d86f42cd7361b Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sun, 12 Apr 2026 09:58:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90=E8=AF=A6=E6=83=85=E9=A1=B5=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto-imports.d.ts | 2 ++ src/views/tool/gen/editTable.vue | 1 + src/views/tool/gen/genInfoForm.vue | 9 ++++++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/auto-imports.d.ts b/auto-imports.d.ts index ab12676..75bb3f0 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -55,6 +55,7 @@ declare global { const readonly: typeof import('vue')['readonly'] const ref: typeof import('vue')['ref'] const resolveComponent: typeof import('vue')['resolveComponent'] + const selectDictLabel: typeof import('@/utils/ruoyi')['selectDictLabel'] const setActivePinia: typeof import('pinia')['setActivePinia'] const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix'] const shallowReactive: typeof import('vue')['shallowReactive'] @@ -70,6 +71,7 @@ declare global { const useAttrs: typeof import('vue')['useAttrs'] const useCssModule: typeof import('vue')['useCssModule'] const useCssVars: typeof import('vue')['useCssVars'] + const useDict: typeof import('@/utils/dict')['useDict'] const useId: typeof import('vue')['useId'] const useLink: typeof import('vue-router')['useLink'] const useModel: typeof import('vue')['useModel'] diff --git a/src/views/tool/gen/editTable.vue b/src/views/tool/gen/editTable.vue index 3352f00..af86487 100644 --- a/src/views/tool/gen/editTable.vue +++ b/src/views/tool/gen/editTable.vue @@ -149,6 +149,7 @@ function submitForm(): void { const genTable = Object.assign({}, info.value) genTable.columns = columns.value genTable.params = { + genView: info.value.view ? '1' : '0', treeCode: info.value.treeCode, treeName: info.value.treeName, treeParentCode: info.value.treeParentCode, diff --git a/src/views/tool/gen/genInfoForm.vue b/src/views/tool/gen/genInfoForm.vue index a34533c..ad8533b 100644 --- a/src/views/tool/gen/genInfoForm.vue +++ b/src/views/tool/gen/genInfoForm.vue @@ -71,7 +71,7 @@ - +