diff --git a/backend/src/main/java/io/dataease/base/domain/PanelDesign.java b/backend/src/main/java/io/dataease/base/domain/PanelDesign.java new file mode 100644 index 0000000000..f228867a9a --- /dev/null +++ b/backend/src/main/java/io/dataease/base/domain/PanelDesign.java @@ -0,0 +1,29 @@ +package io.dataease.base.domain; + +import java.io.Serializable; +import lombok.Data; + +@Data +public class PanelDesign implements Serializable { + private String id; + + private String panelId; + + private String componentId; + + private String componentStyle; + + private String componentType; + + private String componentDetails; + + private Long createTime; + + private Long updateTime; + + private String createPersion; + + private String updatePersion; + + private static final long serialVersionUID = 1L; +} \ No newline at end of file diff --git a/backend/src/main/java/io/dataease/base/domain/PanelDesignExample.java b/backend/src/main/java/io/dataease/base/domain/PanelDesignExample.java new file mode 100644 index 0000000000..3c58237603 --- /dev/null +++ b/backend/src/main/java/io/dataease/base/domain/PanelDesignExample.java @@ -0,0 +1,880 @@ +package io.dataease.base.domain; + +import java.util.ArrayList; +import java.util.List; + +public class PanelDesignExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PanelDesignExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(String value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(String value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(String value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(String value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(String value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(String value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLike(String value) { + addCriterion("id like", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotLike(String value) { + addCriterion("id not like", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(String value1, String value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(String value1, String value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andPanelIdIsNull() { + addCriterion("panel_id is null"); + return (Criteria) this; + } + + public Criteria andPanelIdIsNotNull() { + addCriterion("panel_id is not null"); + return (Criteria) this; + } + + public Criteria andPanelIdEqualTo(String value) { + addCriterion("panel_id =", value, "panelId"); + return (Criteria) this; + } + + public Criteria andPanelIdNotEqualTo(String value) { + addCriterion("panel_id <>", value, "panelId"); + return (Criteria) this; + } + + public Criteria andPanelIdGreaterThan(String value) { + addCriterion("panel_id >", value, "panelId"); + return (Criteria) this; + } + + public Criteria andPanelIdGreaterThanOrEqualTo(String value) { + addCriterion("panel_id >=", value, "panelId"); + return (Criteria) this; + } + + public Criteria andPanelIdLessThan(String value) { + addCriterion("panel_id <", value, "panelId"); + return (Criteria) this; + } + + public Criteria andPanelIdLessThanOrEqualTo(String value) { + addCriterion("panel_id <=", value, "panelId"); + return (Criteria) this; + } + + public Criteria andPanelIdLike(String value) { + addCriterion("panel_id like", value, "panelId"); + return (Criteria) this; + } + + public Criteria andPanelIdNotLike(String value) { + addCriterion("panel_id not like", value, "panelId"); + return (Criteria) this; + } + + public Criteria andPanelIdIn(List values) { + addCriterion("panel_id in", values, "panelId"); + return (Criteria) this; + } + + public Criteria andPanelIdNotIn(List values) { + addCriterion("panel_id not in", values, "panelId"); + return (Criteria) this; + } + + public Criteria andPanelIdBetween(String value1, String value2) { + addCriterion("panel_id between", value1, value2, "panelId"); + return (Criteria) this; + } + + public Criteria andPanelIdNotBetween(String value1, String value2) { + addCriterion("panel_id not between", value1, value2, "panelId"); + return (Criteria) this; + } + + public Criteria andComponentIdIsNull() { + addCriterion("component_id is null"); + return (Criteria) this; + } + + public Criteria andComponentIdIsNotNull() { + addCriterion("component_id is not null"); + return (Criteria) this; + } + + public Criteria andComponentIdEqualTo(String value) { + addCriterion("component_id =", value, "componentId"); + return (Criteria) this; + } + + public Criteria andComponentIdNotEqualTo(String value) { + addCriterion("component_id <>", value, "componentId"); + return (Criteria) this; + } + + public Criteria andComponentIdGreaterThan(String value) { + addCriterion("component_id >", value, "componentId"); + return (Criteria) this; + } + + public Criteria andComponentIdGreaterThanOrEqualTo(String value) { + addCriterion("component_id >=", value, "componentId"); + return (Criteria) this; + } + + public Criteria andComponentIdLessThan(String value) { + addCriterion("component_id <", value, "componentId"); + return (Criteria) this; + } + + public Criteria andComponentIdLessThanOrEqualTo(String value) { + addCriterion("component_id <=", value, "componentId"); + return (Criteria) this; + } + + public Criteria andComponentIdLike(String value) { + addCriterion("component_id like", value, "componentId"); + return (Criteria) this; + } + + public Criteria andComponentIdNotLike(String value) { + addCriterion("component_id not like", value, "componentId"); + return (Criteria) this; + } + + public Criteria andComponentIdIn(List values) { + addCriterion("component_id in", values, "componentId"); + return (Criteria) this; + } + + public Criteria andComponentIdNotIn(List values) { + addCriterion("component_id not in", values, "componentId"); + return (Criteria) this; + } + + public Criteria andComponentIdBetween(String value1, String value2) { + addCriterion("component_id between", value1, value2, "componentId"); + return (Criteria) this; + } + + public Criteria andComponentIdNotBetween(String value1, String value2) { + addCriterion("component_id not between", value1, value2, "componentId"); + return (Criteria) this; + } + + public Criteria andComponentStyleIsNull() { + addCriterion("component_style is null"); + return (Criteria) this; + } + + public Criteria andComponentStyleIsNotNull() { + addCriterion("component_style is not null"); + return (Criteria) this; + } + + public Criteria andComponentStyleEqualTo(String value) { + addCriterion("component_style =", value, "componentStyle"); + return (Criteria) this; + } + + public Criteria andComponentStyleNotEqualTo(String value) { + addCriterion("component_style <>", value, "componentStyle"); + return (Criteria) this; + } + + public Criteria andComponentStyleGreaterThan(String value) { + addCriterion("component_style >", value, "componentStyle"); + return (Criteria) this; + } + + public Criteria andComponentStyleGreaterThanOrEqualTo(String value) { + addCriterion("component_style >=", value, "componentStyle"); + return (Criteria) this; + } + + public Criteria andComponentStyleLessThan(String value) { + addCriterion("component_style <", value, "componentStyle"); + return (Criteria) this; + } + + public Criteria andComponentStyleLessThanOrEqualTo(String value) { + addCriterion("component_style <=", value, "componentStyle"); + return (Criteria) this; + } + + public Criteria andComponentStyleLike(String value) { + addCriterion("component_style like", value, "componentStyle"); + return (Criteria) this; + } + + public Criteria andComponentStyleNotLike(String value) { + addCriterion("component_style not like", value, "componentStyle"); + return (Criteria) this; + } + + public Criteria andComponentStyleIn(List values) { + addCriterion("component_style in", values, "componentStyle"); + return (Criteria) this; + } + + public Criteria andComponentStyleNotIn(List values) { + addCriterion("component_style not in", values, "componentStyle"); + return (Criteria) this; + } + + public Criteria andComponentStyleBetween(String value1, String value2) { + addCriterion("component_style between", value1, value2, "componentStyle"); + return (Criteria) this; + } + + public Criteria andComponentStyleNotBetween(String value1, String value2) { + addCriterion("component_style not between", value1, value2, "componentStyle"); + return (Criteria) this; + } + + public Criteria andComponentTypeIsNull() { + addCriterion("component_type is null"); + return (Criteria) this; + } + + public Criteria andComponentTypeIsNotNull() { + addCriterion("component_type is not null"); + return (Criteria) this; + } + + public Criteria andComponentTypeEqualTo(String value) { + addCriterion("component_type =", value, "componentType"); + return (Criteria) this; + } + + public Criteria andComponentTypeNotEqualTo(String value) { + addCriterion("component_type <>", value, "componentType"); + return (Criteria) this; + } + + public Criteria andComponentTypeGreaterThan(String value) { + addCriterion("component_type >", value, "componentType"); + return (Criteria) this; + } + + public Criteria andComponentTypeGreaterThanOrEqualTo(String value) { + addCriterion("component_type >=", value, "componentType"); + return (Criteria) this; + } + + public Criteria andComponentTypeLessThan(String value) { + addCriterion("component_type <", value, "componentType"); + return (Criteria) this; + } + + public Criteria andComponentTypeLessThanOrEqualTo(String value) { + addCriterion("component_type <=", value, "componentType"); + return (Criteria) this; + } + + public Criteria andComponentTypeLike(String value) { + addCriterion("component_type like", value, "componentType"); + return (Criteria) this; + } + + public Criteria andComponentTypeNotLike(String value) { + addCriterion("component_type not like", value, "componentType"); + return (Criteria) this; + } + + public Criteria andComponentTypeIn(List values) { + addCriterion("component_type in", values, "componentType"); + return (Criteria) this; + } + + public Criteria andComponentTypeNotIn(List values) { + addCriterion("component_type not in", values, "componentType"); + return (Criteria) this; + } + + public Criteria andComponentTypeBetween(String value1, String value2) { + addCriterion("component_type between", value1, value2, "componentType"); + return (Criteria) this; + } + + public Criteria andComponentTypeNotBetween(String value1, String value2) { + addCriterion("component_type not between", value1, value2, "componentType"); + return (Criteria) this; + } + + public Criteria andComponentDetailsIsNull() { + addCriterion("component_details is null"); + return (Criteria) this; + } + + public Criteria andComponentDetailsIsNotNull() { + addCriterion("component_details is not null"); + return (Criteria) this; + } + + public Criteria andComponentDetailsEqualTo(String value) { + addCriterion("component_details =", value, "componentDetails"); + return (Criteria) this; + } + + public Criteria andComponentDetailsNotEqualTo(String value) { + addCriterion("component_details <>", value, "componentDetails"); + return (Criteria) this; + } + + public Criteria andComponentDetailsGreaterThan(String value) { + addCriterion("component_details >", value, "componentDetails"); + return (Criteria) this; + } + + public Criteria andComponentDetailsGreaterThanOrEqualTo(String value) { + addCriterion("component_details >=", value, "componentDetails"); + return (Criteria) this; + } + + public Criteria andComponentDetailsLessThan(String value) { + addCriterion("component_details <", value, "componentDetails"); + return (Criteria) this; + } + + public Criteria andComponentDetailsLessThanOrEqualTo(String value) { + addCriterion("component_details <=", value, "componentDetails"); + return (Criteria) this; + } + + public Criteria andComponentDetailsLike(String value) { + addCriterion("component_details like", value, "componentDetails"); + return (Criteria) this; + } + + public Criteria andComponentDetailsNotLike(String value) { + addCriterion("component_details not like", value, "componentDetails"); + return (Criteria) this; + } + + public Criteria andComponentDetailsIn(List values) { + addCriterion("component_details in", values, "componentDetails"); + return (Criteria) this; + } + + public Criteria andComponentDetailsNotIn(List values) { + addCriterion("component_details not in", values, "componentDetails"); + return (Criteria) this; + } + + public Criteria andComponentDetailsBetween(String value1, String value2) { + addCriterion("component_details between", value1, value2, "componentDetails"); + return (Criteria) this; + } + + public Criteria andComponentDetailsNotBetween(String value1, String value2) { + addCriterion("component_details not between", value1, value2, "componentDetails"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Long value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Long value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Long value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Long value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Long value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Long value1, Long value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Long value1, Long value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Long value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Long value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Long value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Long value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Long value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Long value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Long value1, Long value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Long value1, Long value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andCreatePersionIsNull() { + addCriterion("create_persion is null"); + return (Criteria) this; + } + + public Criteria andCreatePersionIsNotNull() { + addCriterion("create_persion is not null"); + return (Criteria) this; + } + + public Criteria andCreatePersionEqualTo(String value) { + addCriterion("create_persion =", value, "createPersion"); + return (Criteria) this; + } + + public Criteria andCreatePersionNotEqualTo(String value) { + addCriterion("create_persion <>", value, "createPersion"); + return (Criteria) this; + } + + public Criteria andCreatePersionGreaterThan(String value) { + addCriterion("create_persion >", value, "createPersion"); + return (Criteria) this; + } + + public Criteria andCreatePersionGreaterThanOrEqualTo(String value) { + addCriterion("create_persion >=", value, "createPersion"); + return (Criteria) this; + } + + public Criteria andCreatePersionLessThan(String value) { + addCriterion("create_persion <", value, "createPersion"); + return (Criteria) this; + } + + public Criteria andCreatePersionLessThanOrEqualTo(String value) { + addCriterion("create_persion <=", value, "createPersion"); + return (Criteria) this; + } + + public Criteria andCreatePersionLike(String value) { + addCriterion("create_persion like", value, "createPersion"); + return (Criteria) this; + } + + public Criteria andCreatePersionNotLike(String value) { + addCriterion("create_persion not like", value, "createPersion"); + return (Criteria) this; + } + + public Criteria andCreatePersionIn(List values) { + addCriterion("create_persion in", values, "createPersion"); + return (Criteria) this; + } + + public Criteria andCreatePersionNotIn(List values) { + addCriterion("create_persion not in", values, "createPersion"); + return (Criteria) this; + } + + public Criteria andCreatePersionBetween(String value1, String value2) { + addCriterion("create_persion between", value1, value2, "createPersion"); + return (Criteria) this; + } + + public Criteria andCreatePersionNotBetween(String value1, String value2) { + addCriterion("create_persion not between", value1, value2, "createPersion"); + return (Criteria) this; + } + + public Criteria andUpdatePersionIsNull() { + addCriterion("update_persion is null"); + return (Criteria) this; + } + + public Criteria andUpdatePersionIsNotNull() { + addCriterion("update_persion is not null"); + return (Criteria) this; + } + + public Criteria andUpdatePersionEqualTo(String value) { + addCriterion("update_persion =", value, "updatePersion"); + return (Criteria) this; + } + + public Criteria andUpdatePersionNotEqualTo(String value) { + addCriterion("update_persion <>", value, "updatePersion"); + return (Criteria) this; + } + + public Criteria andUpdatePersionGreaterThan(String value) { + addCriterion("update_persion >", value, "updatePersion"); + return (Criteria) this; + } + + public Criteria andUpdatePersionGreaterThanOrEqualTo(String value) { + addCriterion("update_persion >=", value, "updatePersion"); + return (Criteria) this; + } + + public Criteria andUpdatePersionLessThan(String value) { + addCriterion("update_persion <", value, "updatePersion"); + return (Criteria) this; + } + + public Criteria andUpdatePersionLessThanOrEqualTo(String value) { + addCriterion("update_persion <=", value, "updatePersion"); + return (Criteria) this; + } + + public Criteria andUpdatePersionLike(String value) { + addCriterion("update_persion like", value, "updatePersion"); + return (Criteria) this; + } + + public Criteria andUpdatePersionNotLike(String value) { + addCriterion("update_persion not like", value, "updatePersion"); + return (Criteria) this; + } + + public Criteria andUpdatePersionIn(List values) { + addCriterion("update_persion in", values, "updatePersion"); + return (Criteria) this; + } + + public Criteria andUpdatePersionNotIn(List values) { + addCriterion("update_persion not in", values, "updatePersion"); + return (Criteria) this; + } + + public Criteria andUpdatePersionBetween(String value1, String value2) { + addCriterion("update_persion between", value1, value2, "updatePersion"); + return (Criteria) this; + } + + public Criteria andUpdatePersionNotBetween(String value1, String value2) { + addCriterion("update_persion not between", value1, value2, "updatePersion"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/backend/src/main/java/io/dataease/base/mapper/PanelDesignMapper.java b/backend/src/main/java/io/dataease/base/mapper/PanelDesignMapper.java new file mode 100644 index 0000000000..5c3217296a --- /dev/null +++ b/backend/src/main/java/io/dataease/base/mapper/PanelDesignMapper.java @@ -0,0 +1,30 @@ +package io.dataease.base.mapper; + +import io.dataease.base.domain.PanelDesign; +import io.dataease.base.domain.PanelDesignExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PanelDesignMapper { + long countByExample(PanelDesignExample example); + + int deleteByExample(PanelDesignExample example); + + int deleteByPrimaryKey(String id); + + int insert(PanelDesign record); + + int insertSelective(PanelDesign record); + + List selectByExample(PanelDesignExample example); + + PanelDesign selectByPrimaryKey(String id); + + int updateByExampleSelective(@Param("record") PanelDesign record, @Param("example") PanelDesignExample example); + + int updateByExample(@Param("record") PanelDesign record, @Param("example") PanelDesignExample example); + + int updateByPrimaryKeySelective(PanelDesign record); + + int updateByPrimaryKey(PanelDesign record); +} \ No newline at end of file diff --git a/backend/src/main/java/io/dataease/base/mapper/PanelDesignMapper.xml b/backend/src/main/java/io/dataease/base/mapper/PanelDesignMapper.xml new file mode 100644 index 0000000000..42a8af2e16 --- /dev/null +++ b/backend/src/main/java/io/dataease/base/mapper/PanelDesignMapper.xml @@ -0,0 +1,291 @@ + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, panel_id, component_id, component_style, component_type, component_details, create_time, + update_time, create_persion, update_persion + + + + + delete from panel_design + where id = #{id,jdbcType=VARCHAR} + + + delete from panel_design + + + + + + insert into panel_design (id, panel_id, component_id, + component_style, component_type, component_details, + create_time, update_time, create_persion, + update_persion) + values (#{id,jdbcType=VARCHAR}, #{panelId,jdbcType=VARCHAR}, #{componentId,jdbcType=VARCHAR}, + #{componentStyle,jdbcType=VARCHAR}, #{componentType,jdbcType=VARCHAR}, #{componentDetails,jdbcType=VARCHAR}, + #{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT}, #{createPersion,jdbcType=VARCHAR}, + #{updatePersion,jdbcType=VARCHAR}) + + + insert into panel_design + + + id, + + + panel_id, + + + component_id, + + + component_style, + + + component_type, + + + component_details, + + + create_time, + + + update_time, + + + create_persion, + + + update_persion, + + + + + #{id,jdbcType=VARCHAR}, + + + #{panelId,jdbcType=VARCHAR}, + + + #{componentId,jdbcType=VARCHAR}, + + + #{componentStyle,jdbcType=VARCHAR}, + + + #{componentType,jdbcType=VARCHAR}, + + + #{componentDetails,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=BIGINT}, + + + #{updateTime,jdbcType=BIGINT}, + + + #{createPersion,jdbcType=VARCHAR}, + + + #{updatePersion,jdbcType=VARCHAR}, + + + + + + update panel_design + + + id = #{record.id,jdbcType=VARCHAR}, + + + panel_id = #{record.panelId,jdbcType=VARCHAR}, + + + component_id = #{record.componentId,jdbcType=VARCHAR}, + + + component_style = #{record.componentStyle,jdbcType=VARCHAR}, + + + component_type = #{record.componentType,jdbcType=VARCHAR}, + + + component_details = #{record.componentDetails,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=BIGINT}, + + + update_time = #{record.updateTime,jdbcType=BIGINT}, + + + create_persion = #{record.createPersion,jdbcType=VARCHAR}, + + + update_persion = #{record.updatePersion,jdbcType=VARCHAR}, + + + + + + + + update panel_design + set id = #{record.id,jdbcType=VARCHAR}, + panel_id = #{record.panelId,jdbcType=VARCHAR}, + component_id = #{record.componentId,jdbcType=VARCHAR}, + component_style = #{record.componentStyle,jdbcType=VARCHAR}, + component_type = #{record.componentType,jdbcType=VARCHAR}, + component_details = #{record.componentDetails,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=BIGINT}, + update_time = #{record.updateTime,jdbcType=BIGINT}, + create_persion = #{record.createPersion,jdbcType=VARCHAR}, + update_persion = #{record.updatePersion,jdbcType=VARCHAR} + + + + + + update panel_design + + + panel_id = #{panelId,jdbcType=VARCHAR}, + + + component_id = #{componentId,jdbcType=VARCHAR}, + + + component_style = #{componentStyle,jdbcType=VARCHAR}, + + + component_type = #{componentType,jdbcType=VARCHAR}, + + + component_details = #{componentDetails,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=BIGINT}, + + + update_time = #{updateTime,jdbcType=BIGINT}, + + + create_persion = #{createPersion,jdbcType=VARCHAR}, + + + update_persion = #{updatePersion,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=VARCHAR} + + + update panel_design + set panel_id = #{panelId,jdbcType=VARCHAR}, + component_id = #{componentId,jdbcType=VARCHAR}, + component_style = #{componentStyle,jdbcType=VARCHAR}, + component_type = #{componentType,jdbcType=VARCHAR}, + component_details = #{componentDetails,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=BIGINT}, + update_time = #{updateTime,jdbcType=BIGINT}, + create_persion = #{createPersion,jdbcType=VARCHAR}, + update_persion = #{updatePersion,jdbcType=VARCHAR} + where id = #{id,jdbcType=VARCHAR} + + \ No newline at end of file diff --git a/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelDesignMapper.java b/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelDesignMapper.java new file mode 100644 index 0000000000..50a7220509 --- /dev/null +++ b/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelDesignMapper.java @@ -0,0 +1,6 @@ +package io.dataease.base.mapper.ext; + + +public interface ExtPanelDesignMapper { + +} diff --git a/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelDesignMapper.xml b/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelDesignMapper.xml new file mode 100644 index 0000000000..b71824aeb6 --- /dev/null +++ b/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelDesignMapper.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelGroupMapper.java b/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelGroupMapper.java index e7975eb351..85c8aaddff 100644 --- a/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelGroupMapper.java +++ b/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelGroupMapper.java @@ -13,5 +13,7 @@ public interface ExtPanelGroupMapper { //会级联删除pid 下的所有数据 int deleteCircle(@Param("pid") String pid); + PanelGroupDTO panelGroup(String id); -} \ No newline at end of file + +} diff --git a/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelGroupMapper.xml b/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelGroupMapper.xml index 76d4aaf26a..0f37e2c0d1 100644 --- a/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelGroupMapper.xml +++ b/backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelGroupMapper.xml @@ -2,38 +2,43 @@ - - - + + + - + select panel_group.*,panel_group.name as label from panel_group where id =#{id} - + + + delete from panel_group where FIND_IN_SET(panel_group.id,GET_PANEL_GROUP_WITH_CHILDREN(#{pid})) - \ No newline at end of file + diff --git a/backend/src/main/java/io/dataease/controller/CommonFilesController.java b/backend/src/main/java/io/dataease/controller/CommonFilesController.java index 11589cc5c3..c8d409aef4 100644 --- a/backend/src/main/java/io/dataease/controller/CommonFilesController.java +++ b/backend/src/main/java/io/dataease/controller/CommonFilesController.java @@ -17,6 +17,11 @@ public class CommonFilesController { @GetMapping("/images/{imageId}") public ResponseEntity image(@PathVariable("imageId") String imageId) { - return commonFilesService.getImageById(imageId); + return commonFilesService.getImageById(imageId,null); + } + + @GetMapping("/images/{imageId}/{defaultImage}") + public ResponseEntity image(@PathVariable("imageId") String imageId,@PathVariable("defaultImage") String defaultImage) { + return commonFilesService.getImageById(imageId,defaultImage); } } diff --git a/backend/src/main/java/io/dataease/controller/panel/PanelDesignController.java b/backend/src/main/java/io/dataease/controller/panel/PanelDesignController.java new file mode 100644 index 0000000000..924cd0e5d2 --- /dev/null +++ b/backend/src/main/java/io/dataease/controller/panel/PanelDesignController.java @@ -0,0 +1,28 @@ +package io.dataease.controller.panel; + +import io.dataease.controller.request.panel.PanelGroupRequest; +import io.dataease.dto.panel.PanelGroupDTO; +import io.dataease.service.panel.PanelGroupService; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import java.util.List; + +/** + * Author: wangjiahao + * Date: 2021-03-05 + * Description: + */ +@RestController +@RequestMapping("panel/design") +public class PanelDesignController { + + @Resource + private PanelGroupService panelGroupService; + +// @GetMapping("/find/{id}") +// public void deleteCircle(@PathVariable String id) { +// panelGroupService.deleteCircle(id); +// } + +} diff --git a/backend/src/main/java/io/dataease/controller/panel/PanelGroupController.java b/backend/src/main/java/io/dataease/controller/panel/PanelGroupController.java index 2d9e61cabc..5180b128c5 100644 --- a/backend/src/main/java/io/dataease/controller/panel/PanelGroupController.java +++ b/backend/src/main/java/io/dataease/controller/panel/PanelGroupController.java @@ -45,4 +45,10 @@ public class PanelGroupController { public void deleteCircle(@PathVariable String id) { panelGroupService.deleteCircle(id); } + + @GetMapping("/findOne/{id}") + public PanelGroupDTO findOne(@PathVariable String id) throws Exception { + return panelGroupService.findOne(id); + } + } diff --git a/backend/src/main/java/io/dataease/dto/panel/PanelDesignDTO.java b/backend/src/main/java/io/dataease/dto/panel/PanelDesignDTO.java new file mode 100644 index 0000000000..68d5a79a78 --- /dev/null +++ b/backend/src/main/java/io/dataease/dto/panel/PanelDesignDTO.java @@ -0,0 +1,29 @@ +package io.dataease.dto.panel; + +import io.dataease.base.domain.PanelDesign; +import io.dataease.dto.chart.ChartViewDTO; +import lombok.Data; + +/** + * Author: wangjiahao + * Date: 2021-03-17 + * Description: + */ +@Data +public class PanelDesignDTO extends PanelDesign { + + //当前视图是否在仪表盘中显示 + private boolean keepFlag = false; + + private ChartViewDTO chartView; + + private Object systemComponent; + + public PanelDesignDTO() { + + } + public PanelDesignDTO(ChartViewDTO chartView) { + this.chartView=chartView; + } + +} diff --git a/backend/src/main/java/io/dataease/dto/panel/PanelGroupDTO.java b/backend/src/main/java/io/dataease/dto/panel/PanelGroupDTO.java index eb1c597027..4965167196 100644 --- a/backend/src/main/java/io/dataease/dto/panel/PanelGroupDTO.java +++ b/backend/src/main/java/io/dataease/dto/panel/PanelGroupDTO.java @@ -1,9 +1,10 @@ package io.dataease.dto.panel; import io.dataease.base.domain.PanelGroup; -import io.dataease.dto.dataset.DataSetGroupDTO; +import io.dataease.dto.chart.ChartViewDTO; import lombok.Data; +import java.util.ArrayList; import java.util.List; /** @@ -17,4 +18,10 @@ public class PanelGroupDTO extends PanelGroup { private String label; private List children; + + //仪表盘组件样式设计 + private List panelDesigns = new ArrayList<>(); + + private List viewsUsable = new ArrayList<>(); + } diff --git a/backend/src/main/java/io/dataease/service/CommonFilesService.java b/backend/src/main/java/io/dataease/service/CommonFilesService.java index 9b8235c7a1..3696b4a0c5 100644 --- a/backend/src/main/java/io/dataease/service/CommonFilesService.java +++ b/backend/src/main/java/io/dataease/service/CommonFilesService.java @@ -1,6 +1,7 @@ package io.dataease.service; import io.dataease.base.domain.FileMetadata; +import org.apache.commons.lang.StringUtils; import org.springframework.http.HttpHeaders; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; @@ -10,24 +11,27 @@ import javax.annotation.Resource; @Service public class CommonFilesService { + public final static String VIEW_DEFAULT_IMAGE="VIEW_DEFAULT_IMAGE"; @Resource private FileService fileService; - public ResponseEntity getImageById(String imageId) { + public ResponseEntity getImageById(String imageId,String defaultImage) { byte[] bytes = null; MediaType contentType = MediaType.parseMediaType("application/octet-stream"); FileMetadata fileMetadata = fileService.copyFile(imageId); + if (fileMetadata == null&& StringUtils.isNotEmpty(defaultImage)) { + imageId = defaultImage; + fileMetadata = fileService.copyFile(imageId); + } if (fileMetadata == null) { return null; } - bytes = fileService.loadFileAsBytes(imageId); return ResponseEntity.ok() .contentType(contentType) .header(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=\"" + fileMetadata.getName() + "\"") .body(bytes); } - } diff --git a/backend/src/main/java/io/dataease/service/panel/PanelGroupService.java b/backend/src/main/java/io/dataease/service/panel/PanelGroupService.java index e82f5ab56f..eee8984072 100644 --- a/backend/src/main/java/io/dataease/service/panel/PanelGroupService.java +++ b/backend/src/main/java/io/dataease/service/panel/PanelGroupService.java @@ -1,17 +1,26 @@ package io.dataease.service.panel; -import io.dataease.base.domain.DatasetGroup; +import io.dataease.base.domain.*; +import io.dataease.base.mapper.ChartViewMapper; +import io.dataease.base.mapper.PanelDesignMapper; import io.dataease.base.mapper.PanelGroupMapper; import io.dataease.base.mapper.ext.ExtPanelGroupMapper; import io.dataease.commons.utils.BeanUtils; import io.dataease.controller.request.panel.PanelGroupRequest; +import io.dataease.dto.chart.ChartViewDTO; import io.dataease.dto.dataset.DataSetGroupDTO; +import io.dataease.dto.panel.PanelDesignDTO; import io.dataease.dto.panel.PanelGroupDTO; +import io.dataease.service.chart.ChartViewService; +import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; import org.springframework.util.Assert; import javax.annotation.Resource; +import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.UUID; @@ -24,10 +33,18 @@ import java.util.UUID; @Service public class PanelGroupService { + private Logger LOGGER = LoggerFactory.getLogger(this.getClass()); + @Resource private PanelGroupMapper panelGroupMapper; @Resource private ExtPanelGroupMapper extPanelGroupMapper; + @Resource + private PanelDesignMapper panelDesignMapper; + @Resource + private ChartViewService chartViewService; + @Resource + private ChartViewMapper chartViewMapper; public List tree(PanelGroupRequest panelGroupRequest) { List panelGroupDTOList = extPanelGroupMapper.panelGroupList(panelGroupRequest); @@ -69,4 +86,44 @@ public class PanelGroupService { } + public PanelGroupDTO findOne(String panelId) throws Exception{ + PanelGroupDTO panelGroupDTO = extPanelGroupMapper.panelGroup(panelId); + Assert.notNull(panelGroupDTO, "未查询到仪表盘信息"); + PanelDesignExample panelDesignExample = new PanelDesignExample(); + panelDesignExample.createCriteria().andPanelIdEqualTo(panelId); + List panelDesignList = panelDesignMapper.selectByExample(panelDesignExample); + if(CollectionUtils.isNotEmpty(panelDesignList)){ + List panelDesignDTOList = new ArrayList<>(); + //TODO 加载所有视图和组件的数据 + for(PanelDesign panelDesign:panelDesignList){ + //TODO 获取view 视图数据 + ChartViewDTO chartViewDTO = chartViewService.getData(panelDesign.getComponentId()); + //TODO 获取systemComponent 系统组件数据(待开发) + + PanelDesignDTO panelDesignDTO = new PanelDesignDTO(chartViewDTO); + BeanUtils.copyBean(panelDesignDTO,panelDesign); + panelDesignDTO.setKeepFlag(true); + panelDesignDTOList.add(panelDesignDTO); + } + panelGroupDTO.setPanelDesigns(panelDesignDTOList); + } + //获取所有可用的视图 + panelGroupDTO.setViewsUsable(getUsableViews(panelId)); + return panelGroupDTO; + } + + + public List getUsableViews(String panelId) throws Exception{ + List chartViewDTOList = new ArrayList<>(); + List allChartView = chartViewMapper.selectByExample(null); + Optional.ofNullable(allChartView).orElse(new ArrayList<>()).stream().forEach(chartView -> { + try { + chartViewDTOList.add(chartViewService.getData(chartView.getId())); + }catch (Exception e){ + LOGGER.error("获取view详情出错:"+chartView.getId(),e); + } + }); + return chartViewDTOList; + } + } diff --git a/frontend/package.json b/frontend/package.json index 194e165f0f..06e9ee05d8 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -34,7 +34,8 @@ "vue-router": "3.0.6", "vuedraggable": "^2.24.3", "vuex": "3.1.0", - "webpack": "^4.46.0" + "webpack": "^4.46.0", + "vue-uuid": "2.0.2" }, "devDependencies": { "@babel/core": "^7.4.0-0", diff --git a/frontend/src/api/panel/panel.js b/frontend/src/api/panel/panel.js index 5a91e41b0d..5e269dec3b 100644 --- a/frontend/src/api/panel/panel.js +++ b/frontend/src/api/panel/panel.js @@ -108,4 +108,11 @@ export function post(url, data) { }) } -export default { loadTable, getScene, addGroup, delGroup, addTable, delTable, groupTree, defaultTree } +export function get(url) { + return request({ + url: url, + method: 'get' + }) +} + +export default {post,get,groupTree, defaultTree } diff --git a/frontend/src/components/vue-drag-resize-rotate/index.vue b/frontend/src/components/vue-drag-resize-rotate/index.vue index 16686fc84e..5d64565b9e 100644 --- a/frontend/src/components/vue-drag-resize-rotate/index.vue +++ b/frontend/src/components/vue-drag-resize-rotate/index.vue @@ -69,7 +69,11 @@ export default { replace: true, name: 'VueDragResizeRotate', props: { - viewId: { + preStyle: { + type: Object, + default: null + }, + panelDesignId: { type: String, default: '' }, @@ -308,6 +312,8 @@ export default { data: function() { return { + styleInit:true, + styleCatch:{}, left: this.x, top: this.y, right: null, @@ -408,13 +414,21 @@ export default { } }, style() { - return { - transform: `translate(${this.left}px, ${this.top}px) rotate(${this.rotate}deg)`, - width: this.computedWidth, - height: this.computedHeight, - zIndex: this.zIndex, - ...(this.dragging && this.disableUserSelect ? userSelectNone : userSelectAuto) + let newStyle ={}; + if(this.styleInit && this.preStyle){ + newStyle = this.preStyle; + }else{ + newStyle ={ + transform: `translate(${this.left}px, ${this.top}px) rotate(${this.rotate}deg)`, + width: this.computedWidth, + height: this.computedHeight, + zIndex: this.zIndex, + ...(this.dragging && this.disableUserSelect ? userSelectNone : userSelectAuto) + }; } + this.styleInit = false; + this.$emit('newStyle', this.panelDesignId,newStyle); + return newStyle; }, // 控制柄显示与否 actualHandles() { @@ -566,6 +580,14 @@ export default { this.resetBoundsAndMouseState() }, mounted: function() { + //f2c 页面初始化后对样式重新赋值 + if(this.preStyle){ + + + + } + + if (!this.enableNativeDrag) { this.$el.ondragstart = () => false } @@ -601,9 +623,8 @@ export default { methods: { removeView(){ - debugger - console.log(this.viewId); - this.$emit('removeView',this.viewId) + // console.log(this.panelDesignId); + this.$emit('removeView',this.panelDesignId) }, // 重置边界和鼠标状态 resetBoundsAndMouseState() { diff --git a/frontend/src/main.js b/frontend/src/main.js index 7326ce4c68..ae4d9aa02d 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -30,6 +30,10 @@ import UmyUi from 'umy-ui' import 'umy-ui/lib/theme-chalk/index.css'// 引入样式 Vue.use(UmyUi) +// 引入vue-UUID组件 +import UUID from 'vue-uuid' +Vue.use(UUID) + /** * If you don't want to use mock-server * you want to use MockJs for mock api diff --git a/frontend/src/store/modules/panel.js b/frontend/src/store/modules/panel.js index d90be32b5a..d0a025b636 100644 --- a/frontend/src/store/modules/panel.js +++ b/frontend/src/store/modules/panel.js @@ -3,6 +3,7 @@ const getDefaultState = () => { return { panelName: '', panelInfo:{ + id:null, name:'' } } @@ -15,7 +16,6 @@ const mutations = { state.panelName = panelName }, setPanelInfo: (state, panelInfo) => { - debugger state.panelInfo = panelInfo } } @@ -25,7 +25,6 @@ const actions = { commit('setPanelName', panelName) }, setPanelInfo({ commit }, panelInfo) { - debugger commit('setPanelInfo', panelInfo) } } diff --git a/frontend/src/views/chart/components/ChartComponent.vue b/frontend/src/views/chart/components/ChartComponent.vue index 3cf27335bc..8a9440894f 100644 --- a/frontend/src/views/chart/components/ChartComponent.vue +++ b/frontend/src/views/chart/components/ChartComponent.vue @@ -1,6 +1,6 @@ @@ -13,6 +13,10 @@ export default { chart: { type: Object, required: true + }, + chartId: { + type: String, + required: false } }, data() { @@ -22,15 +26,21 @@ export default { }, watch: { chart() { + debugger + this.drawEcharts() + }, + resize() { this.drawEcharts() } }, mounted() { // 基于准备好的dom,初始化echarts实例 - this.myChart = this.$echarts.init(document.getElementById('echart')) + this.myChart = this.$echarts.init(document.getElementById(this.chartId)) + this.drawEcharts() }, methods: { drawEcharts() { + debugger const chart = this.chart let chart_option = {} // todo type @@ -65,6 +75,11 @@ export default { window.onresize = function() { chart.resize() } + }, + chartResize() { + // 指定图表的配置项和数据 + const chart = this.myChart + chart.resize() } } } diff --git a/frontend/src/views/panel/chart/chart.js b/frontend/src/views/panel/chart/chart.js index 4f61c83d7f..ee38bc088f 100644 --- a/frontend/src/views/panel/chart/chart.js +++ b/frontend/src/views/panel/chart/chart.js @@ -1,3 +1,7 @@ +export const DEFAULT_COLOR_CASE = { + value: 'default', + colors: ['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc'] +} export const BASE_BAR = { title: { text: '' @@ -15,6 +19,23 @@ export const BASE_BAR = { series: [] } -export default { - BASE_BAR +export const BASE_LINE = { + title: { + text: '' + }, + tooltip: {}, + legend: { + data: [] + }, + xAxis: { + data: [] + }, + yAxis: { + type: 'value' + }, + series: [] +} + +export default { + BASE_BAR, BASE_LINE, DEFAULT_COLOR_CASE } diff --git a/frontend/src/views/panel/components/ChartComponent.vue b/frontend/src/views/panel/components/ChartComponent.vue new file mode 100644 index 0000000000..6b7c98b383 --- /dev/null +++ b/frontend/src/views/panel/components/ChartComponent.vue @@ -0,0 +1,77 @@ + + + + + diff --git a/frontend/src/views/panel/components/ColorSelector.vue b/frontend/src/views/panel/components/ColorSelector.vue new file mode 100644 index 0000000000..383cd1ee4f --- /dev/null +++ b/frontend/src/views/panel/components/ColorSelector.vue @@ -0,0 +1,130 @@ + + + + + diff --git a/frontend/src/views/panel/components/DimensionItem.vue b/frontend/src/views/panel/components/DimensionItem.vue new file mode 100644 index 0000000000..8eea1a7926 --- /dev/null +++ b/frontend/src/views/panel/components/DimensionItem.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/frontend/src/views/panel/components/QuotaItem.vue b/frontend/src/views/panel/components/QuotaItem.vue new file mode 100644 index 0000000000..1efa6c5ced --- /dev/null +++ b/frontend/src/views/panel/components/QuotaItem.vue @@ -0,0 +1,164 @@ + + + + + diff --git a/frontend/src/views/panel/list/PanelViewShow.vue b/frontend/src/views/panel/list/PanelViewShow.vue index 8295a524de..70090ef6e6 100644 --- a/frontend/src/views/panel/list/PanelViewShow.vue +++ b/frontend/src/views/panel/list/PanelViewShow.vue @@ -5,9 +5,9 @@ - 视图 + 视图 -
+
{{ item.name }} - +
@@ -25,7 +25,7 @@ - 组件 + 组件 开发中... @@ -39,34 +39,24 @@ 背景图 - + 预览 -
+
+ + + -
- - - - - - - - - - - - + -
+
- - - - @@ -75,239 +65,124 @@