forked from github/dataease
feat: 字段编辑优化界面显示
This commit is contained in:
parent
4e37a64e19
commit
3b5bb9b17b
@ -33,6 +33,7 @@ public class DatasetFunctionService {
|
|||||||
if (StringUtils.isNotEmpty(datasetTableFunction.getDbType())) {
|
if (StringUtils.isNotEmpty(datasetTableFunction.getDbType())) {
|
||||||
criteria.andDbTypeEqualTo(datasetTableFunction.getDbType());
|
criteria.andDbTypeEqualTo(datasetTableFunction.getDbType());
|
||||||
}
|
}
|
||||||
|
datasetTableFunctionExample.setOrderByClause("name asc");
|
||||||
return datasetTableFunctionMapper.selectByExampleWithBLOBs(datasetTableFunctionExample);
|
return datasetTableFunctionMapper.selectByExampleWithBLOBs(datasetTableFunctionExample);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@
|
|||||||
<p class="pop-title">{{ item.name }}</p>
|
<p class="pop-title">{{ item.name }}</p>
|
||||||
<p class="pop-info">{{ item.func }}</p>
|
<p class="pop-info">{{ item.func }}</p>
|
||||||
<p class="pop-info">{{ item.desc }}</p>
|
<p class="pop-info">{{ item.desc }}</p>
|
||||||
<span slot="reference" class="function-style" :title="item.func" @click="insertParamToCodeMirror(item.func)">{{ item.func }}</span>
|
<span slot="reference" class="function-style" @click="insertParamToCodeMirror(item.func)">{{ item.func }}</span>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -468,9 +468,13 @@ export default {
|
|||||||
padding: 2px 4px;
|
padding: 2px 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin: 4px 0;
|
margin: 4px 0;
|
||||||
overflow-x: hidden;
|
word-break: break-word;
|
||||||
white-space: nowrap;
|
border: solid 1px #eee;
|
||||||
text-overflow: ellipsis;
|
}
|
||||||
|
.function-style:hover {
|
||||||
|
background: #e8f4ff;
|
||||||
|
border-color: #a3d3ff;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.function-height{
|
.function-height{
|
||||||
height: calc(100% - 50px);
|
height: calc(100% - 50px);
|
||||||
|
Loading…
Reference in New Issue
Block a user