diff --git a/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/DepartmentDataDTO.java b/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/DepartmentDataDTO.java new file mode 100644 index 0000000..0c30cb0 --- /dev/null +++ b/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/DepartmentDataDTO.java @@ -0,0 +1,74 @@ +package cn.com.tenlion.pojo.dtos.casestatistics; + +import ink.wgink.pojo.dtos.department.DepartmentDTO; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import java.util.ArrayList; +import java.util.List; + +/** + * + * @ClassName: CaseStatisticsDTO + * @Description: 事件统计 + * @Author: CodeFactory + * @Date: 2021-09-06 17:00:49 + * @Version: 3.0 + **/ +@ApiModel +public class DepartmentDataDTO { + + @ApiModelProperty(name = "departmentId", value = "单位ID") + private String departmentId; + @ApiModelProperty(name = "departmentName", value = "单位名称") + private String departmentName; + @ApiModelProperty(name = "type", value = "1单位.2部门") + private String type; + @ApiModelProperty(name = "dataCount", value = "网格员数量") + private Integer dataCount; + @ApiModelProperty(name = "list", value = "网格员") + private List dataList; + + public List getDataList() { + if (dataList == null) { + return new ArrayList<>(); + } + return dataList; + } + + public void setDataList(List dataList) { + this.dataList = dataList; + } + + public String getDepartmentId() { + return departmentId == null ? "" : departmentId; + } + + public void setDepartmentId(String departmentId) { + this.departmentId = departmentId; + } + + public String getDepartmentName() { + return departmentName == null ? "" : departmentName; + } + + public void setDepartmentName(String departmentName) { + this.departmentName = departmentName; + } + + public Integer getDataCount() { + return dataCount; + } + + public void setDataCount(Integer dataCount) { + this.dataCount = dataCount; + } + + public String getType() { + return type == null ? "" : type; + } + + public void setType(String type) { + this.type = type; + } +} diff --git a/src/main/resources/application-text.yml b/src/main/resources/application-text.yml index fd0f68a..7c34744 100644 --- a/src/main/resources/application-text.yml +++ b/src/main/resources/application-text.yml @@ -147,7 +147,7 @@ file: video: 100 audio: 600 api-path: - #103 + #103 155 user-center: http://192.168.0.155:7011/usercenter security: diff --git a/src/main/resources/static/route/casestatistics/department-grid.html b/src/main/resources/static/route/casestatistics/department-grid.html new file mode 100644 index 0000000..a4d66e8 --- /dev/null +++ b/src/main/resources/static/route/casestatistics/department-grid.html @@ -0,0 +1,760 @@ + + + + + + + + + + + + + + +
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+
+
+ + +
+
+ + +
+ + + + +
+ +
+ + + + + + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/src/main/resources/static/route/sample/list-dept.html b/src/main/resources/static/route/sample/list-dept.html new file mode 100644 index 0000000..f6a5a13 --- /dev/null +++ b/src/main/resources/static/route/sample/list-dept.html @@ -0,0 +1,325 @@ + + + + + + + + + + + + + +
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+ + +
+
+
+
+
+
+
+ + + + + \ No newline at end of file