Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d3240df8
authored
May 13, 2025
by
bozch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 代码生成配置时,新添加的字典,添加刷新按钮加载
parent
ae9723bc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
src/views/infra/codegen/components/ColumInfoForm.vue
+14
-0
No files found.
src/views/infra/codegen/components/ColumInfoForm.vue
View file @
d3240df8
...
@@ -96,6 +96,19 @@
...
@@ -96,6 +96,19 @@
<el-table-column
label=
"字典类型"
min-width=
"12%"
>
<el-table-column
label=
"字典类型"
min-width=
"12%"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-select
v-model=
"scope.row.dictType"
clearable
filterable
placeholder=
"请选择"
>
<el-select
v-model=
"scope.row.dictType"
clearable
filterable
placeholder=
"请选择"
>
<template
#
header
>
<div
class=
"flex justify-end"
>
<el-popover
class=
"box-item"
content=
"加载最新字典"
placement=
"top-start"
>
<template
#
reference
>
<el-button
:icon=
"Refresh"
size=
"small"
circle
@
click=
"getDictOptions"
class=
""
/>
</
template
>
</el-popover>
</div>
</template>
<el-option
<el-option
v-for=
"dict in dictOptions"
v-for=
"dict in dictOptions"
:key=
"dict.id"
:key=
"dict.id"
...
@@ -114,6 +127,7 @@
...
@@ -114,6 +127,7 @@
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
PropType
}
from
'vue'
import
{
PropType
}
from
'vue'
import
{
Refresh
}
from
'@element-plus/icons-vue'
import
*
as
CodegenApi
from
'@/api/infra/codegen'
import
*
as
CodegenApi
from
'@/api/infra/codegen'
import
*
as
DictDataApi
from
'@/api/system/dict/dict.type'
import
*
as
DictDataApi
from
'@/api/system/dict/dict.type'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment