Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
appbuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
appbuild
Commits
8fcb2a60
Commit
8fcb2a60
authored
Apr 27, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改前端依赖
parent
19f67d2d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
0 deletions
+63
-0
appbuild-manage-ui/admin/src/views/system/gentable/editTable.vue
...d-manage-ui/admin/src/views/system/gentable/editTable.vue
+8
-0
appbuild-manage-ui/admin/src/views/system/gentable/genInfoForm.vue
...manage-ui/admin/src/views/system/gentable/genInfoForm.vue
+55
-0
No files found.
appbuild-manage-ui/admin/src/views/system/gentable/editTable.vue
View file @
8fcb2a60
...
...
@@ -202,6 +202,14 @@ export default {
info
:
{
subTableName
:
""
,
subTableFkName
:
""
,
subTableName0
:
""
,
subTableFkName0
:
""
,
subTableName1
:
""
,
subTableFkName1
:
""
,
subTableName2
:
""
,
subTableFkName2
:
""
,
subTableName3
:
""
,
subTableFkName3
:
""
,
},
dict
:
{},
toString
:
[
...
...
appbuild-manage-ui/admin/src/views/system/gentable/genInfoForm.vue
View file @
8fcb2a60
...
...
@@ -306,6 +306,61 @@
</el-form-item>
</el-col>
</el-row>
<el-row
v-for=
"(index) in 3"
:key=
"index"
v-show=
"info.tplCategory == 'sub' || info.tplCategory == 'subone'"
>
<h4
class=
"form-header"
>
关联信息
</h4>
<el-col
:span=
"12"
>
<el-form-item>
<span
slot=
"label"
>
关联子表的表名
<el-tooltip
content=
"关联子表的表名, 如:sys_user"
placement=
"top"
>
<i
class=
"el-icon-question"
></i>
</el-tooltip>
</span>
<el-select
v-model=
"info['subTableName' + index]"
placeholder=
"请选择关联的子表"
style=
"width: 100%"
@
change=
"subSelectChange"
>
<el-option
v-for=
"(table, index) in tables"
:key=
"index"
:label=
"table.tableName + ':' + table.tableComment"
:value=
"table.tableName"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item>
<span
slot=
"label"
>
子表关联主表的外键名
<el-tooltip
content=
"子表关联主表的外键名, 如:user_id"
placement=
"top"
>
<i
class=
"el-icon-question"
></i>
</el-tooltip>
</span>
<el-select
v-model=
"info['subTableFkName' + index]"
@
change=
"$forceUpdate()"
style=
"width: 100%"
placeholder=
"请选择关联的子表外键名"
>
<el-option
v-for=
"(column, index) in subColumns"
:key=
"index"
:label=
"column.columnName + ':' + column.columnComment"
:value=
"column.columnName"
></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
</
template
>
<
script
>
...
...
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