diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css b/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css
index e8dc4c4a1..61ad27834 100644
--- a/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css
+++ b/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css
@@ -737,6 +737,20 @@ label {
background-color: #12889a
}
+.select-list .select2-container--bootstrap {
+ width: 200px!important;
+ display: inline-block;
+}
+
+.select-list .select2-container--bootstrap .select2-selection {
+ border-radius: 6px;
+}
+
+.select-list .select2-container--bootstrap .select2-selection--single {
+ height: 30px!important;
+ padding: 5px 10px;
+}
+
.select-list .select-time input {
width: 93px;
}
diff --git a/ruoyi-admin/src/main/resources/templates/index.html b/ruoyi-admin/src/main/resources/templates/index.html
index 6d5aa7fde..e431060e3 100644
--- a/ruoyi-admin/src/main/resources/templates/index.html
+++ b/ruoyi-admin/src/main/resources/templates/index.html
@@ -47,10 +47,10 @@
-
- 主页
+
+ 主页
diff --git a/ruoyi-generator/src/main/java/com/ruoyi/generator/controller/GenController.java b/ruoyi-generator/src/main/java/com/ruoyi/generator/controller/GenController.java
index 6e4f710dc..33b11032e 100644
--- a/ruoyi-generator/src/main/java/com/ruoyi/generator/controller/GenController.java
+++ b/ruoyi-generator/src/main/java/com/ruoyi/generator/controller/GenController.java
@@ -46,8 +46,9 @@ public class GenController extends BaseController
@RequiresPermissions("tool:gen:view")
@GetMapping()
- public String gen()
+ public String gen(ModelMap mmap)
{
+ mmap.put("genTables", genTableService.selectGenTableList(new GenTable()));
return prefix + "/gen";
}
@@ -97,8 +98,9 @@ public class GenController extends BaseController
*/
@RequiresPermissions("tool:gen:list")
@GetMapping("/importTable")
- public String importTable()
+ public String importTable(ModelMap mmap)
{
+ mmap.put("dbTables", genTableService.selectDbTableList(new GenTable()));
return prefix + "/importTable";
}
diff --git a/ruoyi-generator/src/main/resources/templates/tool/gen/gen.html b/ruoyi-generator/src/main/resources/templates/tool/gen/gen.html
index 551ddee4b..f314c0ec2 100644
--- a/ruoyi-generator/src/main/resources/templates/tool/gen/gen.html
+++ b/ruoyi-generator/src/main/resources/templates/tool/gen/gen.html
@@ -2,6 +2,7 @@
+
@@ -11,10 +12,16 @@
@@ -52,6 +59,7 @@
+
\ No newline at end of file
diff --git a/ruoyi-generator/src/main/resources/templates/tool/gen/importTable.html b/ruoyi-generator/src/main/resources/templates/tool/gen/importTable.html
index 294ca8567..8327a50aa 100644
--- a/ruoyi-generator/src/main/resources/templates/tool/gen/importTable.html
+++ b/ruoyi-generator/src/main/resources/templates/tool/gen/importTable.html
@@ -2,6 +2,7 @@
+
@@ -11,14 +12,20 @@
@@ -31,6 +38,7 @@
+
\ No newline at end of file