[代码完善](v2.5): v2.5 代码生成器查询列优化
https://github.com/elunez/eladmin/issues/366
This commit is contained in:
@@ -9,6 +9,16 @@
|
|||||||
line-height: 30.5px;
|
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 {
|
.el-button+.el-button {
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -386,6 +386,8 @@ function CRUD(options) {
|
|||||||
Object.keys(query).forEach(key => {
|
Object.keys(query).forEach(key => {
|
||||||
query[key] = defaultQuery[key]
|
query[key] = defaultQuery[key]
|
||||||
})
|
})
|
||||||
|
// 重置参数
|
||||||
|
this.params = {}
|
||||||
if (toQuery) {
|
if (toQuery) {
|
||||||
crud.toQuery()
|
crud.toQuery()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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" @click="toDownload(scope.row.tableName)">下载</el-button>
|
||||||
<el-button size="mini" style="margin-left: -1px;margin-right: 2px" type="text">
|
<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 :to="'/sys-tools/generator/config/' + scope.row.tableName">
|
||||||
编辑
|
配置
|
||||||
</router-link>
|
</router-link>
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="text" style="margin-left: -1px" size="mini" @click="toGen(scope.row.tableName)">生成</el-button>
|
<el-button type="text" style="margin-left: -1px" size="mini" @click="toGen(scope.row.tableName)">生成</el-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user