فهرست منبع

新增部门排序编辑

zhontai 2 سال پیش
والد
کامیت
e53acf1822

+ 2 - 2
src/hosts/ZhonTai.Host/Configs/appconfig.Development.json

@@ -1,8 +1,8 @@
 {
   //跨域地址
-  "corUrls": [ "http://localhost:9000", "http://127.0.0.1:9000", "https://localhost:5000" ],
+  "corUrls": [ ],
   "IdentityServer": {
     //地址
-    "url": "https://localhost:5000"
+    "url": ""
   }
 }

+ 4 - 4
src/hosts/ZhonTai.Host/Configs/appconfig.json

@@ -4,7 +4,7 @@
   //Api地址
   "urls": [ "http://*:8000" ],
   //跨域地址
-  "corUrls": [ "http://localhost:9000", "http://127.0.0.1:9000" ],
+  "corUrls": [ ],
   //程序集名称
   "assemblyNames": [ "ZhonTai.Admin" ],
   //租户
@@ -30,7 +30,7 @@
       {
         "name": "中台Admin",
         "code": "admin",
-        "version": "v2.3.3",
+        "version": "v3.0.0",
         "description": ""
       }
     ]
@@ -53,8 +53,8 @@
   "identityServer": {
     //启用
     "enable": false,
-    //地址,开发认证地址前往appconfig.Development.json修改
-    "url": "https://login.zhontai.net"
+    //认证地址
+    "url": "https://localhost:5000"
   },
   //面向切面编程
   "aop": {

+ 1328 - 0
src/hosts/ZhonTai.Host/InitData/Admin/ad_permission.vue2.json

@@ -0,0 +1,1328 @@
+[
+  {
+    "id": 161227168464965,
+    "label": "个人管理",
+    "type": 1,
+    "path": "",
+    "icon": "el-icon-s-custom",
+    "enabled": true,
+    "closable": false,
+    "opened": true,
+    "sort": 3,
+    "description": "",
+    "childs": [
+      {
+        "id": 161227168624709,
+        "parentId": 161227168464965,
+        "label": "个人设置",
+        "type": 2,
+        "viewId": 161227168436293,
+        "path": "/account/settings",
+        "icon": "el-icon-setting",
+        "enabled": true,
+        "closable": true,
+        "opened": false,
+        "newWindow": false,
+        "external": false,
+        "sort": 1,
+        "description": "",
+        "childs": [
+          {
+            "id": 161227168628805,
+            "parentId": 161227168624709,
+            "label": "查询基本信息",
+            "code": "api:admin:user:getbasic",
+            "type": 3,
+            "path": "",
+            "icon": "",
+            "enabled": true,
+            "closable": false,
+            "opened": false,
+            "sort": 1,
+            "description": ""
+          },
+          {
+            "id": 161227168628806,
+            "parentId": 161227168624709,
+            "label": "更新基本信息",
+            "code": "api:admin:user:updatebasic",
+            "type": 3,
+            "enabled": true,
+            "sort": 2,
+            "description": ""
+          },
+          {
+            "id": 161227168632901,
+            "parentId": 161227168624709,
+            "label": "更新密码",
+            "code": "api:admin:user:changepassword",
+            "type": 3,
+            "path": " ",
+            "icon": "",
+            "enabled": true,
+            "closable": false,
+            "opened": false,
+            "sort": 3,
+            "description": ""
+          }
+        ]
+      }
+    ]
+  },
+  {
+    "id": 161227168497733,
+    "label": "平台管理",
+    "type": 1,
+    "icon": "el-icon-s-platform",
+    "enabled": true,
+    "opened": true,
+    "sort": 2,
+    "childs": [
+      {
+        "id": 161227168632902,
+        "parentId": 161227168497733,
+        "label": "更新日志",
+        "type": 2,
+        "viewId": 161227168428101,
+        "path": "/",
+        "icon": "el-icon-notebook-2",
+        "enabled": true,
+        "closable": false,
+        "opened": false,
+        "newWindow": false,
+        "external": false,
+        "sort": 1,
+        "description": "",
+        "childs": []
+      },
+      {
+        "id": 161227168636997,
+        "parentId": 161227168497733,
+        "label": "权限管理",
+        "type": 1,
+        "path": "",
+        "icon": "fa fa-sitemap",
+        "enabled": true,
+        "closable": false,
+        "opened": true,
+        "sort": 2,
+        "description": "",
+        "childs": [
+          {
+            "id": 161227168636998,
+            "parentId": 161227168636997,
+            "label": "用户管理",
+            "type": 2,
+            "viewId": 161227168436295,
+            "path": "/admin/user",
+            "enabled": true,
+            "closable": true,
+            "opened": false,
+            "newWindow": false,
+            "external": true,
+            "sort": 1,
+            "description": "",
+            "childs": [
+              {
+                "id": 161227168641093,
+                "parentId": 161227168636998,
+                "label": "查询",
+                "code": "api:admin:user:getpage",
+                "type": 3,
+                "path": "",
+                "enabled": true,
+                "closable": true,
+                "opened": false,
+                "sort": 1,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168641094,
+                "parentId": 161227168636998,
+                "label": "新增",
+                "code": "api:admin:user:add",
+                "type": 3,
+                "path": "",
+                "enabled": true,
+                "closable": false,
+                "opened": false,
+                "sort": 2,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168645189,
+                "parentId": 161227168636998,
+                "label": "修改",
+                "code": "api:admin:user:update",
+                "type": 3,
+                "path": "",
+                "enabled": true,
+                "closable": true,
+                "opened": false,
+                "sort": 3,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168645190,
+                "parentId": 161227168636998,
+                "label": "删除",
+                "code": "api:admin:user:delete",
+                "type": 3,
+                "path": "",
+                "enabled": true,
+                "closable": true,
+                "opened": false,
+                "sort": 4,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168649285,
+                "parentId": 161227168636998,
+                "label": "批量删除",
+                "code": "api:admin:user:batchdelete",
+                "type": 3,
+                "path": "",
+                "icon": "",
+                "enabled": true,
+                "sort": 5,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 349749511946309,
+                "parentId": 161227168636998,
+                "label": "重置密码",
+                "code": "api:admin:user:reset-password",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 349749778899013,
+                "parentId": 161227168636998,
+                "label": "设置主管",
+                "code": "api:admin:user:set-manager",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              }
+            ]
+          },
+          {
+            "id": 161227168653381,
+            "parentId": 161227168636997,
+            "label": "角色管理",
+            "type": 2,
+            "viewId": 161227168440389,
+            "path": "/admin/role",
+            "icon": "",
+            "enabled": true,
+            "closable": true,
+            "opened": false,
+            "sort": 2,
+            "description": "",
+            "childs": [
+              {
+                "id": 161227168653382,
+                "parentId": 161227168653381,
+                "label": "查询",
+                "code": "api:admin:role:get-list",
+                "type": 3,
+                "path": " ",
+                "enabled": true,
+                "closable": false,
+                "opened": false,
+                "sort": 1,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168657477,
+                "parentId": 161227168653381,
+                "label": "新增",
+                "code": "api:admin:role:add",
+                "type": 3,
+                "path": " ",
+                "enabled": true,
+                "closable": false,
+                "opened": false,
+                "sort": 2,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168657478,
+                "parentId": 161227168653381,
+                "label": "修改",
+                "code": "api:admin:role:update",
+                "type": 3,
+                "path": " ",
+                "enabled": true,
+                "closable": false,
+                "opened": false,
+                "sort": 3,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168661573,
+                "parentId": 161227168653381,
+                "label": "删除",
+                "code": "api:admin:role:delete",
+                "type": 3,
+                "path": " ",
+                "enabled": true,
+                "closable": true,
+                "opened": false,
+                "sort": 4,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168665669,
+                "parentId": 161227168653381,
+                "label": "批量删除",
+                "code": "api:admin:role:batchdelete",
+                "type": 3,
+                "path": " ",
+                "icon": "",
+                "enabled": true,
+                "closable": false,
+                "opened": false,
+                "sort": 5,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 340645133123653,
+                "parentId": 161227168653381,
+                "label": "设置菜单权限",
+                "code": "api:admin:permission:assign",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 340890474405957,
+                "parentId": 161227168653381,
+                "label": "添加员工",
+                "code": "api:admin:role:add-role-user",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 340890633515077,
+                "parentId": 161227168653381,
+                "label": "移除员工",
+                "code": "api:admin:role:remove-role-user",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              }
+            ]
+          },
+          {
+            "id": 161227168669765,
+            "parentId": 161227168636997,
+            "label": "接口管理",
+            "type": 2,
+            "viewId": 161227168440390,
+            "path": "/admin/api",
+            "enabled": true,
+            "closable": true,
+            "opened": false,
+            "sort": 3,
+            "description": "",
+            "childs": [
+              {
+                "id": 161227168669766,
+                "parentId": 161227168669765,
+                "label": "查询",
+                "code": "api:admin:api:getlist",
+                "type": 3,
+                "path": "",
+                "icon": "",
+                "enabled": true,
+                "sort": 1,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168673861,
+                "parentId": 161227168669765,
+                "label": "新增",
+                "code": "api:admin:api:add",
+                "type": 3,
+                "path": " ",
+                "enabled": true,
+                "closable": false,
+                "opened": false,
+                "sort": 2,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168673862,
+                "parentId": 161227168669765,
+                "label": "修改",
+                "code": "api:admin:api:update",
+                "type": 3,
+                "path": " ",
+                "enabled": true,
+                "closable": false,
+                "opened": false,
+                "sort": 3,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168677957,
+                "parentId": 161227168669765,
+                "label": "删除",
+                "code": "api:admin:api:softdelete",
+                "type": 3,
+                "path": " ",
+                "enabled": true,
+                "closable": false,
+                "opened": false,
+                "sort": 4,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168677958,
+                "parentId": 161227168669765,
+                "label": "批量删除",
+                "code": "api:admin:api:batchsoftdelete",
+                "type": 3,
+                "path": "",
+                "icon": "",
+                "enabled": true,
+                "sort": 5,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168682053,
+                "parentId": 161227168669765,
+                "label": "同步",
+                "code": "api:admin:api:sync",
+                "type": 3,
+                "path": "",
+                "icon": "",
+                "enabled": true,
+                "sort": 6,
+                "description": "",
+                "childs": []
+              }
+            ]
+          },
+          {
+            "id": 161227168686149,
+            "parentId": 161227168636997,
+            "label": "视图管理",
+            "type": 2,
+            "viewId": 161227168444485,
+            "path": "/admin/view",
+            "icon": "",
+            "enabled": true,
+            "closable": true,
+            "sort": 4,
+            "description": "",
+            "childs": [
+              {
+                "id": 161227168686150,
+                "parentId": 161227168686149,
+                "label": "查询",
+                "code": "api:admin:view:getlist",
+                "type": 3,
+                "enabled": true,
+                "sort": 1,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168690245,
+                "parentId": 161227168686149,
+                "label": "新增",
+                "code": "api:admin:view:add",
+                "type": 3,
+                "enabled": true,
+                "sort": 2,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168690246,
+                "parentId": 161227168686149,
+                "label": "修改",
+                "code": "api:admin:view:update",
+                "type": 3,
+                "enabled": true,
+                "sort": 3,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168694341,
+                "parentId": 161227168686149,
+                "label": "删除",
+                "code": "api:admin:view:softdelete",
+                "type": 3,
+                "enabled": true,
+                "sort": 4,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168694342,
+                "parentId": 161227168686149,
+                "label": "批量删除",
+                "code": "api:admin:view:batchsoftdelete",
+                "type": 3,
+                "enabled": true,
+                "sort": 5,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168698437,
+                "parentId": 161227168686149,
+                "label": "同步",
+                "code": "api:admin:view:sync",
+                "type": 3,
+                "enabled": true,
+                "sort": 6,
+                "description": "",
+                "childs": []
+              }
+            ]
+          },
+          {
+            "id": 161227168702533,
+            "parentId": 161227168636997,
+            "label": "权限管理",
+            "type": 2,
+            "viewId": 161227168444486,
+            "path": "/admin/permission",
+            "enabled": true,
+            "closable": true,
+            "opened": false,
+            "sort": 5,
+            "description": "",
+            "childs": [
+              {
+                "id": 161227168702534,
+                "parentId": 161227168702533,
+                "label": "查询",
+                "code": "api:admin:permission:getlist",
+                "type": 3,
+                "path": "",
+                "icon": "",
+                "enabled": true,
+                "sort": 1,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168706629,
+                "parentId": 161227168702533,
+                "label": "新增分组",
+                "code": "api:admin:permission:addgroup",
+                "type": 3,
+                "enabled": true,
+                "sort": 2,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168706630,
+                "parentId": 161227168702533,
+                "label": "新增菜单",
+                "code": "api:admin:permission:addmenu",
+                "type": 3,
+                "enabled": true,
+                "sort": 3,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168710725,
+                "parentId": 161227168702533,
+                "label": "新增接口",
+                "code": "api:admin:permission:addapi",
+                "type": 3,
+                "enabled": true,
+                "sort": 4,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168710726,
+                "parentId": 161227168702533,
+                "label": "修改分组",
+                "code": "api:admin:permission:updategroup",
+                "type": 3,
+                "enabled": true,
+                "sort": 5,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168714821,
+                "parentId": 161227168702533,
+                "label": "修改菜单",
+                "code": "api:admin:permission:updatemenu",
+                "type": 3,
+                "enabled": true,
+                "sort": 6,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168714822,
+                "parentId": 161227168702533,
+                "label": "修改接口",
+                "code": "api:admin:permission:updateapi",
+                "type": 3,
+                "enabled": true,
+                "sort": 7,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168718917,
+                "parentId": 161227168702533,
+                "label": "删除",
+                "code": "api:admin:permission:softdelete",
+                "type": 3,
+                "path": " ",
+                "enabled": true,
+                "closable": false,
+                "opened": false,
+                "sort": 8,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168727110,
+                "parentId": 161227168702533,
+                "label": "新增权限点",
+                "code": "api:admin:permission:adddot",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168731205,
+                "parentId": 161227168702533,
+                "label": "修改权限点",
+                "code": "api:admin:permission:updatedot",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 187385577599045,
+                "parentId": 161227168702533,
+                "label": "彻底删除",
+                "code": "api:admin:permission:delete",
+                "type": 3,
+                "enabled": true,
+                "sort": 7,
+                "description": "",
+                "childs": []
+              }
+            ]
+          },
+          {
+            "id": 161227168731206,
+            "parentId": 161227168636997,
+            "label": "角色权限",
+            "type": 2,
+            "viewId": 161227168448581,
+            "path": "/admin/role-permisson",
+            "enabled": true,
+            "closable": true,
+            "opened": false,
+            "newWindow": false,
+            "external": false,
+            "sort": 6,
+            "description": "",
+            "childs": [
+              {
+                "id": 161227168735301,
+                "parentId": 161227168731206,
+                "label": "查询",
+                "code": "api:admin:role-permisson:list",
+                "type": 3,
+                "path": "",
+                "icon": "",
+                "enabled": true,
+                "sort": 1,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168739398,
+                "parentId": 161227168731206,
+                "label": "保存",
+                "code": "api:admin:permission:assign",
+                "type": 3,
+                "path": " ",
+                "enabled": true,
+                "closable": false,
+                "opened": false,
+                "sort": 4,
+                "description": "",
+                "childs": []
+              }
+            ]
+          },
+          {
+            "id": 161227168743493,
+            "parentId": 161227168636997,
+            "label": "缓存管理",
+            "type": 2,
+            "viewId": 161227168448582,
+            "path": "/admin/cache",
+            "icon": "",
+            "enabled": true,
+            "closable": true,
+            "newWindow": false,
+            "external": false,
+            "sort": 7,
+            "description": "",
+            "childs": [
+              {
+                "id": 161227168747589,
+                "parentId": 161227168743493,
+                "label": "查询",
+                "code": "api:admin:cache:list",
+                "type": 3,
+                "enabled": true,
+                "sort": 1,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168747590,
+                "parentId": 161227168743493,
+                "label": "清除缓存",
+                "code": "api:admin:cache:clear",
+                "type": 3,
+                "enabled": true,
+                "sort": 2,
+                "description": "",
+                "childs": []
+              }
+            ]
+          },
+          {
+            "id": 161227168751685,
+            "parentId": 161227168636997,
+            "label": "租户管理",
+            "type": 2,
+            "viewId": 161227168448583,
+            "path": "/admin/tenant",
+            "icon": "",
+            "enabled": true,
+            "closable": true,
+            "newWindow": false,
+            "external": false,
+            "sort": 8,
+            "description": "",
+            "childs": [
+              {
+                "id": 161227168751686,
+                "parentId": 161227168751685,
+                "label": "查询",
+                "code": "api:admin:tenant:getpage",
+                "type": 3,
+                "enabled": true,
+                "sort": 1,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168755781,
+                "parentId": 161227168751685,
+                "label": "新增",
+                "code": "api:admin:tenant:add",
+                "type": 3,
+                "enabled": true,
+                "sort": 2,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168755782,
+                "parentId": 161227168751685,
+                "label": "修改",
+                "code": "api:admin:tenant:update",
+                "type": 3,
+                "enabled": true,
+                "sort": 3,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168759877,
+                "parentId": 161227168751685,
+                "label": "删除",
+                "code": "api:admin:tenant:softdelete",
+                "type": 3,
+                "enabled": true,
+                "sort": 4,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161227168759878,
+                "parentId": 161227168751685,
+                "label": "批量删除",
+                "code": "api:admin:tenant:batchsoftdelete",
+                "type": 3,
+                "enabled": true,
+                "sort": 5,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 161807358345285,
+                "parentId": 161227168751685,
+                "label": "设置权限",
+                "code": "api:admin:permission:savetenantpermissions",
+                "type": 3,
+                "enabled": true,
+                "sort": 7,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 163579955331141,
+                "parentId": 161227168751685,
+                "label": "彻底删除",
+                "code": "api:admin:tenant:delete",
+                "type": 3,
+                "enabled": true,
+                "sort": 8,
+                "description": "",
+                "childs": []
+              }
+            ]
+          },
+          {
+            "id": 188053882503237,
+            "parentId": 161227168636997,
+            "label": "部门管理",
+            "type": 2,
+            "viewId": 174312361087045,
+            "path": "/admin/org",
+            "icon": "",
+            "enabled": true,
+            "closable": true,
+            "newWindow": false,
+            "external": false,
+            "sort": 0,
+            "description": "",
+            "childs": [
+              {
+                "id": 188054258278469,
+                "parentId": 188053882503237,
+                "label": "查询",
+                "code": "api:admin:org:getlist",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 188054341582917,
+                "parentId": 188053882503237,
+                "label": "新增",
+                "code": "api:admin:org:add",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 188054416891973,
+                "parentId": 188053882503237,
+                "label": "修改",
+                "code": "api:admin:org:update",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 188054509027397,
+                "parentId": 188053882503237,
+                "label": "删除",
+                "code": "api:admin:org:softdelete",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "id": 161227168763974,
+        "parentId": 161227168497733,
+        "label": "系统管理",
+        "type": 1,
+        "path": "",
+        "icon": "el-icon-s-platform",
+        "enabled": true,
+        "closable": false,
+        "opened": true,
+        "sort": 3,
+        "description": "",
+        "childs": [
+          {
+            "id": 187055743545413,
+            "parentId": 161227168763974,
+            "label": "数据字典",
+            "type": 2,
+            "viewId": 187053736300613,
+            "path": "/admin/dictionary/index",
+            "icon": "",
+            "enabled": true,
+            "closable": true,
+            "newWindow": false,
+            "external": false,
+            "sort": 0,
+            "description": "",
+            "childs": [
+              {
+                "id": 187375358951493,
+                "parentId": 187055743545413,
+                "label": "查询",
+                "code": "api:admin:dictionary:getpage",
+                "type": 3,
+                "enabled": true,
+                "sort": 1,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 187389970825285,
+                "parentId": 187055743545413,
+                "label": "修改",
+                "code": "api:admin:dictionary:update",
+                "type": 3,
+                "enabled": true,
+                "sort": 3,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 187390547820613,
+                "parentId": 187055743545413,
+                "label": "删除",
+                "code": "api:admin:dictionary:softdelete",
+                "type": 3,
+                "enabled": true,
+                "sort": 4,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 187391371018309,
+                "parentId": 187055743545413,
+                "label": "批量删除",
+                "code": "api:admin:dictionary:batchsoftdelete",
+                "type": 3,
+                "enabled": true,
+                "sort": 5,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 187391980761157,
+                "parentId": 187055743545413,
+                "label": "新增",
+                "code": "api:admin:dictionary:add",
+                "type": 3,
+                "enabled": true,
+                "sort": 2,
+                "description": "",
+                "childs": []
+              }
+            ]
+          },
+          {
+            "id": 342340463398981,
+            "parentId": 161227168763974,
+            "label": "任务管理",
+            "type": 2,
+            "viewId": 336556164300869,
+            "path": "/admin/task",
+            "icon": "",
+            "enabled": true,
+            "closable": true,
+            "newWindow": false,
+            "external": false,
+            "sort": 0,
+            "description": "",
+            "childs": [
+              {
+                "id": 343342945812549,
+                "parentId": 342340463398981,
+                "label": "查询任务",
+                "code": "api:admin:task:get",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 343343120306245,
+                "parentId": 342340463398981,
+                "label": "查询任务列表",
+                "code": "api:admin:task:get-page",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 343343209164869,
+                "parentId": 342340463398981,
+                "label": "新增",
+                "code": "api:admin:task:add",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 343343735894085,
+                "parentId": 342340463398981,
+                "label": "修改",
+                "code": "api:admin:task:update",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 343343926595653,
+                "parentId": 342340463398981,
+                "label": "暂停任务",
+                "code": "api:admin:task:pause",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 343343989960773,
+                "parentId": 342340463398981,
+                "label": "启动任务",
+                "code": "api:admin:task:resume",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 343344066166853,
+                "parentId": 342340463398981,
+                "label": "执行任务",
+                "code": "api:admin:task:run",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 343344158351429,
+                "parentId": 342340463398981,
+                "label": "删除任务",
+                "code": "api:admin:task:delete",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              },
+              {
+                "id": 343344363630661,
+                "parentId": 342340463398981,
+                "label": "查询任务日志",
+                "code": "api:admin:task-log:get-page",
+                "type": 3,
+                "enabled": true,
+                "sort": 0,
+                "description": "",
+                "childs": []
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "id": 161227168780358,
+        "parentId": 161227168497733,
+        "label": "日志管理",
+        "type": 1,
+        "icon": "el-icon-notebook-2",
+        "enabled": true,
+        "opened": true,
+        "sort": 4,
+        "childs": [
+          {
+            "id": 161227168784453,
+            "parentId": 161227168780358,
+            "label": "登录日志",
+            "type": 2,
+            "viewId": 161227168456773,
+            "path": "/admin/login-log",
+            "icon": "",
+            "enabled": true,
+            "closable": true,
+            "newWindow": false,
+            "external": false,
+            "sort": 1,
+            "description": "",
+            "childs": [
+              {
+                "id": 161227168784454,
+                "parentId": 161227168784453,
+                "label": "查询",
+                "code": "api:admin:loginlog:getpage",
+                "type": 3,
+                "enabled": true,
+                "sort": 1,
+                "description": "",
+                "childs": []
+              }
+            ]
+          },
+          {
+            "id": 161227168788549,
+            "parentId": 161227168780358,
+            "label": "操作日志",
+            "type": 2,
+            "viewId": 161227168452678,
+            "path": "/admin/opration-log",
+            "icon": "",
+            "enabled": true,
+            "closable": true,
+            "newWindow": false,
+            "external": false,
+            "sort": 2,
+            "description": "",
+            "childs": [
+              {
+                "id": 161227168788550,
+                "parentId": 161227168788549,
+                "label": "查询",
+                "code": "api:admin:oprationlog:getpage",
+                "type": 3,
+                "enabled": true,
+                "sort": 1,
+                "description": "",
+                "childs": []
+              }
+            ]
+          }
+        ]
+      }
+    ]
+  },
+  {
+    "id": 161227168497734,
+    "label": "帮助文档",
+    "type": 1,
+    "icon": "el-icon-question",
+    "enabled": true,
+    "opened": true,
+    "sort": 4,
+    "childs": [
+      {
+        "id": 161227168792645,
+        "parentId": 161227168497734,
+        "label": "Admin",
+        "type": 2,
+        "path": "https://zhontai.net",
+        "icon": "el-icon-s-promotion",
+        "enabled": true,
+        "closable": false,
+        "newWindow": false,
+        "external": false,
+        "sort": 5,
+        "description": "",
+        "childs": []
+      },
+      {
+        "id": 161227168792646,
+        "parentId": 161227168497734,
+        "label": "FreeSql",
+        "type": 2,
+        "path": "http://freesql.net/guide",
+        "icon": "el-icon-s-promotion",
+        "enabled": true,
+        "closable": false,
+        "newWindow": false,
+        "external": false,
+        "sort": 6,
+        "description": "",
+        "childs": []
+      },
+      {
+        "id": 161227168796741,
+        "parentId": 161227168497734,
+        "label": "文档管理",
+        "type": 2,
+        "viewId": 161227168456774,
+        "path": "/admin/document",
+        "icon": "el-icon-notebook-2",
+        "enabled": true,
+        "closable": true,
+        "newWindow": false,
+        "external": true,
+        "sort": 0,
+        "description": "",
+        "childs": [
+          {
+            "id": 161227168800838,
+            "parentId": 161227168796741,
+            "label": "新增分组",
+            "code": "api:admin:document:addgroup",
+            "type": 3,
+            "enabled": true,
+            "sort": 5,
+            "description": ""
+          },
+          {
+            "id": 161227168804933,
+            "parentId": 161227168796741,
+            "label": "新增菜单",
+            "code": "api:admin:document:addmenu",
+            "type": 3,
+            "enabled": true,
+            "sort": 6,
+            "description": ""
+          },
+          {
+            "id": 161227168809029,
+            "parentId": 161227168796741,
+            "label": "修改分组",
+            "code": "api:admin:document:updategroup",
+            "type": 3,
+            "enabled": true,
+            "sort": 7,
+            "description": ""
+          },
+          {
+            "id": 161227168813125,
+            "parentId": 161227168796741,
+            "label": "修改菜单",
+            "code": "api:admin:document:updatemenu",
+            "type": 3,
+            "enabled": true,
+            "sort": 8,
+            "description": ""
+          },
+          {
+            "id": 161227168813126,
+            "parentId": 161227168796741,
+            "label": "删除文档",
+            "code": "api:admin:document:softdelete",
+            "type": 3,
+            "enabled": true,
+            "sort": 9,
+            "description": ""
+          },
+          {
+            "id": 161227168821318,
+            "parentId": 161227168796741,
+            "label": "查询文档",
+            "code": "api:admin:document:getlist",
+            "type": 3,
+            "enabled": true,
+            "sort": 1,
+            "description": ""
+          },
+          {
+            "id": 161227168825414,
+            "parentId": 161227168796741,
+            "label": "修改文档",
+            "code": "api:admin:document:updatecontent",
+            "type": 3,
+            "enabled": true,
+            "sort": 11,
+            "description": ""
+          },
+          {
+            "id": 161227168829509,
+            "parentId": 161227168796741,
+            "label": "上传图片",
+            "code": "api:admin:document:uploadimage",
+            "type": 3,
+            "enabled": true,
+            "sort": 14,
+            "description": ""
+          },
+          {
+            "id": 161227168833605,
+            "parentId": 161227168796741,
+            "label": "查询图片",
+            "code": "api:admin:document:getimagelist",
+            "type": 3,
+            "enabled": true,
+            "sort": 12,
+            "description": ""
+          },
+          {
+            "id": 161227168833606,
+            "parentId": 161227168796741,
+            "label": "删除图片",
+            "code": "api:admin:document:deleteimage",
+            "type": 3,
+            "enabled": true,
+            "sort": 13,
+            "description": ""
+          }
+        ]
+      }
+    ]
+  }
+]

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

@@ -0,0 +1,200 @@
+[
+  {
+    "id": 161227168313413,
+    "label": "平台管理",
+    "enabled": true,
+    "cache": true,
+    "childs": [
+      {
+        "id": 161227168428101,
+        "parentId": 161227168313413,
+        "name": "Home",
+        "label": "首页",
+        "path": "admin/home",
+        "enabled": true,
+        "cache": true,
+        "childs": []
+      },
+      {
+        "id": 161227168432197,
+        "parentId": 161227168313413,
+        "label": "系统配置",
+        "enabled": true,
+        "cache": true,
+        "childs": [
+          {
+            "id": 187053736300613,
+            "parentId": 161227168432197,
+            "name": "Dictionary",
+            "label": "数据字典",
+            "path": "admin/dictionary/index",
+            "description": "数据字典",
+            "enabled": true,
+            "cache": true
+          }
+        ]
+      },
+      {
+        "id": 161227168432199,
+        "parentId": 161227168313413,
+        "label": "个人管理",
+        "enabled": true,
+        "cache": true,
+        "childs": [
+          {
+            "id": 161227168436293,
+            "parentId": 161227168432199,
+            "name": "Settins",
+            "label": "个人设置",
+            "path": "account/settings",
+            "enabled": true,
+            "cache": true
+          }
+        ]
+      },
+      {
+        "id": 161227168436294,
+        "parentId": 161227168313413,
+        "label": "权限管理",
+        "description": "",
+        "enabled": true,
+        "cache": true,
+        "childs": [
+          {
+            "id": 161227168436295,
+            "parentId": 161227168436294,
+            "name": "User",
+            "label": "用户管理",
+            "path": "admin/user/index",
+            "description": "",
+            "enabled": true,
+            "cache": true
+          },
+          {
+            "id": 161227168440389,
+            "parentId": 161227168436294,
+            "name": "Role",
+            "label": "角色管理",
+            "path": "admin/role/index",
+            "description": "",
+            "enabled": true,
+            "cache": true
+          },
+          {
+            "id": 161227168440390,
+            "parentId": 161227168436294,
+            "name": "Api",
+            "label": "接口管理",
+            "path": "admin/api",
+            "enabled": true,
+            "cache": true
+          },
+          {
+            "id": 161227168444485,
+            "parentId": 161227168436294,
+            "name": "AdminView",
+            "label": "视图管理",
+            "path": "admin/view",
+            "enabled": true,
+            "cache": true
+          },
+          {
+            "id": 161227168444486,
+            "parentId": 161227168436294,
+            "name": "Permission",
+            "label": "权限管理",
+            "path": "admin/permission",
+            "enabled": true,
+            "cache": true
+          },
+          {
+            "id": 161227168448581,
+            "parentId": 161227168436294,
+            "name": "RolePermission",
+            "label": "角色权限",
+            "path": "admin/role-permission",
+            "enabled": true,
+            "cache": true
+          },
+          {
+            "id": 161227168448582,
+            "parentId": 161227168436294,
+            "name": "Cache",
+            "label": "缓存管理",
+            "path": "admin/cache",
+            "enabled": true,
+            "cache": true
+          },
+          {
+            "id": 161227168448583,
+            "parentId": 161227168436294,
+            "name": "Tenant",
+            "label": "租户管理",
+            "path": "admin/tenant",
+            "enabled": true,
+            "cache": true
+          },
+          {
+            "id": 174312361087045,
+            "parentId": 161227168436294,
+            "name": "Org",
+            "label": "部门管理",
+            "path": "admin/org",
+            "description": "",
+            "enabled": true,
+            "cache": true
+          }
+        ]
+      },
+      {
+        "id": 161227168452677,
+        "parentId": 161227168313413,
+        "label": "日志管理",
+        "description": "",
+        "enabled": true,
+        "cache": true,
+        "childs": [
+          {
+            "id": 161227168452678,
+            "parentId": 161227168452677,
+            "name": "OprationLog",
+            "label": "操作日志",
+            "path": "admin/opration-log",
+            "enabled": true,
+            "cache": true
+          },
+          {
+            "id": 161227168456773,
+            "parentId": 161227168452677,
+            "name": "LoginLog",
+            "label": "登录日志",
+            "path": "admin/login-log",
+            "enabled": true,
+            "cache": true
+          }
+        ]
+      },
+      {
+        "id": 161227168456774,
+        "parentId": 161227168313413,
+        "name": "Document",
+        "label": "文档管理",
+        "path": "admin/document",
+        "enabled": true,
+        "cache": true,
+        "childs": []
+      },
+      {
+        "id": 336556164300869,
+        "parentId": 161227168313413,
+        "name": "Task",
+        "label": "任务管理",
+        "path": "admin/task/index",
+        "description": "",
+        "enabled": true,
+        "cache": true,
+        "childs": []
+      }
+    ]
+  }
+]

+ 6 - 6
src/platform/ZhonTai.Admin/Domain/Org/OrgEntity.cs

@@ -43,12 +43,6 @@ public partial class OrgEntity : EntityTenant
     /// </summary>
     public int MemberCount { get; set; }
 
-    /// <summary>
-    /// 描述
-    /// </summary>
-    [Column(StringLength = 500)]
-    public string Description { get; set; }
-
     /// <summary>
     /// 启用
     /// </summary>
@@ -59,6 +53,12 @@ public partial class OrgEntity : EntityTenant
     /// </summary>
 	public int Sort { get; set; }
 
+    /// <summary>
+    /// 描述
+    /// </summary>
+    [Column(StringLength = 500)]
+    public string Description { get; set; }
+
     /// <summary>
     /// 员工列表
     /// </summary>

+ 4 - 9
src/platform/ZhonTai.Admin/Services/Org/Input/OrgAddInput.cs

@@ -26,22 +26,17 @@ public class OrgAddInput
     public string Value { get; set; }
 
     /// <summary>
-    /// 主管
+    /// 启用
     /// </summary>
-    public long? PrimaryUserId { get; set; }
+    public bool Enabled { get; set; } = true;
 
     /// <summary>
-    /// 员工人数
+    /// 排序
     /// </summary>
-    public int StaffCount { get; set; }
+	public int Sort { get; set; }
 
     /// <summary>
     /// 描述
     /// </summary>
     public string Description { get; set; }
-
-    /// <summary>
-    /// 启用
-    /// </summary>
-	public bool Enabled { get; set; }
 }

+ 9 - 14
src/platform/ZhonTai.Admin/ZhonTai.Admin.xml

@@ -2105,11 +2105,6 @@
             成员数
             </summary>
         </member>
-        <member name="P:ZhonTai.Admin.Domain.Org.OrgEntity.Description">
-            <summary>
-            描述
-            </summary>
-        </member>
         <member name="P:ZhonTai.Admin.Domain.Org.OrgEntity.Enabled">
             <summary>
             启用
@@ -2120,6 +2115,11 @@
             排序
             </summary>
         </member>
+        <member name="P:ZhonTai.Admin.Domain.Org.OrgEntity.Description">
+            <summary>
+            描述
+            </summary>
+        </member>
         <member name="P:ZhonTai.Admin.Domain.Org.OrgEntity.Staffs">
             <summary>
             员工列表
@@ -4360,14 +4360,14 @@
             </summary>
         </member>
-        <member name="P:ZhonTai.Admin.Services.Org.Input.OrgAddInput.PrimaryUserId">
+        <member name="P:ZhonTai.Admin.Services.Org.Input.OrgAddInput.Enabled">
             <summary>
-            主管
+            启用
             </summary>
         </member>
-        <member name="P:ZhonTai.Admin.Services.Org.Input.OrgAddInput.StaffCount">
+        <member name="P:ZhonTai.Admin.Services.Org.Input.OrgAddInput.Sort">
             <summary>
-            员工人数
+            排序
             </summary>
         </member>
         <member name="P:ZhonTai.Admin.Services.Org.Input.OrgAddInput.Description">
@@ -4375,11 +4375,6 @@
             描述
             </summary>
         </member>
-        <member name="P:ZhonTai.Admin.Services.Org.Input.OrgAddInput.Enabled">
-            <summary>
-            启用
-            </summary>
-        </member>
         <member name="T:ZhonTai.Admin.Services.Org.Input.OrgUpdateInput">
             <summary>
             修改