Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-manage
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
finance-oa
finance-manage
Commits
b7b4364d
Commit
b7b4364d
authored
Feb 12, 2022
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码生成编辑修改打开新页签
parent
d9859de7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ruoyi-ui/src/router/index.js
ruoyi-ui/src/router/index.js
+1
-1
ruoyi-ui/src/views/tool/gen/editTable.vue
ruoyi-ui/src/views/tool/gen/editTable.vue
+1
-1
ruoyi-ui/src/views/tool/gen/index.vue
ruoyi-ui/src/views/tool/gen/index.vue
+1
-1
No files found.
ruoyi-ui/src/router/index.js
View file @
b7b4364d
...
...
@@ -155,7 +155,7 @@ export const dynamicRoutes = [
permissions
:
[
'
tool:gen:edit
'
],
children
:
[
{
path
:
'
index
'
,
path
:
'
index
/:tableId(
\\
d+)
'
,
component
:
()
=>
import
(
'
@/views/tool/gen/editTable
'
),
name
:
'
GenEdit
'
,
meta
:
{
title
:
'
修改生成配置
'
,
activeMenu
:
'
/tool/gen
'
}
...
...
ruoyi-ui/src/views/tool/gen/editTable.vue
View file @
b7b4364d
...
...
@@ -159,7 +159,7 @@ export default {
};
},
created
()
{
const
tableId
=
this
.
$route
.
query
&&
this
.
$route
.
query
.
tableId
;
const
tableId
=
this
.
$route
.
params
&&
this
.
$route
.
params
.
tableId
;
if
(
tableId
)
{
// 获取表详细信息
getGenTable
(
tableId
).
then
(
res
=>
{
...
...
ruoyi-ui/src/views/tool/gen/index.vue
View file @
b7b4364d
...
...
@@ -321,7 +321,7 @@ export default {
/** 修改按钮操作 */
handleEditTable
(
row
)
{
const
tableId
=
row
.
tableId
||
this
.
ids
[
0
];
this
.
$router
.
push
({
path
:
'
/tool/gen-edit/index
'
,
query
:
{
tableId
:
tableId
,
pageNum
:
this
.
queryParams
.
pageNum
}
});
this
.
$router
.
push
({
path
:
'
/tool/gen-edit/index
/
'
+
tableId
,
query
:
{
pageNum
:
this
.
queryParams
.
pageNum
}
});
},
/** 删除按钮操作 */
handleDelete
(
row
)
{
...
...
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