Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
front-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
front-backend
Commits
c7e2a881
Commit
c7e2a881
authored
May 23, 2020
by
ZhengJie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[代码完善](v2.5): v2.5 代码生成器查询列优化
https://github.com/elunez/eladmin/issues/366
parent
0791a74f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletions
+13
-1
src/assets/styles/eladmin.scss
+10
-0
src/components/Crud/crud.js
+2
-0
src/views/generator/index.vue
+1
-1
No files found.
src/assets/styles/eladmin.scss
View file @
c7e2a881
...
...
@@ -9,6 +9,16 @@
line-height
:
30
.5px
;
}
}
.el-form-item-label
{
margin
:
0
3px
9px
0
;
display
:
inline-block
;
text-align
:
right
;
vertical-align
:
middle
;
font-size
:
14px
;
color
:
#606266
;
line-height
:
30
.5px
;
padding
:
0
7px
0
7px
;
}
.el-button
+
.el-button
{
margin-left
:
0
!
important
;
}
...
...
src/components/Crud/crud.js
View file @
c7e2a881
...
...
@@ -386,6 +386,8 @@ function CRUD(options) {
Object
.
keys
(
query
).
forEach
(
key
=>
{
query
[
key
]
=
defaultQuery
[
key
]
})
// 重置参数
this
.
params
=
{}
if
(
toQuery
)
{
crud
.
toQuery
()
}
...
...
src/views/generator/index.vue
View file @
c7e2a881
...
...
@@ -42,7 +42,7 @@
<el-button
size=
"mini"
style=
"margin-left: -1px;margin-right: 2px"
type=
"text"
@
click=
"toDownload(scope.row.tableName)"
>
下载
</el-button>
<el-button
size=
"mini"
style=
"margin-left: -1px;margin-right: 2px"
type=
"text"
>
<router-link
:to=
"'/sys-tools/generator/config/' + scope.row.tableName"
>
编辑
配置
</router-link>
</el-button>
<el-button
type=
"text"
style=
"margin-left: -1px"
size=
"mini"
@
click=
"toGen(scope.row.tableName)"
>
生成
</el-button>
...
...
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