生成代码提交

pull/653/head
Cinsiria 2024-12-26 19:26:08 +08:00
parent e2f3612e00
commit 9c897e521f
2 changed files with 22 additions and 2 deletions

View File

@ -10,6 +10,7 @@ export type CodegenTableVO = {
tableComment: string tableComment: string
remark: string remark: string
moduleName: string moduleName: string
masterBusinessName: string
businessName: string businessName: string
className: string className: string
classComment: string classComment: string

View File

@ -89,12 +89,29 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item prop="businessName"> <el-form-item prop="masterBusinessName">
<template #label> <template #label>
<span> <span>
业务名 业务名
<el-tooltip <el-tooltip
content="业务名,即二级目录,例如 user、permission、dict 等等" content="业务名,即二级目录,例如 arcb"
placement="top"
>
<Icon icon="ep:question-filled" />
</el-tooltip>
</span>
</template>
<el-input v-model="formData.masterBusinessName" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item prop="businessName">
<template #label>
<span>
子业务名
<el-tooltip
content="子业务名,即子目录,例如 user、permission、dict 等等"
placement="top" placement="top"
> >
<Icon icon="ep:question-filled" /> <Icon icon="ep:question-filled" />
@ -320,6 +337,7 @@ const formData = ref({
frontType: null, frontType: null,
scene: null, scene: null,
moduleName: '', moduleName: '',
masterBusinessName: null,
businessName: '', businessName: '',
className: '', className: '',
classComment: '', classComment: '',
@ -338,6 +356,7 @@ const rules = reactive({
frontType: [required], frontType: [required],
scene: [required], scene: [required],
moduleName: [required], moduleName: [required],
masterBusinessName: [required],
businessName: [required], businessName: [required],
businessPackage: [required], businessPackage: [required],
className: [required], className: [required],