mirror of
https://github.com/dataease/dataease.git
synced 2026-05-23 13:58:26 +08:00
refactor: 移动端支持将联动按钮固定到最上方
This commit is contained in:
@@ -64,7 +64,7 @@ public class SnapshotDataVisualizationInfo implements Serializable {
|
||||
/**
|
||||
* 移动端布局0-关闭 1-开启
|
||||
*/
|
||||
private Byte mobileLayout;
|
||||
private Boolean mobileLayout;
|
||||
|
||||
/**
|
||||
* 状态 0-未发布 1-已发布
|
||||
@@ -213,11 +213,11 @@ public class SnapshotDataVisualizationInfo implements Serializable {
|
||||
this.componentData = componentData;
|
||||
}
|
||||
|
||||
public Byte getMobileLayout() {
|
||||
public Boolean getMobileLayout() {
|
||||
return mobileLayout;
|
||||
}
|
||||
|
||||
public void setMobileLayout(Byte mobileLayout) {
|
||||
public void setMobileLayout(Boolean mobileLayout) {
|
||||
this.mobileLayout = mobileLayout;
|
||||
}
|
||||
|
||||
|
||||
@@ -513,7 +513,7 @@ public class DataVisualizationServer implements DataVisualizationApi {
|
||||
coreVisualizationManage.move(request);
|
||||
}
|
||||
}
|
||||
visualizationInfo.setStatus(CommonConstants.DV_STATUS.SAVED_UNPUBLISHED);
|
||||
visualizationInfo.setStatus(request.getStatus()!=null?request.getStatus():CommonConstants.DV_STATUS.SAVED_UNPUBLISHED);
|
||||
coreVisualizationManage.innerEdit(visualizationInfo);
|
||||
//保存图表信息
|
||||
chartDataManage.saveChartViewFromVisualization(request.getComponentData(), dvId, request.getCanvasViewInfo());
|
||||
|
||||
Reference in New Issue
Block a user