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 @@ - +