refactor: 单词拼写优化

This commit is contained in:
wangjiahao 2022-11-25 13:24:03 +08:00
parent dcb0316ff2
commit 4a0e4503ba
5 changed files with 8 additions and 18 deletions

View File

@ -405,7 +405,7 @@ public class OracleQueryProvider extends QueryProvider {
} }
@Override @Override
public String getSQLWithPage(boolean isTable, String table, List<ChartViewFieldDTO> orgXAxis, List<ChartFieldCustomFilterDTO> OrgFeldCustomFilter, List<DataSetRowPermissionsTreeDTO> rowPermissionsTree, List<ChartExtFilterRequest> extFilterRequestList, Datasource ds, ChartViewWithBLOBs view, PageInfo pageInfo) { public String getSQLWithPage(boolean isTable, String table, List<ChartViewFieldDTO> orgXAxis, List<ChartFieldCustomFilterDTO> OrgFieldCustomFilter, List<DataSetRowPermissionsTreeDTO> rowPermissionsTree, List<ChartExtFilterRequest> extFilterRequestList, Datasource ds, ChartViewWithBLOBs view, PageInfo pageInfo) {
List<ChartViewFieldDTO> xAxis = new ArrayList<>(); List<ChartViewFieldDTO> xAxis = new ArrayList<>();
orgXAxis.forEach(chartViewFieldDTO -> { orgXAxis.forEach(chartViewFieldDTO -> {
xAxis.add(chartViewFieldDTO); xAxis.add(chartViewFieldDTO);
@ -416,7 +416,7 @@ public class OracleQueryProvider extends QueryProvider {
List<ChartFieldCustomFilterDTO> fieldCustomFilter = new ArrayList<>(); List<ChartFieldCustomFilterDTO> fieldCustomFilter = new ArrayList<>();
for (ChartFieldCustomFilterDTO chartFieldCustomFilterDTO : OrgFeldCustomFilter) { for (ChartFieldCustomFilterDTO chartFieldCustomFilterDTO : OrgFieldCustomFilter) {
fieldCustomFilter.add(chartFieldCustomFilterDTO); fieldCustomFilter.add(chartFieldCustomFilterDTO);
} }
ChartFieldCustomFilterDTO chartFieldCustomFilterDTO = new ChartFieldCustomFilterDTO(); ChartFieldCustomFilterDTO chartFieldCustomFilterDTO = new ChartFieldCustomFilterDTO();

View File

@ -1567,8 +1567,8 @@ export default {
infoBox.moveItem = item infoBox.moveItem = item
infoBox.moveItemIndex = index infoBox.moveItemIndex = index
infoBox.orignX = 0 // X infoBox.originX = 0 // X
infoBox.orignY = 0 infoBox.originY = 0
infoBox.startX = 0 infoBox.startX = 0
infoBox.startY = 0 infoBox.startY = 0

View File

@ -64,10 +64,6 @@ export default {
this.init() this.init()
}, },
beforeDestroy() { beforeDestroy() {
// const targetComponent = document.getElementById(this.componentCanvasId)
// const domId = 'dragContent-' + this.curComponent.id
// console.log('domId='+domId)
// document.getElementById(domId).appendChild(targetComponent)
}, },
methods: { methods: {
init() { init() {

View File

@ -483,7 +483,6 @@ export default {
canvasScroll(scrollInfo) { canvasScroll(scrollInfo) {
this.scrollLeft = scrollInfo.scrollLeft + 50 this.scrollLeft = scrollInfo.scrollLeft + 50
this.scrollTop = scrollInfo.scrollTop + 10 this.scrollTop = scrollInfo.scrollTop + 10
console.log('scrollInfo=' + JSON.stringify(scrollInfo))
bus.$emit('onScroll') bus.$emit('onScroll')
}, },
tabCanvasComponentData(tabName) { tabCanvasComponentData(tabName) {

View File

@ -40,10 +40,6 @@ $--background-color-base: #171b22;
--RangeColor: #fff; --RangeColor: #fff;
--BrRangeColor: #fff; --BrRangeColor: #fff;
--BgSerachColor: #ffffff;
--SerachColor: #fff;
--BrSerachColor: #fff;
--BgSelectGridColor: #ffffff; --BgSelectGridColor: #ffffff;
--SelectGridColor: #fff; --SelectGridColor: #fff;
--BrSelectGridColor: #fff; --BrSelectGridColor: #fff;
@ -78,7 +74,6 @@ $--background-color-base: #171b22;
--background-color-base: #171b22; --background-color-base: #171b22;
} }