Commit 1afcc9da by yuwei

项目初始化

parent c7c5270a
......@@ -143,6 +143,7 @@ public class ModelServiceImpl extends BaseServiceImpl<ModelDao, ModelEntity> imp
Map<String, Object> map = new HashMap<>(2);
map.put("column", s.getColumnName());
map.put("type", s.getQueryType());
map.put("columnName", s.getColumnComment());
return map;
}).collect(Collectors.toList());
Map<String, Object> map = new HashMap<>();
......
......@@ -22,14 +22,12 @@
<el-col :span="18">
<el-card class="box-card" shadow="always">
<el-form ref="queryForm" :model="queryParams" :inline="true">
<el-form-item label="字段名称" prop="columnName">
<el-form-item v-for="(item, index) in queryParams.conditions" :label="item.columnName" :prop="item.column" :key="index">
<el-input
v-model="queryParams.columnName"
placeholder="请输入字段名称"
v-model.trim="queryParams.conditions[item.column]"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment