-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ @cancel="handleCancel">
+
+
+
模块名称:{{moduleName}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ height='auto'
+
+ toolbar
+ :toolbarConfig="toolbarConfig"
-
-
+ row-number
+ row-selection
+ keep-source
+ async-remove
+
+ :pagination="pagination"
+ style="margin-top: 8px;"
+ @pageChange="handlePageChange"
+ @added="added">
+
+
+ 注意: 编辑后请点击保存按钮保存数据
+
+
+
+
+
+
+
无图片
-
- 无文件
-
- 下载
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
+
- 编辑
+
-
- 详情
-
- handleDelete(record.id)">
+
+
+
+
+
+
+
+
+ 保存
+
+
+
+
删除
-
-
-
+
+
-
-
+
+
\ No newline at end of file
diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/controller/TablexController.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/controller/TablexController.java
index b9728fc..a283457 100644
--- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/controller/TablexController.java
+++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/controller/TablexController.java
@@ -1,8 +1,6 @@
package org.jeecg.modules.tablex.controller;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Map;
+import java.util.*;
import java.util.stream.Collectors;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
@@ -86,7 +84,22 @@ public class TablexController extends JeecgController
{
IPage pageList = tablexService.page(page, queryWrapper);
return Result.OK(pageList);
}
-
+ @AutoLog(value = "实体管理-通过模块查询实体")
+ @ApiOperation(value="实体管理-通过模块查询实体", notes="实体管理-通过模块查询实体")
+ @GetMapping(value = "/getTableByModuleId")
+ public Result> getTableByModuleId(@RequestParam(name="moduleId",required=true) String moduleId){
+ if (moduleId!=null){
+ List tablexList = tablexService.list(new QueryWrapper().eq("module_id", moduleId));
+ ArrayList hashMaps = new ArrayList<>();
+ for (Tablex tablex:tablexList){
+ HashMap