diff --git a/.typos.toml b/.typos.toml index 738b13e271..d9416da7b8 100644 --- a/.typos.toml +++ b/.typos.toml @@ -6,6 +6,7 @@ testng = "testng" ba = "ba" referer = "referer" keynode = "keynode" +SCHEM = "SCHEM" [files] extend-exclude = ["public/", "amap-wx/", "m-icon/", "uni-card/", "uni-col/", "uni-link/", "uni-list/", "uni-list-item/", "uni-row/", "migration/", "mapFiles/", "frontend/src/views/chart/components/table/TableNormal.vue"] diff --git a/Dockerfile b/Dockerfile index 209a5a99b1..83885e4eec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.cn-qingdao.aliyuncs.com/dataease/fabric8-java-alpine-openjdk8-jre:edge-chromium +FROM registry.cn-qingdao.aliyuncs.com/dataease/fabric8-java-alpine-openjdk8-jre:edge-chromium-11 ARG IMAGE_TAG diff --git a/backend/pom.xml b/backend/pom.xml index a4dfbe8c94..69d5e919d3 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -14,7 +14,7 @@ UTF-8 1.9.1 - 1.8 + 11 20.1.0 3.12.1 4.0.0 @@ -30,7 +30,7 @@ com.google.guava guava - 31.0.1-jre + 32.0.0-jre org.springframework.boot @@ -429,8 +429,8 @@ org.apache.maven.plugins maven-compiler-plugin - 1.8 - 1.8 + 11 + 11 diff --git a/backend/src/main/java/io/dataease/commons/utils/ExcelXlsxReader.java b/backend/src/main/java/io/dataease/commons/utils/ExcelXlsxReader.java index 5e2c2ea0ef..0eb9c99f5e 100644 --- a/backend/src/main/java/io/dataease/commons/utils/ExcelXlsxReader.java +++ b/backend/src/main/java/io/dataease/commons/utils/ExcelXlsxReader.java @@ -286,7 +286,7 @@ public class ExcelXlsxReader extends DefaultHandler { preRef = "A" + curRow; if (!preRef.equalsIgnoreCase(ref)) { cellList.add(curCol, ""); - curCol++; +// curCol++; } } diff --git a/backend/src/main/java/io/dataease/controller/sys/SysUserController.java b/backend/src/main/java/io/dataease/controller/sys/SysUserController.java index 38e335dcdd..5f46a52c0d 100644 --- a/backend/src/main/java/io/dataease/controller/sys/SysUserController.java +++ b/backend/src/main/java/io/dataease/controller/sys/SysUserController.java @@ -4,10 +4,13 @@ import com.github.pagehelper.Page; import com.github.pagehelper.PageHelper; import com.github.xiaoymin.knife4j.annotations.ApiSupport; import io.dataease.auth.annotation.DeLog; +import io.dataease.auth.annotation.DePermission; import io.dataease.auth.annotation.SqlInjectValidator; import io.dataease.auth.api.dto.CurrentUserDto; import io.dataease.auth.entity.AccountLockStatus; import io.dataease.auth.service.AuthUserService; +import io.dataease.commons.constants.DePermissionType; +import io.dataease.commons.constants.ResourceAuthLevel; import io.dataease.commons.constants.SysLogConstants; import io.dataease.commons.exception.DEException; import io.dataease.commons.utils.AuthUtils; @@ -102,6 +105,19 @@ public class SysUserController { return users; } + @DePermission(type = DePermissionType.DATASET, level = ResourceAuthLevel.DATASET_LEVEL_MANAGE) + @PostMapping("/userGrid/{datasetId}") + @ApiImplicitParams({ + @ApiImplicitParam(paramType = "path", name = "goPage", value = "页码", required = true, dataType = "Integer"), + @ApiImplicitParam(paramType = "path", name = "pageSize", value = "页容量", required = true, dataType = "Integer"), + @ApiImplicitParam(name = "request", value = "查询条件", required = true) + }) + @SqlInjectValidator(value = {"create_time", "u.enabled", "nick_name", "u.dept_id"}) + public Pager> userGrids(@PathVariable String datasetId, @RequestBody KeyGridRequest request) { + return userGrid(0, 0, request); + } + + @ApiOperation("创建用户") @RequiresPermissions("user:add") @PostMapping("/create") diff --git a/frontend/src/components/asyncComponent/index.vue b/frontend/src/components/asyncComponent/index.vue index caa85d89e0..d916de5a2c 100644 --- a/frontend/src/components/asyncComponent/index.vue +++ b/frontend/src/components/asyncComponent/index.vue @@ -3,6 +3,8 @@ :is="mode" :ref="refId" :obj="obj" + :bus="bus" + :axios-request="request" v-bind="$attrs" v-on="$listeners" /> @@ -11,6 +13,9 @@