Browse Source

更新初始化数据

zhontai 2 years ago
parent
commit
9582c6dafd

+ 81 - 63
src/hosts/ZhonTai.Host/InitData/Admin/ad_permission.json

@@ -5,7 +5,7 @@
     "type": 1,
     "path": "/platform",
     "redirect": "/platform/workbench",
-    "icon": "ele-HomeFilled",
+    "icon": "ele-Platform",
     "opened": true,
     "isKeepAlive": true,
     "sort": 1,
@@ -18,7 +18,8 @@
         "type": 2,
         "viewId": 161227168428101,
         "path": "/platform/workbench",
-        "icon": "ele-HomeFilled",
+        "icon": "fa fa-line-chart",
+        "opened": true,
         "isKeepAlive": true,
         "isAffix": true,
         "sort": 1,
@@ -33,7 +34,7 @@
         "type": 1,
         "path": "/platform/auth",
         "redirect": "/platform/auth/user",
-        "icon": "ele-HomeFilled",
+        "icon": "fa fa-lock",
         "opened": true,
         "isKeepAlive": true,
         "sort": 2,
@@ -47,7 +48,8 @@
             "type": 2,
             "viewId": 161227168436295,
             "path": "/platform/auth/user",
-            "icon": "ele-HomeFilled",
+            "icon": "ele-Avatar",
+            "opened": true,
             "external": true,
             "isKeepAlive": true,
             "sort": 1,
@@ -61,6 +63,7 @@
                 "code": "api:admin:user:getpage",
                 "type": 3,
                 "path": "",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 1,
                 "description": "",
@@ -74,6 +77,7 @@
                 "code": "api:admin:user:add",
                 "type": 3,
                 "path": "",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 2,
                 "description": "",
@@ -87,6 +91,7 @@
                 "code": "api:admin:user:update",
                 "type": 3,
                 "path": "",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 3,
                 "description": "",
@@ -100,6 +105,7 @@
                 "code": "api:admin:user:delete",
                 "type": 3,
                 "path": "",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 4,
                 "description": "",
@@ -156,7 +162,8 @@
             "type": 2,
             "viewId": 161227168440389,
             "path": "/platform/auth/role",
-            "icon": "ele-HomeFilled",
+            "icon": "fa fa-universal-access",
+            "opened": true,
             "isKeepAlive": true,
             "sort": 2,
             "description": "",
@@ -169,6 +176,7 @@
                 "code": "api:admin:role:get-list",
                 "type": 3,
                 "path": " ",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 1,
                 "description": "",
@@ -182,6 +190,7 @@
                 "code": "api:admin:role:add",
                 "type": 3,
                 "path": " ",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 2,
                 "description": "",
@@ -195,6 +204,7 @@
                 "code": "api:admin:role:update",
                 "type": 3,
                 "path": " ",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 3,
                 "description": "",
@@ -208,6 +218,7 @@
                 "code": "api:admin:role:delete",
                 "type": 3,
                 "path": " ",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 4,
                 "description": "",
@@ -222,6 +233,7 @@
                 "type": 3,
                 "path": " ",
                 "icon": "",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 5,
                 "description": "",
@@ -276,7 +288,8 @@
             "type": 2,
             "viewId": 161227168440390,
             "path": "/platform/auth/api",
-            "icon": "ele-HomeFilled",
+            "icon": "ele-Operation",
+            "opened": true,
             "isKeepAlive": true,
             "sort": 4,
             "description": "",
@@ -304,6 +317,7 @@
                 "code": "api:admin:api:add",
                 "type": 3,
                 "path": " ",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 2,
                 "description": "",
@@ -317,6 +331,7 @@
                 "code": "api:admin:api:update",
                 "type": 3,
                 "path": " ",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 3,
                 "description": "",
@@ -330,6 +345,7 @@
                 "code": "api:admin:api:softdelete",
                 "type": 3,
                 "path": " ",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 4,
                 "description": "",
@@ -375,7 +391,7 @@
             "type": 2,
             "viewId": 161227168444485,
             "path": "/platform/auth/view",
-            "icon": "ele-HomeFilled",
+            "icon": "ele-Menu",
             "opened": true,
             "isKeepAlive": true,
             "sort": 5,
@@ -469,7 +485,8 @@
             "type": 2,
             "viewId": 161227168444486,
             "path": "/platform/auth/permission",
-            "icon": "ele-HomeFilled",
+            "icon": "iconfont icon-quanxian",
+            "opened": true,
             "isKeepAlive": true,
             "sort": 5,
             "description": "",
@@ -549,6 +566,7 @@
                 "code": "api:admin:permission:softdelete",
                 "type": 3,
                 "path": " ",
+                "opened": true,
                 "isKeepAlive": true,
                 "sort": 8,
                 "description": "",
@@ -596,48 +614,6 @@
               }
             ]
           },
-          {
-            "id": 161227168743493,
-            "parentId": 161227168636997,
-            "label": "缓存管理",
-            "type": 2,
-            "viewId": 161227168448582,
-            "path": "/platform/auth/cache",
-            "icon": "ele-HomeFilled",
-            "opened": true,
-            "isKeepAlive": true,
-            "sort": 6,
-            "description": "",
-            "enabled": true,
-            "childs": [
-              {
-                "id": 161227168747589,
-                "parentId": 161227168743493,
-                "label": "查询",
-                "code": "api:admin:cache:list",
-                "type": 3,
-                "opened": true,
-                "isKeepAlive": true,
-                "sort": 1,
-                "description": "",
-                "enabled": true,
-                "childs": []
-              },
-              {
-                "id": 161227168747590,
-                "parentId": 161227168743493,
-                "label": "清除缓存",
-                "code": "api:admin:cache:clear",
-                "type": 3,
-                "opened": true,
-                "isKeepAlive": true,
-                "sort": 2,
-                "description": "",
-                "enabled": true,
-                "childs": []
-              }
-            ]
-          },
           {
             "id": 161227168751685,
             "parentId": 161227168636997,
@@ -645,7 +621,7 @@
             "type": 2,
             "viewId": 161227168448583,
             "path": "/platform/auth/tenant",
-            "icon": "ele-HomeFilled",
+            "icon": "fa fa-user-o",
             "opened": true,
             "isKeepAlive": true,
             "sort": 7,
@@ -822,13 +798,55 @@
         "type": 1,
         "path": "/platform/system",
         "redirect": "/platform/system/dictionary",
-        "icon": "ele-HomeFilled",
+        "icon": "fa fa-windows",
         "opened": true,
         "isKeepAlive": true,
         "sort": 3,
         "description": "",
         "enabled": true,
         "childs": [
+          {
+            "id": 161227168743493,
+            "parentId": 161227168763974,
+            "label": "缓存管理",
+            "type": 2,
+            "viewId": 161227168448582,
+            "path": "/platform/auth/cache",
+            "icon": "ele-Brush",
+            "opened": true,
+            "isKeepAlive": true,
+            "sort": 3,
+            "description": "",
+            "enabled": true,
+            "childs": [
+              {
+                "id": 161227168747589,
+                "parentId": 161227168743493,
+                "label": "查询",
+                "code": "api:admin:cache:list",
+                "type": 3,
+                "opened": true,
+                "isKeepAlive": true,
+                "sort": 1,
+                "description": "",
+                "enabled": true,
+                "childs": []
+              },
+              {
+                "id": 161227168747590,
+                "parentId": 161227168743493,
+                "label": "清除缓存",
+                "code": "api:admin:cache:clear",
+                "type": 3,
+                "opened": true,
+                "isKeepAlive": true,
+                "sort": 2,
+                "description": "",
+                "enabled": true,
+                "childs": []
+              }
+            ]
+          },
           {
             "id": 161227168796741,
             "parentId": 161227168763974,
@@ -836,11 +854,11 @@
             "type": 2,
             "viewId": 161227168456774,
             "path": "/platform/system/document",
-            "icon": "ele-HomeFilled",
+            "icon": "ele-Document",
             "opened": true,
             "external": true,
             "isKeepAlive": true,
-            "sort": 1,
+            "sort": 4,
             "description": "",
             "enabled": true,
             "childs": [
@@ -983,7 +1001,7 @@
             "type": 2,
             "viewId": 187053736300613,
             "path": "/platform/system/dictionary",
-            "icon": "ele-HomeFilled",
+            "icon": "fa fa-database",
             "opened": true,
             "isKeepAlive": true,
             "sort": 1,
@@ -1064,7 +1082,7 @@
             "type": 2,
             "viewId": 336556164300869,
             "path": "/platform/system/task",
-            "icon": "ele-HomeFilled",
+            "icon": "fa fa-tasks",
             "opened": true,
             "isKeepAlive": true,
             "sort": 2,
@@ -1199,7 +1217,7 @@
         "type": 1,
         "path": "/platform/log",
         "redirect": "/platform/log/login-log",
-        "icon": "ele-HomeFilled",
+        "icon": "ele-Document",
         "opened": true,
         "isKeepAlive": true,
         "sort": 4,
@@ -1212,7 +1230,7 @@
             "type": 2,
             "viewId": 161227168456773,
             "path": "/platform/log/login-log",
-            "icon": "ele-HomeFilled",
+            "icon": "ele-Document",
             "opened": true,
             "isKeepAlive": true,
             "sort": 1,
@@ -1241,7 +1259,7 @@
             "type": 2,
             "viewId": 161227168452678,
             "path": "/platform/log/opration-log",
-            "icon": "ele-HomeFilled",
+            "icon": "ele-Document",
             "opened": true,
             "isKeepAlive": true,
             "sort": 2,
@@ -1273,7 +1291,7 @@
     "type": 1,
     "path": "/help",
     "redirect": "/help/admin",
-    "icon": "ele-HomeFilled",
+    "icon": "ele-Notebook",
     "opened": true,
     "isKeepAlive": true,
     "sort": 2,
@@ -1286,7 +1304,7 @@
         "type": 2,
         "viewId": 361047593013317,
         "path": "/help/admin",
-        "icon": "ele-HomeFilled",
+        "icon": "fa fa-search",
         "opened": true,
         "isKeepAlive": true,
         "link": "https://zhontai.net",
@@ -1302,7 +1320,7 @@
         "type": 2,
         "viewId": 361047593013317,
         "path": "/help/freesql",
-        "icon": "ele-HomeFilled",
+        "icon": "fa fa-search",
         "opened": true,
         "isKeepAlive": true,
         "link": "http://freesql.net/guide",
@@ -1319,7 +1337,7 @@
     "type": 2,
     "viewId": 161227168436293,
     "path": "/personal",
-    "icon": "ele-HomeFilled",
+    "icon": "fa fa-user-circle",
     "opened": true,
     "isKeepAlive": true,
     "sort": 3,

+ 1 - 0
src/hosts/ZhonTai.Host/InitData/Admin/ad_view.json

@@ -2,6 +2,7 @@
   {
     "id": 161227168313413,
     "label": "平台管理",
+    "cache": true,
     "sort": 1,
     "enabled": true,
     "childs": [