From 76a6f6ddc1564254ddfe0a75762995e05eae250f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=AA=E5=B8=A6=E5=A4=A7=E4=BD=AC=E6=B0=94=E5=9C=BA?= <188633308@qq.com> Date: Tue, 11 May 2021 20:11:16 +0800 Subject: [PATCH] update .gitignore --- .../20210510083321_init.Designer.cs | 7052 ++++++ .../Migrations/20210510083321_init.cs | 1440 ++ .../DefaultDbContextModelSnapshot.cs | 7050 ++++++ .../dbsettings.Development.json | 5 - Web/.env.development | 4 +- Web/.env.production | 4 +- Web/src/assets/style/app.less | 66 +- Web/src/assets/style/extend.less | 6 +- Web/src/assets/style/frame/dark.less | 36 +- Web/src/assets/style/frame/light.less | 34 +- Web/src/assets/style/lib/align.less | 18 +- Web/src/assets/style/lib/authority-view.less | 48 +- Web/src/assets/style/lib/card.less | 8 +- Web/src/assets/style/lib/container.less | 78 +- Web/src/assets/style/lib/dropdown.less | 12 +- Web/src/assets/style/lib/font-size.less | 50 +- Web/src/assets/style/lib/font-weight.less | 48 +- Web/src/assets/style/lib/form.less | 568 +- Web/src/assets/style/lib/list.less | 56 +- Web/src/assets/style/lib/margin.less | 134 +- Web/src/assets/style/lib/scrollbar.less | 28 +- Web/src/assets/style/lib/select.less | 12 +- Web/src/assets/style/lib/table.less | 322 +- Web/src/assets/style/lib/tree-layout.less | 138 +- Web/src/assets/style/lib/visibility.less | 44 +- Web/src/assets/style/lib/width-height.less | 50 +- Web/src/assets/style/main.less | 1130 +- Web/src/assets/style/theme/primary.less | 8 +- Web/src/common/api/index.js | 338 +- Web/src/common/api/requests/index.js | 38 +- Web/src/common/api/requests/sys/appManage.js | 68 +- .../common/api/requests/sys/configManage.js | 50 +- .../common/api/requests/sys/dictDataManage.js | 34 +- Web/src/common/api/requests/sys/dictManage.js | 50 +- .../common/api/requests/sys/emailManage.js | 18 +- Web/src/common/api/requests/sys/fileManage.js | 70 +- Web/src/common/api/requests/sys/logManage.js | 44 +- .../common/api/requests/sys/loginManage.js | 66 +- .../common/api/requests/sys/machineManage.js | 18 +- Web/src/common/api/requests/sys/menuManage.js | 130 +- .../common/api/requests/sys/noticeManage.js | 74 +- .../api/requests/sys/noticeReceiveManage.js | 10 +- .../api/requests/sys/onlineUserManage.js | 22 +- Web/src/common/api/requests/sys/orgManage.js | 74 +- Web/src/common/api/requests/sys/posManage.js | 62 +- Web/src/common/api/requests/sys/roleManage.js | 122 +- Web/src/common/api/requests/sys/smsManage.js | 32 +- .../common/api/requests/sys/tenantManage.js | 50 +- .../common/api/requests/sys/timersManage.js | 110 +- Web/src/common/api/requests/sys/userManage.js | 150 +- Web/src/common/api/status.js | 410 +- Web/src/common/login/index.js | 120 +- Web/src/common/storage/index.js | 16 +- Web/src/common/token/index.js | 38 +- Web/src/components/authorized/index.js | 382 +- Web/src/components/container/index.vue | 26 +- Web/src/components/yoAuthorityView/index.js | 506 +- Web/src/components/yoList/index.js | 214 +- Web/src/components/yoTable/column.vue | 126 +- Web/src/components/yoTable/index.js | 456 +- Web/src/components/yoTableActions/index.js | 44 +- Web/src/components/yoTreeLayout/index.js | 604 +- Web/src/pages/home/charts.vue | 212 +- Web/src/pages/home/index.less | 80 +- Web/src/pages/home/index.vue | 130 +- Web/src/pages/home/list.vue | 196 +- Web/src/pages/home/notice.vue | 54 +- Web/src/pages/home/statistics.vue | 110 +- Web/src/pages/home/task.vue | 110 +- Web/src/pages/system/_seed/README.md | 8 +- Web/src/pages/system/_seed/form.vue | 226 +- Web/src/pages/system/_seed/index.vue | 430 +- Web/src/pages/system/app/form.vue | 314 +- Web/src/pages/system/app/index.vue | 558 +- Web/src/pages/system/config/form.vue | 316 +- Web/src/pages/system/config/index.vue | 474 +- Web/src/pages/system/dict/dictdata/index.vue | 440 +- Web/src/pages/system/dict/index.vue | 462 +- Web/src/pages/system/log/oplog/index.vue | 424 +- Web/src/pages/system/log/vislog/index.vue | 408 +- Web/src/pages/system/menu/form.vue | 678 +- Web/src/pages/system/menu/index.vue | 452 +- Web/src/pages/system/org/form.vue | 436 +- Web/src/pages/system/org/index.vue | 554 +- Web/src/pages/system/pos/form.vue | 268 +- Web/src/pages/system/pos/index.vue | 464 +- Web/src/pages/system/role/form.vue | 266 +- Web/src/pages/system/role/menuForm.vue | 202 +- Web/src/pages/system/user/form.vue | 724 +- Web/src/pages/system/user/index.vue | 766 +- Web/src/router/index.js | 66 +- Web/src/util/des/index.js | 68 +- Web/src/views/404/index.less | 616 +- Web/src/views/404/index.vue | 26 +- Web/src/views/error/404/index.less | 616 +- Web/src/views/error/404/index.vue | 26 +- Web/src/views/login/index.vue | 94 +- Web/src/views/main/_layout/content.vue | 274 +- Web/src/views/main/_layout/header/index.vue | 198 +- Web/src/views/main/_layout/header/search.js | 296 +- Web/src/views/main/_layout/header/user.js | 180 +- Web/src/views/main/_layout/logo.vue | 18 +- Web/src/views/main/_layout/sider/index.vue | 230 +- Web/src/views/main/_layout/sider/menu.js | 182 +- Web/src/views/main/index.vue | 468 +- Web/src/views/main/setting.vue | 110 +- Web/vue.config.js | 42 +- Web/yarn-error.log | 8956 -------- Web/yarn.lock | 17930 ++++++++-------- 109 files changed, 34880 insertions(+), 28299 deletions(-) create mode 100644 Api/Ewide.Database.Migrations/Migrations/20210510083321_init.Designer.cs create mode 100644 Api/Ewide.Database.Migrations/Migrations/20210510083321_init.cs create mode 100644 Api/Ewide.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs delete mode 100644 Api/Ewide.EntityFramework.Core/dbsettings.Development.json delete mode 100644 Web/yarn-error.log diff --git a/Api/Ewide.Database.Migrations/Migrations/20210510083321_init.Designer.cs b/Api/Ewide.Database.Migrations/Migrations/20210510083321_init.Designer.cs new file mode 100644 index 0000000..93f8a7e --- /dev/null +++ b/Api/Ewide.Database.Migrations/Migrations/20210510083321_init.Designer.cs @@ -0,0 +1,7052 @@ +// +using System; +using Ewide.EntityFramework.Core; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; + +namespace Ewide.Database.Migrations.Migrations +{ + [DbContext(typeof(DefaultDbContext))] + [Migration("20210510083321_init")] + partial class init + { + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("Relational:MaxIdentifierLength", 64) + .HasAnnotation("ProductVersion", "5.0.5"); + + modelBuilder.Entity("Ewide.Application.Entity.BsHouseProjectInfo", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("AreaId") + .IsRequired() + .HasMaxLength(36) + .HasColumnType("varchar(36) CHARACTER SET utf8mb4") + .HasComment("区域ID"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("varchar(100) CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Note") + .HasMaxLength(1000) + .HasColumnType("varchar(1000) CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Type") + .HasColumnType("int") + .HasComment("类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("bs_house_projectinfo"); + + b + .HasComment("项目表"); + }); + + modelBuilder.Entity("Ewide.Core.SysApp", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Active") + .HasColumnType("bit") + .HasColumnName("Active") + .HasComment("是否默认激活"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Color") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标颜色"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Icon") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_app"); + + b + .HasComment("系统应用表"); + + b.HasData( + new + { + Id = "8b2aeb5e-09a6-4afd-bcae-8ee8e5a1e6ec", + Active = 0ul, + Code = "busapp", + IsDeleted = 0ul, + Name = "业务应用", + Sort = 100, + Status = 0 + }, + new + { + Id = "d781b8f1-0d08-48c8-b7a5-ed75ddfa676c", + Active = 1ul, + Code = "system", + IsDeleted = 0ul, + Name = "系统管理", + Sort = 100, + Status = 0 + }, + new + { + Id = "850ab86f-cd6a-4d49-b920-77dfa5d78813", + Active = 0ul, + Code = "system_tool", + IsDeleted = 0ul, + Name = "系统工具", + Sort = 100, + Status = 0 + }, + new + { + Id = "05a32be5-82e8-423f-affa-e17232a63ee1", + Active = 0ul, + Code = "advanced", + IsDeleted = 0ul, + Name = "高级功能", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysAreaCode", b => + { + b.Property("Code") + .HasMaxLength(50) + .HasColumnType("varchar(50) CHARACTER SET utf8mb4") + .HasComment("系统使用的区域编码"); + + b.Property("AdCode") + .HasMaxLength(50) + .HasColumnType("varchar(50) CHARACTER SET utf8mb4") + .HasComment("区域的行政编码"); + + b.Property("LevelType") + .HasColumnType("int") + .HasComment("类别"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("varchar(100) CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Note") + .HasMaxLength(1000) + .HasColumnType("varchar(1000) CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.HasKey("Code"); + + b.ToTable("sys_area_code"); + + b + .HasComment("区域表"); + + b.HasData( + new + { + Code = "3302", + AdCode = "3302", + LevelType = 1, + Name = "XX市", + Note = "XX市", + Sort = 0 + }, + new + { + Code = "330266", + AdCode = "330266", + LevelType = 2, + Name = "测试区", + Note = "测试区", + Sort = 100 + }, + new + { + Code = "330266001", + AdCode = "330266001", + LevelType = 3, + Name = "测试街道", + Note = "测试街道", + Sort = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysCodeGen", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("AuthorName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("作者姓名"); + + b.Property("BusName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("业务名"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("GenerateType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("生成方式"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("NameSpace") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("命名空间"); + + b.Property("TableName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库表名"); + + b.Property("TablePrefix") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否移除表前缀"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_code_gen"); + + b + .HasComment("代码生成表"); + }); + + modelBuilder.Entity("Ewide.Core.SysCodeGenConfig", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("CodeGenId") + .HasColumnType("varchar(36)") + .HasColumnName("CodeGenId") + .HasComment("代码生成主表ID"); + + b.Property("ColumnComment") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("字段描述"); + + b.Property("ColumnKey") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("主外键"); + + b.Property("ColumnName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库字段名"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("DataType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库中类型"); + + b.Property("DictTypeCode") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("字典Code"); + + b.Property("EffectType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("作用类型"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("NetType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment(".NET数据类型"); + + b.Property("QueryType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("查询方式"); + + b.Property("QueryWhether") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否是查询条件"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("WhetherAddUpdate") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("增改"); + + b.Property("WhetherCommon") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否通用字段"); + + b.Property("WhetherRequired") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否必填"); + + b.Property("WhetherRetract") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列表是否缩进"); + + b.Property("WhetherTable") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列表显示"); + + b.HasKey("Id"); + + b.ToTable("sys_code_gen_config"); + + b + .HasComment("代码生成字段配置表"); + }); + + modelBuilder.Entity("Ewide.Core.SysConfig", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("GroupCode") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("常量所属分类的编码"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("SysFlag") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否是系统参数"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Value") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("属性值"); + + b.HasKey("Id"); + + b.ToTable("sys_config"); + + b + .HasComment("参数配置表"); + + b.HasData( + new + { + Id = "7c2765cd-d39b-4772-8d6c-0dbcdcfa1ff8", + Code = "DILON_JWT_SECRET", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "jwt密钥", + Remark = "(重要)jwt密钥,默认为空,自行设置", + Status = 0, + SysFlag = "Y", + Value = "xiaonuo" + }, + new + { + Id = "e3553657-14cf-4c26-ba7b-dbb4bfd4bc55", + Code = "DILON_DEFAULT_PASSWORD", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "默认密码", + Remark = "默认密码", + Status = 0, + SysFlag = "Y", + Value = "123456" + }, + new + { + Id = "2c677cd2-2a54-46c6-971d-f9fe20f101f3", + Code = "DILON_TOKEN_EXPIRE", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "token过期时间", + Remark = "token过期时间(单位:秒)", + Status = 0, + SysFlag = "Y", + Value = "86400" + }, + new + { + Id = "8938506d-2e00-44e0-8592-48453d43f9f5", + Code = "DILON_SESSION_EXPIRE", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "session会话过期时间", + Remark = "session会话过期时间(单位:秒)", + Status = 0, + SysFlag = "Y", + Value = "7200" + }, + new + { + Id = "beb2e9e7-f4d9-43b1-bfab-3557ea232f8d", + Code = "DILON_ALIYUN_SMS_ACCESSKEY_ID", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信keyId", + Remark = "阿里云短信keyId", + Status = 0, + SysFlag = "Y", + Value = "你的keyId" + }, + new + { + Id = "ead14cd0-9fd4-4fd6-b75c-239d8b2ebed8", + Code = "DILON_ALIYUN_SMS_ACCESSKEY_SECRET", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信secret", + Remark = "阿里云短信secret", + Status = 0, + SysFlag = "Y", + Value = "你的secret" + }, + new + { + Id = "beaaafc2-3fdf-42af-9b06-ead3a6dd6306", + Code = "DILON_ALIYUN_SMS_SIGN_NAME", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信签名", + Remark = "阿里云短信签名", + Status = 0, + SysFlag = "Y", + Value = "你的签名" + }, + new + { + Id = "e26a10cf-911a-4fe0-a113-76965be749a0", + Code = "DILON_ALIYUN_SMS_LOGIN_TEMPLATE_CODE", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信-登录模板号", + Remark = "阿里云短信-登录模板号", + Status = 0, + SysFlag = "Y", + Value = "SMS_1877123456" + }, + new + { + Id = "24d3f286-efca-49af-91b4-e3ce42cce36e", + Code = "DILON_ALIYUN_SMS_INVALIDATE_MINUTES", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信默认失效时间", + Remark = "阿里云短信默认失效时间(单位:分钟)", + Status = 0, + SysFlag = "Y", + Value = "5" + }, + new + { + Id = "c6540a07-ce32-47b4-ab83-b647bdb14491", + Code = "DILON_TENCENT_SMS_SECRET_ID", + GroupCode = "TENCENT_SMS", + IsDeleted = 0ul, + Name = "腾讯云短信secretId", + Remark = "腾讯云短信secretId", + Status = 0, + SysFlag = "Y", + Value = "你的secretId" + }, + new + { + Id = "a0412212-d50b-42aa-9484-3cef8fe3cc59", + Code = "DILON_TENCENT_SMS_SECRET_KEY", + GroupCode = "TENCENT_SMS", + IsDeleted = 0ul, + Name = "腾讯云短信secretKey", + Remark = "腾讯云短信secretKey", + Status = 0, + SysFlag = "Y", + Value = "你的secretkey" + }, + new + { + Id = "c928ca11-5137-4b71-bf1c-f3bc95bcd34d", + Code = "DILON_TENCENT_SMS_SDK_APP_ID", + GroupCode = "TENCENT_SMS", + IsDeleted = 0ul, + Name = "腾讯云短信sdkAppId", + Remark = "腾讯云短信sdkAppId", + Status = 0, + SysFlag = "Y", + Value = "1400375123" + }, + new + { + Id = "16ce1b6e-c8ad-4299-9293-6caff0e5cb49", + Code = "DILON_TENCENT_SMS_SIGN", + GroupCode = "TENCENT_SMS", + IsDeleted = 0ul, + Name = "腾讯云短信签名", + Remark = "腾讯云短信签名", + Status = 0, + SysFlag = "Y", + Value = "你的签名" + }, + new + { + Id = "66e63d64-b7eb-4e6a-b5b6-c87811c2e700", + Code = "DILON_EMAIL_HOST", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱host", + Remark = "邮箱host", + Status = 0, + SysFlag = "Y", + Value = "smtp.126.com" + }, + new + { + Id = "997a9bc6-22ed-4fe6-a20c-c3c2a0b682a0", + Code = "DILON_EMAIL_USERNAME", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱用户名", + Remark = "邮箱用户名", + Status = 0, + SysFlag = "Y", + Value = "test@126.com" + }, + new + { + Id = "633d1851-41d9-4ebd-b83b-3aa4501cd1a7", + Code = "DILON_EMAIL_PASSWORD", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱密码", + Remark = "邮箱密码", + Status = 0, + SysFlag = "Y", + Value = "你的邮箱密码" + }, + new + { + Id = "67e468f7-e791-4e91-a896-62e9f7411635", + Code = "DILON_EMAIL_PORT", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱端口", + Remark = "邮箱端口", + Status = 0, + SysFlag = "Y", + Value = "465" + }, + new + { + Id = "dc462c05-de23-4f90-bcdc-88de4abcdf22", + Code = "DILON_EMAIL_SSL", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱是否开启ssl", + Remark = "邮箱是否开启ssl", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = "8beac2a0-4c67-4499-a7ce-27e989546ce9", + Code = "DILON_EMAIL_FROM", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱发件人", + Remark = "邮箱发件人", + Status = 0, + SysFlag = "Y", + Value = "test@126.com" + }, + new + { + Id = "55756524-ecb8-444e-9cdd-a0fc767c4b96", + Code = "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", + GroupCode = "FILE_PATH", + IsDeleted = 0ul, + Name = "Win本地上传文件路径", + Remark = "Win本地上传文件路径", + Status = 0, + SysFlag = "Y", + Value = "D:/tmp" + }, + new + { + Id = "d2db41ee-ce1f-46de-ac00-5860634afed9", + Code = "DILON_FILE_UPLOAD_PATH_FOR_LINUX", + GroupCode = "FILE_PATH", + IsDeleted = 0ul, + Name = "Linux/Mac本地上传文件路径", + Remark = "Linux/Mac本地上传文件路径", + Status = 0, + SysFlag = "Y", + Value = "/tmp" + }, + new + { + Id = "ff8debdd-eca0-4f91-8213-e2080f76b35d", + Code = "DILON_UN_XSS_FILTER_URL", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "放开XSS过滤的接口", + Remark = "多个url可以用英文逗号隔开", + Status = 0, + SysFlag = "Y", + Value = "/demo/xssfilter,/demo/unxss" + }, + new + { + Id = "5584fb84-f580-463f-b06d-bbb80a4dfb72", + Code = "DILON_ENABLE_SINGLE_LOGIN", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "单用户登陆的开关", + Remark = "true-打开,false-关闭,如果一个人登录两次,就会将上一次登陆挤下去", + Status = 0, + SysFlag = "Y", + Value = "false" + }, + new + { + Id = "53b0afb2-4917-4b85-bcca-fe7c7723ae22", + Code = "DILON_CAPTCHA_OPEN", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "登录验证码的开关", + Remark = "true-打开,false-关闭", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = "974740d8-8647-4cf8-8102-542eea53e97f", + Code = "DILON_DRUID_USERNAME", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "Druid监控登录账号", + Remark = "Druid监控登录账号", + Status = 0, + SysFlag = "Y", + Value = "superAdmin" + }, + new + { + Id = "8cee44ea-ba4c-42db-a57d-69b8b5316ca5", + Code = "DILON_DRUID_PASSWORD", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "Druid监控界面登录密码", + Remark = "Druid监控界面登录密码", + Status = 0, + SysFlag = "Y", + Value = "123456" + }, + new + { + Id = "efc235ab-9b05-4820-afe4-32a1eb59e4de", + Code = "DILON_IP_GEO_API", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "阿里云定位api接口地址", + Remark = "阿里云定位api接口地址", + Status = 0, + SysFlag = "Y", + Value = "http://api01.aliyun.venuscn.com/ip?ip=%s" + }, + new + { + Id = "d3597d8a-562a-4b24-93c7-8655c5445d74", + Code = "DILON_IP_GEO_APP_CODE", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "阿里云定位appCode", + Remark = "阿里云定位appCode", + Status = 0, + SysFlag = "Y", + Value = "461535aabeae4f34861884d392f5d452" + }, + new + { + Id = "59c8a6f2-9e3c-4e9e-b9cf-8ecad5f0cb45", + Code = "DILON_ENABLE_OAUTH_LOGIN", + GroupCode = "OAUTH", + IsDeleted = 0ul, + Name = "Oauth用户登录的开关", + Remark = "Oauth用户登录的开关", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = "ff502ee7-8129-4828-8d16-fb04562ef52c", + Code = "DILON_OAUTH_GITEE_CLIENT_ID", + GroupCode = "OAUTH", + IsDeleted = 0ul, + Name = "Oauth码云登录ClientId", + Remark = "Oauth码云登录ClientId", + Status = 0, + SysFlag = "Y", + Value = "你的clientId" + }, + new + { + Id = "a1d957ef-2b70-456f-8eda-b70a4cf01535", + Code = "DILON_OAUTH_GITEE_CLIENT_SECRET", + GroupCode = "OAUTH", + IsDeleted = 0ul, + Name = "Oauth码云登录ClientSecret", + Remark = "Oauth码云登录ClientSecret", + Status = 0, + SysFlag = "Y", + Value = "你的clientSecret" + }, + new + { + Id = "b32ee22b-671d-40bf-8070-32e1054fef96", + Code = "DILON_OAUTH_GITEE_REDIRECT_URI", + GroupCode = "OAUTH", + IsDeleted = 0ul, + Name = "Oauth码云登录回调地址", + Remark = "Oauth码云登录回调地址", + Status = 0, + SysFlag = "Y", + Value = "http://127.0.0.1:5566/oauth/callback/gitee" + }, + new + { + Id = "38dda85c-2a98-4768-aebd-a60ab286052c", + Code = "DILON_DEMO_ENV_FLAG", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "演示环境", + Remark = "演示环境的开关,true-打开,false-关闭,如果演示环境开启,则只能读数据不能写数据", + Status = 0, + SysFlag = "Y", + Value = "false" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysDictData", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("TypeId") + .HasColumnType("varchar(36)") + .HasColumnName("TypeId") + .HasComment("字典类型Id"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Value") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("值"); + + b.HasKey("Id"); + + b.HasIndex("TypeId"); + + b.ToTable("sys_dict_data"); + + b + .HasComment("字典值表"); + + b.HasData( + new + { + Id = "99b965d3-1f2b-4f5b-a62a-6763b8d64a64", + Code = "1", + IsDeleted = 0ul, + Remark = "通知", + Sort = 100, + Status = 0, + TypeId = "d5b311fd-4b60-4b51-9156-b0e6d6cfa4d1", + Value = "通知" + }, + new + { + Id = "2616e6c2-a504-4fc6-993e-72701b48e79a", + Code = "2", + IsDeleted = 0ul, + Remark = "公告", + Sort = 100, + Status = 0, + TypeId = "d5b311fd-4b60-4b51-9156-b0e6d6cfa4d1", + Value = "公告" + }, + new + { + Id = "40d336cd-918a-4e90-8836-cba7c1bf6cdf", + Code = "0", + IsDeleted = 0ul, + Remark = "草稿", + Sort = 100, + Status = 0, + TypeId = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Value = "草稿" + }, + new + { + Id = "f5b49fa9-31a1-44c2-9df0-b28bf5daeee0", + Code = "1", + IsDeleted = 0ul, + Remark = "发布", + Sort = 100, + Status = 0, + TypeId = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Value = "发布" + }, + new + { + Id = "d2f73bb4-05a1-4aa5-9273-e9f3c393996d", + Code = "2", + IsDeleted = 0ul, + Remark = "撤回", + Sort = 100, + Status = 0, + TypeId = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Value = "撤回" + }, + new + { + Id = "6385916f-6ead-470e-889b-cfb9d2da6256", + Code = "3", + IsDeleted = 0ul, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Value = "删除" + }, + new + { + Id = "1f432e9d-f031-4787-a527-f37bb20ebe3a", + Code = "true", + IsDeleted = 0ul, + Remark = "是", + Sort = 100, + Status = 0, + TypeId = "80aea9e7-ad1b-4f57-b4db-9d15813707bd", + Value = "是" + }, + new + { + Id = "0724636d-e870-46c6-8e1e-67f1ea5f58e5", + Code = "false", + IsDeleted = 0ul, + Remark = "否", + Sort = 100, + Status = 0, + TypeId = "80aea9e7-ad1b-4f57-b4db-9d15813707bd", + Value = "否" + }, + new + { + Id = "881ebcf2-94a6-4938-81a4-55b81736f3b3", + Code = "1", + IsDeleted = 0ul, + Remark = "下载压缩包", + Sort = 100, + Status = 0, + TypeId = "430d0538-054a-4b37-a459-1095d0ccf4ae", + Value = "下载压缩包" + }, + new + { + Id = "5bc8662d-b795-48f1-a88e-2f4be5279d37", + Code = "2", + IsDeleted = 0ul, + Remark = "生成到本项目", + Sort = 100, + Status = 0, + TypeId = "430d0538-054a-4b37-a459-1095d0ccf4ae", + Value = "生成到本项目" + }, + new + { + Id = "b2a00b40-23e1-40e1-8995-60ab420eafe1", + Code = "1", + IsDeleted = 0ul, + Remark = "GET", + Sort = 100, + Status = 0, + TypeId = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Value = "GET" + }, + new + { + Id = "10070836-0c89-4b89-96e3-c65c7e33a86c", + Code = "2", + IsDeleted = 0ul, + Remark = "POST", + Sort = 100, + Status = 0, + TypeId = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Value = "POST" + }, + new + { + Id = "69a34c0b-85ce-4e53-9ad4-a592057dddd4", + Code = "3", + IsDeleted = 0ul, + Remark = "PUT", + Sort = 100, + Status = 0, + TypeId = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Value = "PUT" + }, + new + { + Id = "0e4dc1f1-8654-401b-800a-22b31f62ced1", + Code = "4", + IsDeleted = 0ul, + Remark = "DELETE", + Sort = 100, + Status = 0, + TypeId = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Value = "DELETE" + }, + new + { + Id = "443f965e-96b4-4fd2-93e9-07fe00a47205", + Code = "input", + IsDeleted = 0ul, + Remark = "输入框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "输入框" + }, + new + { + Id = "bf7be9a2-53fb-4250-87fe-49d7f741d159", + Code = "datepicker", + IsDeleted = 0ul, + Remark = "时间选择", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "时间选择" + }, + new + { + Id = "cea10919-47e2-43ab-a19b-9d41fe648310", + Code = "select", + IsDeleted = 0ul, + Remark = "下拉框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "下拉框" + }, + new + { + Id = "7d534f44-cf66-472e-b0d3-20a4cc2ad432", + Code = "radio", + IsDeleted = 0ul, + Remark = "单选框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "单选框" + }, + new + { + Id = "d63b06d4-be11-4ab7-9905-87f6f2ca056f", + Code = "switch", + IsDeleted = 0ul, + Remark = "开关", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "开关" + }, + new + { + Id = "46967f62-bac9-47fd-9278-b29c047b0c38", + Code = "checkbox", + IsDeleted = 0ul, + Remark = "多选框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "多选框" + }, + new + { + Id = "a8ac5009-93d3-4405-a6b9-81ed3e2811f2", + Code = "inputnumber", + IsDeleted = 0ul, + Remark = "数字输入框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "数字输入框" + }, + new + { + Id = "d00b3efa-2f9d-464c-8134-aa7013ef52bb", + Code = "textarea", + IsDeleted = 0ul, + Remark = "文本域", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "文本域" + }, + new + { + Id = "ad759239-e34e-4fdf-a0d0-6b39eb41f880", + Code = "==", + IsDeleted = 0ul, + Remark = "等于", + Sort = 1, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "等于" + }, + new + { + Id = "2c8e1240-f3ef-4df1-bd68-3047109ad5b4", + Code = "like", + IsDeleted = 0ul, + Remark = "模糊", + Sort = 2, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "模糊" + }, + new + { + Id = "efc18513-c17b-4fc1-8e0e-2e79fb9b0107", + Code = ">", + IsDeleted = 0ul, + Remark = "大于", + Sort = 3, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "大于" + }, + new + { + Id = "a6812d98-7785-4db2-b2f8-d476a459c5ed", + Code = "<", + IsDeleted = 0ul, + Remark = "小于", + Sort = 4, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "小于" + }, + new + { + Id = "218b5bac-343e-4594-a9da-30e391c7735c", + Code = "!=", + IsDeleted = 0ul, + Remark = "不等于", + Sort = 5, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "不等于" + }, + new + { + Id = "4825f15d-077b-4c16-8ee7-0205d653e14d", + Code = ">=", + IsDeleted = 0ul, + Remark = "大于等于", + Sort = 6, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "大于等于" + }, + new + { + Id = "7c9e8270-db5a-45b7-acd7-f95c8ee31547", + Code = "<=", + IsDeleted = 0ul, + Remark = "小于等于", + Sort = 7, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "小于等于" + }, + new + { + Id = "759ea7de-a18f-4ed7-9032-bbd1a4dadc9e", + Code = "isNotNull", + IsDeleted = 0ul, + Remark = "不为空", + Sort = 8, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "不为空" + }, + new + { + Id = "a5cdf75e-6361-490d-a043-f5929ccf65a9", + Code = "int", + IsDeleted = 0ul, + Remark = "int", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "int" + }, + new + { + Id = "cffdd4b5-d4e0-4196-81b9-02045de8b189", + Code = "long", + IsDeleted = 0ul, + Remark = "long", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "long" + }, + new + { + Id = "25be90ea-b439-4e9d-993c-48a5ce3b9358", + Code = "string", + IsDeleted = 0ul, + Remark = "string", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "string" + }, + new + { + Id = "496eef62-3849-4263-b274-a3e6090942e3", + Code = "bool", + IsDeleted = 0ul, + Remark = "bool", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "bool" + }, + new + { + Id = "681c02ea-7570-4a97-85a7-957a77314df6", + Code = "double", + IsDeleted = 0ul, + Remark = "double", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "double" + }, + new + { + Id = "259698cf-b25d-427a-8d22-33b9c1899eea", + Code = "DateTime", + IsDeleted = 0ul, + Remark = "DateTime", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "DateTime" + }, + new + { + Id = "a30c682e-744a-468d-a74f-827928c96c01", + Code = "float", + IsDeleted = 0ul, + Remark = "float", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "float" + }, + new + { + Id = "4b68cb83-f173-4864-bd10-a7a7d5248102", + Code = "decimal", + IsDeleted = 0ul, + Remark = "decimal", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "decimal" + }, + new + { + Id = "134d4173-8d93-4c19-bf6b-a640d35da097", + Code = "Guid", + IsDeleted = 0ul, + Remark = "Guid", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "Guid" + }, + new + { + Id = "c597306f-5fd0-4f75-9a46-12de340cd199", + Code = "DateTimeOffset", + IsDeleted = 0ul, + Remark = "DateTimeOffset", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "DateTimeOffset" + }, + new + { + Id = "9b44b297-f6f0-4c31-b680-83baabf4c5b7", + Code = "1", + IsDeleted = 0ul, + Remark = "男性", + Sort = 100, + Status = 0, + TypeId = "301ed120-dfc5-4d7c-af59-b56a519581c9", + Value = "男" + }, + new + { + Id = "46ba4c21-cbde-4561-8e57-19ed0f752c17", + Code = "2", + IsDeleted = 0ul, + Remark = "女性", + Sort = 100, + Status = 0, + TypeId = "301ed120-dfc5-4d7c-af59-b56a519581c9", + Value = "女" + }, + new + { + Id = "150e04a6-3bf5-4604-98d5-14fbd1608bc5", + Code = "3", + IsDeleted = 0ul, + Remark = "未知性别", + Sort = 100, + Status = 0, + TypeId = "301ed120-dfc5-4d7c-af59-b56a519581c9", + Value = "未知" + }, + new + { + Id = "b6ad194b-ccfb-4ee7-b402-7b78e8bb8680", + Code = "DEFAULT", + IsDeleted = 0ul, + Remark = "默认常量,都以XIAONUO_开头的", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "默认常量" + }, + new + { + Id = "e2271e0a-17a3-41f3-81fa-dbe895ce0466", + Code = "ALIYUN_SMS", + IsDeleted = 0ul, + Remark = "阿里云短信配置", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "阿里云短信" + }, + new + { + Id = "5e61f455-1975-438b-bd17-85a1f89abe84", + Code = "TENCENT_SMS", + IsDeleted = 0ul, + Remark = "腾讯云短信", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "腾讯云短信" + }, + new + { + Id = "9cba05e7-495a-43fb-b86b-fa459da5b04d", + Code = "EMAIL", + IsDeleted = 0ul, + Remark = "邮件配置", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "邮件配置" + }, + new + { + Id = "81d87a9c-a4ee-46dc-be69-71dcccb14d9d", + Code = "FILE_PATH", + IsDeleted = 0ul, + Remark = "文件上传路径", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "文件上传路径" + }, + new + { + Id = "fdf38fa8-3d1e-4a43-84bc-785c0a394160", + Code = "OAUTH", + IsDeleted = 0ul, + Remark = "Oauth配置", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "Oauth配置" + }, + new + { + Id = "e3c9ebce-bdae-45a3-92b1-fc2e35a23242", + Code = "0", + IsDeleted = 0ul, + Remark = "正常", + Sort = 100, + Status = 0, + TypeId = "b0cfa91c-1189-4f39-bc5a-f035885d0604", + Value = "正常" + }, + new + { + Id = "22492650-a92b-43f0-9954-3d3891ec6e45", + Code = "1", + IsDeleted = 0ul, + Remark = "停用", + Sort = 100, + Status = 0, + TypeId = "b0cfa91c-1189-4f39-bc5a-f035885d0604", + Value = "停用" + }, + new + { + Id = "297030a2-88d9-4646-b7c1-a17c9a8c0b98", + Code = "2", + IsDeleted = 0ul, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = "b0cfa91c-1189-4f39-bc5a-f035885d0604", + Value = "删除" + }, + new + { + Id = "1159fc34-ef51-4e0f-b55b-0220d2445a1e", + Code = "N", + IsDeleted = 0ul, + Remark = "否", + Sort = 100, + Status = 0, + TypeId = "f2f0e8bf-04da-4a2f-9fb8-1d6549227302", + Value = "否" + }, + new + { + Id = "7d3115a8-938a-4d09-a2c9-21ad65b8b65a", + Code = "Y", + IsDeleted = 0ul, + Remark = "是", + Sort = 100, + Status = 0, + TypeId = "f2f0e8bf-04da-4a2f-9fb8-1d6549227302", + Value = "是" + }, + new + { + Id = "8204daac-b2ea-41f6-ab52-ef299a05fd94", + Code = "1", + IsDeleted = 0ul, + Remark = "登录", + Sort = 100, + Status = 0, + TypeId = "2cecf329-cf95-44eb-a8d7-3fb77b13e093", + Value = "登录" + }, + new + { + Id = "934099f4-c1a6-4f63-8cff-a42356369dd9", + Code = "2", + IsDeleted = 0ul, + Remark = "登出", + Sort = 100, + Status = 0, + TypeId = "2cecf329-cf95-44eb-a8d7-3fb77b13e093", + Value = "登出" + }, + new + { + Id = "a8cd8263-4397-4d68-91db-d92330c67632", + Code = "0", + IsDeleted = 0ul, + Remark = "目录", + Sort = 100, + Status = 0, + TypeId = "e973d383-c28e-42e0-9e23-5f2bd592fef5", + Value = "目录" + }, + new + { + Id = "bb082602-57ea-4941-b68b-64460e7f63b6", + Code = "1", + IsDeleted = 0ul, + Remark = "菜单", + Sort = 100, + Status = 0, + TypeId = "e973d383-c28e-42e0-9e23-5f2bd592fef5", + Value = "菜单" + }, + new + { + Id = "a4cba529-769a-4309-add6-b15b25ebf05a", + Code = "2", + IsDeleted = 0ul, + Remark = "按钮", + Sort = 100, + Status = 0, + TypeId = "e973d383-c28e-42e0-9e23-5f2bd592fef5", + Value = "按钮" + }, + new + { + Id = "7ec98dee-8dc9-47fe-9276-f3312ed5dd24", + Code = "0", + IsDeleted = 0ul, + Remark = "未发送", + Sort = 100, + Status = 0, + TypeId = "058db370-3718-42c3-8ba7-095341b1fe13", + Value = "未发送" + }, + new + { + Id = "83cf4407-dbe1-4da2-883d-a3e16a780f37", + Code = "1", + IsDeleted = 0ul, + Remark = "发送成功", + Sort = 100, + Status = 0, + TypeId = "058db370-3718-42c3-8ba7-095341b1fe13", + Value = "发送成功" + }, + new + { + Id = "e1e71562-015e-466b-b98b-29f4b8966bce", + Code = "2", + IsDeleted = 0ul, + Remark = "发送失败", + Sort = 100, + Status = 0, + TypeId = "058db370-3718-42c3-8ba7-095341b1fe13", + Value = "发送失败" + }, + new + { + Id = "13e71f10-539b-4016-9acf-e3541c0f04db", + Code = "3", + IsDeleted = 0ul, + Remark = "失效", + Sort = 100, + Status = 0, + TypeId = "058db370-3718-42c3-8ba7-095341b1fe13", + Value = "失效" + }, + new + { + Id = "f965b257-b2ff-4a18-9084-6e805547e9e6", + Code = "0", + IsDeleted = 0ul, + Remark = "无", + Sort = 100, + Status = 0, + TypeId = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Value = "无" + }, + new + { + Id = "75c40b12-07d1-4828-9b6c-132f4bca194c", + Code = "1", + IsDeleted = 0ul, + Remark = "组件", + Sort = 100, + Status = 0, + TypeId = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Value = "组件" + }, + new + { + Id = "be3197fd-2fba-4e79-b252-793f05e51a21", + Code = "2", + IsDeleted = 0ul, + Remark = "内链", + Sort = 100, + Status = 0, + TypeId = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Value = "内链" + }, + new + { + Id = "2a10adc6-b286-4fad-9719-7e7321c7a93e", + Code = "3", + IsDeleted = 0ul, + Remark = "外链", + Sort = 100, + Status = 0, + TypeId = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Value = "外链" + }, + new + { + Id = "d3984ed0-29d5-416e-87c6-75364010677b", + Code = "1", + IsDeleted = 0ul, + Remark = "系统权重", + Sort = 100, + Status = 0, + TypeId = "b3235678-f7fe-442b-8fba-e792a89b78f2", + Value = "系统权重" + }, + new + { + Id = "f4771570-e4a5-416f-b82f-1e3082c35ee8", + Code = "2", + IsDeleted = 0ul, + Remark = "业务权重", + Sort = 100, + Status = 0, + TypeId = "b3235678-f7fe-442b-8fba-e792a89b78f2", + Value = "业务权重" + }, + new + { + Id = "a2d6bdfe-ee61-4425-94c9-7ece3de080fa", + Code = "1", + IsDeleted = 0ul, + Remark = "全部数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "全部数据" + }, + new + { + Id = "d0b25877-165e-41b8-9034-7a8fea7e5776", + Code = "2", + IsDeleted = 0ul, + Remark = "本部门及以下数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "本部门及以下数据" + }, + new + { + Id = "375362c8-d694-40d9-8c55-07669e472460", + Code = "3", + IsDeleted = 0ul, + Remark = "本部门数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "本部门数据" + }, + new + { + Id = "70afe4c1-3495-483a-bdd0-3d4ea45136b3", + Code = "4", + IsDeleted = 0ul, + Remark = "仅本人数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "仅本人数据" + }, + new + { + Id = "6f395e69-8add-40ae-a378-0881d64a4413", + Code = "5", + IsDeleted = 0ul, + Remark = "自定义数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "自定义数据" + }, + new + { + Id = "a819d549-6107-43a2-99d2-377cf0a5681a", + Code = "1", + IsDeleted = 0ul, + Remark = "app", + Sort = 100, + Status = 0, + TypeId = "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", + Value = "app" + }, + new + { + Id = "b1e821b3-4e7b-4e60-a67f-a40d327ab6d6", + Code = "2", + IsDeleted = 0ul, + Remark = "pc", + Sort = 100, + Status = 0, + TypeId = "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", + Value = "pc" + }, + new + { + Id = "2bce5da0-b386-4412-935d-d081b7cf4391", + Code = "3", + IsDeleted = 0ul, + Remark = "其他", + Sort = 100, + Status = 0, + TypeId = "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", + Value = "其他" + }, + new + { + Id = "35aac71b-9939-4b2e-8533-d087618c1dca", + Code = "0", + IsDeleted = 0ul, + Remark = "其它", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "其它" + }, + new + { + Id = "e7585292-d6c6-475f-bf87-8ad473ce6be4", + Code = "1", + IsDeleted = 0ul, + Remark = "增加", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "增加" + }, + new + { + Id = "387d403c-6af3-4bda-af05-d60472823480", + Code = "2", + IsDeleted = 0ul, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "删除" + }, + new + { + Id = "4656bf7b-df6a-4c71-b963-18d8af3f93a7", + Code = "3", + IsDeleted = 0ul, + Remark = "编辑", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "编辑" + }, + new + { + Id = "9edba767-7008-4623-8dbf-75417f1a0c82", + Code = "4", + IsDeleted = 0ul, + Remark = "更新", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "更新" + }, + new + { + Id = "d1334517-ddfa-47f3-b053-88ea999babc7", + Code = "5", + IsDeleted = 0ul, + Remark = "查询", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "查询" + }, + new + { + Id = "fe6e46ee-208b-446f-8aaa-05bd5eaa459b", + Code = "6", + IsDeleted = 0ul, + Remark = "详情", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "详情" + }, + new + { + Id = "bf8f818f-060b-4815-8fe9-11bb356cb2e6", + Code = "7", + IsDeleted = 0ul, + Remark = "树", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "树" + }, + new + { + Id = "2b9cf0b8-74ba-4b36-8504-275a2387729a", + Code = "8", + IsDeleted = 0ul, + Remark = "导入", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "导入" + }, + new + { + Id = "db13458a-22b4-4f5e-b6f9-c3c9e1400909", + Code = "9", + IsDeleted = 0ul, + Remark = "导出", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "导出" + }, + new + { + Id = "e02d9274-aa68-4e2c-9211-b226f1e6423e", + Code = "10", + IsDeleted = 0ul, + Remark = "授权", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "授权" + }, + new + { + Id = "023244cd-eb32-4a19-bb3c-97301be1e769", + Code = "11", + IsDeleted = 0ul, + Remark = "强退", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "强退" + }, + new + { + Id = "beb773cd-a22a-44e2-ac4b-5ab6f21aa3c4", + Code = "12", + IsDeleted = 0ul, + Remark = "清空", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "清空" + }, + new + { + Id = "b6f55ff4-6b6a-452a-b372-32ac2f1f2b30", + Code = "13", + IsDeleted = 0ul, + Remark = "修改状态", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "修改状态" + }, + new + { + Id = "f86e19a0-8ba8-4588-91f6-be2af525f490", + Code = "1", + IsDeleted = 0ul, + Remark = "阿里云", + Sort = 100, + Status = 0, + TypeId = "b924e0c1-3f23-4e37-9f27-90e945381304", + Value = "阿里云" + }, + new + { + Id = "91c522b5-4f6f-48a5-ba79-962d56821bdc", + Code = "2", + IsDeleted = 0ul, + Remark = "腾讯云", + Sort = 100, + Status = 0, + TypeId = "b924e0c1-3f23-4e37-9f27-90e945381304", + Value = "腾讯云" + }, + new + { + Id = "cc64be62-3213-4442-a98a-c508bc35104b", + Code = "3", + IsDeleted = 0ul, + Remark = "minio", + Sort = 100, + Status = 0, + TypeId = "b924e0c1-3f23-4e37-9f27-90e945381304", + Value = "minio" + }, + new + { + Id = "cdc4a9ee-7436-4807-87cd-4350a72745b0", + Code = "4", + IsDeleted = 0ul, + Remark = "本地", + Sort = 100, + Status = 0, + TypeId = "b924e0c1-3f23-4e37-9f27-90e945381304", + Value = "本地" + }, + new + { + Id = "76e885e8-1b40-45b6-bb0f-5519c6839df2", + Code = "1", + IsDeleted = 0ul, + Remark = "运行", + Sort = 100, + Status = 0, + TypeId = "0f1b8660-d932-4a53-a681-a38bebae91e0", + Value = "运行" + }, + new + { + Id = "6e3591ec-2902-4bf3-b5a2-7ebc94ebc08f", + Code = "2", + IsDeleted = 0ul, + Remark = "停止", + Sort = 100, + Status = 0, + TypeId = "0f1b8660-d932-4a53-a681-a38bebae91e0", + Value = "停止" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysDictType", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_dict_type"); + + b + .HasComment("字典类型表"); + + b.HasData( + new + { + Id = "b0cfa91c-1189-4f39-bc5a-f035885d0604", + Code = "common_status", + IsDeleted = 0ul, + Name = "通用状态", + Remark = "通用状态", + Sort = 100, + Status = 0 + }, + new + { + Id = "301ed120-dfc5-4d7c-af59-b56a519581c9", + Code = "sex", + IsDeleted = 0ul, + Name = "性别", + Remark = "性别字典", + Sort = 100, + Status = 0 + }, + new + { + Id = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Code = "consts_type", + IsDeleted = 0ul, + Name = "常量的分类", + Remark = "常量的分类,用于区别一组配置", + Sort = 100, + Status = 0 + }, + new + { + Id = "f2f0e8bf-04da-4a2f-9fb8-1d6549227302", + Code = "yes_or_no", + IsDeleted = 0ul, + Name = "是否", + Remark = "是否", + Sort = 100, + Status = 0 + }, + new + { + Id = "2cecf329-cf95-44eb-a8d7-3fb77b13e093", + Code = "vis_type", + IsDeleted = 0ul, + Name = "访问类型", + Remark = "访问类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "e973d383-c28e-42e0-9e23-5f2bd592fef5", + Code = "menu_type", + IsDeleted = 0ul, + Name = "菜单类型", + Remark = "菜单类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "058db370-3718-42c3-8ba7-095341b1fe13", + Code = "send_type", + IsDeleted = 0ul, + Name = "发送类型", + Remark = "发送类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Code = "open_type", + IsDeleted = 0ul, + Name = "打开方式", + Remark = "打开方式", + Sort = 100, + Status = 0 + }, + new + { + Id = "b3235678-f7fe-442b-8fba-e792a89b78f2", + Code = "menu_weight", + IsDeleted = 0ul, + Name = "菜单权重", + Remark = "菜单权重", + Sort = 100, + Status = 0 + }, + new + { + Id = "a2068ed1-62a6-463c-b720-06111d994079", + Code = "data_scope_type", + IsDeleted = 0ul, + Name = "数据范围类型", + Remark = "数据范围类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", + Code = "sms_send_source", + IsDeleted = 0ul, + Name = "短信发送来源", + Remark = "短信发送来源", + Sort = 100, + Status = 0 + }, + new + { + Id = "8461bd1d-311b-487e-b579-d6049c6fb191", + Code = "op_type", + IsDeleted = 0ul, + Name = "操作类型", + Remark = "操作类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "b924e0c1-3f23-4e37-9f27-90e945381304", + Code = "file_storage_location", + IsDeleted = 0ul, + Name = "文件存储位置", + Remark = "文件存储位置", + Sort = 100, + Status = 0 + }, + new + { + Id = "0f1b8660-d932-4a53-a681-a38bebae91e0", + Code = "run_status", + IsDeleted = 0ul, + Name = "运行状态", + Remark = "定时任务运行状态", + Sort = 100, + Status = 0 + }, + new + { + Id = "d5b311fd-4b60-4b51-9156-b0e6d6cfa4d1", + Code = "notice_type", + IsDeleted = 0ul, + Name = "通知公告类型", + Remark = "通知公告类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Code = "notice_status", + IsDeleted = 0ul, + Name = "通知公告状态", + Remark = "通知公告状态", + Sort = 100, + Status = 0 + }, + new + { + Id = "80aea9e7-ad1b-4f57-b4db-9d15813707bd", + Code = "yes_true_false", + IsDeleted = 0ul, + Name = "是否boolean", + Remark = "是否boolean", + Sort = 100, + Status = 0 + }, + new + { + Id = "430d0538-054a-4b37-a459-1095d0ccf4ae", + Code = "code_gen_create_type", + IsDeleted = 0ul, + Name = "代码生成方式", + Remark = "代码生成方式", + Sort = 100, + Status = 0 + }, + new + { + Id = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Code = "request_type", + IsDeleted = 0ul, + Name = "请求方式", + Remark = "请求方式", + Sort = 100, + Status = 0 + }, + new + { + Id = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Code = "code_gen_effect_type", + IsDeleted = 0ul, + Name = "代码生成作用类型", + Remark = "代码生成作用类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Code = "code_gen_query_type", + IsDeleted = 0ul, + Name = "代码生成查询类型", + Remark = "代码生成查询类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "28f653d4-e573-4f54-8e5c-4e308780145a", + Code = "code_gen_net_type", + IsDeleted = 0ul, + Name = "代码生成.NET类型", + Remark = "代码生成.NET类型", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysEmp", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("用户Id"); + + b.Property("JobNum") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("工号"); + + b.Property("OrgId") + .HasColumnType("varchar(36)") + .HasColumnName("OrgId") + .HasComment("机构Id"); + + b.Property("OrgName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("机构名称"); + + b.HasKey("Id"); + + b.ToTable("sys_emp"); + + b + .HasComment("员工表"); + + b.HasData( + new + { + Id = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + JobNum = "D1001", + OrgId = "12d888de-f55d-4c88-b0a0-7c3510664d97", + OrgName = "华夏集团" + }, + new + { + Id = "5398fb9a-2209-4ce7-a2c1-b6a983e502b5", + JobNum = "D1002", + OrgId = "12d888de-f55d-4c88-b0a0-7c3510664d97", + OrgName = "华夏集团" + }, + new + { + Id = "16a74726-e156-499f-9942-0e0e24ad0c3f", + JobNum = "D1003", + OrgId = "12d888de-f55d-4c88-b0a0-7c3510664d97", + OrgName = "华夏集团" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysEmpExtOrgPos", b => + { + b.Property("SysEmpId") + .HasColumnType("varchar(36)") + .HasColumnName("SysEmpId") + .HasComment("员工Id"); + + b.Property("SysOrgId") + .HasColumnType("varchar(36)") + .HasColumnName("SysOrgId") + .HasComment("机构Id"); + + b.Property("SysPosId") + .HasColumnType("varchar(36)") + .HasColumnName("SysPosId") + .HasComment("职位Id"); + + b.HasKey("SysEmpId", "SysOrgId", "SysPosId"); + + b.HasIndex("SysOrgId"); + + b.HasIndex("SysPosId"); + + b.ToTable("sys_emp_ext_org_pos"); + + b + .HasComment("员工附属机构职位表"); + + b.HasData( + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysOrgId = "12d888de-f55d-4c88-b0a0-7c3510664d97", + SysPosId = "269236c4-d74e-4e54-9d50-f6f61580a197" + }, + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysOrgId = "8a2271d6-5bda-4544-bdd3-27e53a8b418e", + SysPosId = "46c68a62-f119-4ff7-b621-0bbd77504538" + }, + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysOrgId = "127c0a5d-43ac-4370-b313-082361885aca", + SysPosId = "5bd8c466-2bca-4386-a551-daac78e3cee8" + }, + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysOrgId = "f236ab2d-e1b5-4e9d-844f-a59ec32c20e4", + SysPosId = "d89a3afe-e6ba-4018-bdae-3c98bb47ad66" + }, + new + { + SysEmpId = "16a74726-e156-499f-9942-0e0e24ad0c3f", + SysOrgId = "f236ab2d-e1b5-4e9d-844f-a59ec32c20e4", + SysPosId = "269236c4-d74e-4e54-9d50-f6f61580a197" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysEmpPos", b => + { + b.Property("SysEmpId") + .HasColumnType("varchar(36)") + .HasColumnName("SysEmpId") + .HasComment("员工Id"); + + b.Property("SysPosId") + .HasColumnType("varchar(36)") + .HasColumnName("SysPosId") + .HasComment("职位Id"); + + b.HasKey("SysEmpId", "SysPosId"); + + b.HasIndex("SysPosId"); + + b.ToTable("sys_emp_pos"); + + b + .HasComment("员工职位表"); + + b.HasData( + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysPosId = "269236c4-d74e-4e54-9d50-f6f61580a197" + }, + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysPosId = "46c68a62-f119-4ff7-b621-0bbd77504538" + }, + new + { + SysEmpId = "5398fb9a-2209-4ce7-a2c1-b6a983e502b5", + SysPosId = "5bd8c466-2bca-4386-a551-daac78e3cee8" + }, + new + { + SysEmpId = "16a74726-e156-499f-9942-0e0e24ad0c3f", + SysPosId = "269236c4-d74e-4e54-9d50-f6f61580a197" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysFile", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("FileBucket") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件仓库"); + + b.Property("FileLocation") + .HasColumnType("int") + .HasComment("文件存储位置"); + + b.Property("FileObjectName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("存储到bucket的名称"); + + b.Property("FileOriginName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件名称"); + + b.Property("FilePath") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("存储路径"); + + b.Property("FileSizeInfo") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件大小信息"); + + b.Property("FileSizeKb") + .HasColumnType("bigint") + .HasComment("文件大小kb"); + + b.Property("FileSuffix") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件后缀"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_file"); + + b + .HasComment("文件信息表"); + }); + + modelBuilder.Entity("Ewide.Core.SysLogAudit", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("ColumnName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列名"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("操作时间"); + + b.Property("NewValue") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("新值"); + + b.Property("OldValue") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("旧值"); + + b.Property("Operate") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作方式"); + + b.Property("TableName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("表名"); + + b.Property("UserId") + .HasColumnType("varchar(36)") + .HasColumnName("UserId") + .HasComment("操作人Id"); + + b.Property("UserName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作人名称"); + + b.HasKey("Id"); + + b.ToTable("sys_log_audit"); + + b + .HasComment("审计日志表"); + }); + + modelBuilder.Entity("Ewide.Core.SysLogOp", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("Account") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作人"); + + b.Property("Browser") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("浏览器"); + + b.Property("ClassName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("类名称"); + + b.Property("ElapsedTime") + .HasColumnType("bigint") + .HasComment("耗时"); + + b.Property("Ip") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("IP"); + + b.Property("Location") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("地址"); + + b.Property("Message") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("具体消息"); + + b.Property("MethodName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("方法名称"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("OpTime") + .HasColumnType("datetime") + .HasComment("操作时间"); + + b.Property("OpType") + .HasColumnType("int") + .HasComment("操作类型"); + + b.Property("Os") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作系统"); + + b.Property("Param") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求参数"); + + b.Property("ReqMethod") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求方式"); + + b.Property("Result") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("返回结果"); + + b.Property("Success") + .HasColumnType("tinyint(1)") + .HasComment("是否执行成功"); + + b.Property("Url") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求地址"); + + b.HasKey("Id"); + + b.ToTable("sys_log_op"); + + b + .HasComment("操作日志表"); + }); + + modelBuilder.Entity("Ewide.Core.SysLogVis", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("Account") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("访问人"); + + b.Property("Browser") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("浏览器"); + + b.Property("Ip") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("IP"); + + b.Property("Location") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("地址"); + + b.Property("Message") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("具体消息"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Os") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作系统"); + + b.Property("Success") + .HasColumnType("tinyint(1)") + .HasComment("是否执行成功"); + + b.Property("VisTime") + .HasColumnType("datetime") + .HasComment("访问时间"); + + b.Property("VisType") + .HasColumnType("int") + .HasComment("访问类型"); + + b.HasKey("Id"); + + b.ToTable("sys_log_vis"); + + b + .HasComment("访问日志表"); + }); + + modelBuilder.Entity("Ewide.Core.SysMenu", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Application") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("应用分类"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Component") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("组件地址"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Icon") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Link") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("内链地址"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("OpenType") + .HasColumnType("int") + .HasComment("打开方式"); + + b.Property("Permission") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("权限标识"); + + b.Property("Pid") + .HasColumnType("varchar(36)") + .HasColumnName("Pid") + .HasComment("父Id"); + + b.Property("Pids") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("父Ids"); + + b.Property("Redirect") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("重定向地址"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Router") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("路由地址"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int"); + + b.Property("Type") + .HasColumnType("int") + .HasComment("菜单类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Visible") + .HasColumnType("bit") + .HasColumnName("Visible") + .HasComment("是否可见"); + + b.Property("VisibleParent") + .HasColumnType("bit") + .HasColumnName("VisibleParent") + .HasComment("关联菜单显示"); + + b.Property("Weight") + .HasColumnType("int") + .HasComment("权重"); + + b.HasKey("Id"); + + b.ToTable("sys_menu"); + + b + .HasComment("菜单表"); + + b.HasData( + new + { + Id = "83ce02c9-b37f-4885-96e3-9b34371edb2e", + Application = "system", + Code = "system_index", + Component = "RouteView", + Icon = "home", + IsDeleted = 0ul, + Name = "主控面板", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Redirect = "/analysis", + Router = "/", + Sort = 1, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "914a520d-9e4f-465b-ae05-7248b37d4be1", + Application = "system", + Code = "system_index_dashboard", + Component = "system/dashboard/Analysis", + IsDeleted = 0ul, + Name = "分析页", + OpenType = 0, + Pid = "83ce02c9-b37f-4885-96e3-9b34371edb2e", + Pids = "[00000000-0000-0000-0000-000000000000],[83ce02c9-b37f-4885-96e3-9b34371edb2e],", + Router = "analysis", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "72981ad9-9036-4aa7-b8f4-dc407eda50b4", + Application = "system", + Code = "system_index_workplace", + Component = "system/dashboard/Workplace", + IsDeleted = 0ul, + Name = "工作台", + OpenType = 0, + Pid = "83ce02c9-b37f-4885-96e3-9b34371edb2e", + Pids = "[00000000-0000-0000-0000-000000000000],[83ce02c9-b37f-4885-96e3-9b34371edb2e],", + Router = "workplace", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", + Application = "system", + Code = "sys_mgr", + Component = "PageView", + Icon = "team", + IsDeleted = 0ul, + Name = "组织架构", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/sys", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Application = "system", + Code = "sys_user_mgr", + Component = "system/user/index", + IsDeleted = 0ul, + Name = "用户管理", + OpenType = 1, + Pid = "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],", + Router = "/mgr_user", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "bff7e542-6463-4f82-a03d-b1022e60d4b6", + Application = "system", + Code = "sys_user_mgr_page", + IsDeleted = 0ul, + Name = "用户查询", + OpenType = 0, + Permission = "sysUser:page", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "936440c7-93ef-4d2f-adff-6151f4317355", + Application = "system", + Code = "sys_user_mgr_edit", + IsDeleted = 0ul, + Name = "用户编辑", + OpenType = 0, + Permission = "sysUser:edit", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "281888e3-d183-4711-ba27-298ef6e64659", + Application = "system", + Code = "sys_user_mgr_add", + IsDeleted = 0ul, + Name = "用户增加", + OpenType = 0, + Permission = "sysUser:add", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e4aff800-d34a-416b-bd6e-dcebaa1dd436", + Application = "system", + Code = "sys_user_mgr_delete", + IsDeleted = 0ul, + Name = "用户删除", + OpenType = 0, + Permission = "sysUser:delete", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "7a266494-e17b-480d-8f50-cc234e6fe424", + Application = "system", + Code = "sys_user_mgr_detail", + IsDeleted = 0ul, + Name = "用户详情", + OpenType = 0, + Permission = "sysUser:detail", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "0d93f763-20d3-4c95-add3-3d94770b110e", + Application = "system", + Code = "sys_user_mgr_export", + IsDeleted = 0ul, + Name = "用户导出", + OpenType = 0, + Permission = "sysUser:export", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "17d047c3-6e95-4f7d-93db-97817d886fa2", + Application = "system", + Code = "sys_user_mgr_selector", + IsDeleted = 0ul, + Name = "用户选择器", + OpenType = 0, + Permission = "sysUser:selector", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "5fc44256-2e56-4805-9382-b5504ca5b6cb", + Application = "system", + Code = "sys_user_mgr_grant_role", + IsDeleted = 0ul, + Name = "用户授权角色", + OpenType = 0, + Permission = "sysUser:grantRole", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ceff7899-6779-4708-b9ed-a2d5b488cff2", + Application = "system", + Code = "sys_user_mgr_own_role", + IsDeleted = 0ul, + Name = "用户拥有角色", + OpenType = 0, + Permission = "sysUser:ownRole", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "38ba9ccc-eb96-4a60-a5ab-f6ea013f8291", + Application = "system", + Code = "sys_user_mgr_grant_data", + IsDeleted = 0ul, + Name = "用户授权数据", + OpenType = 0, + Permission = "sysUser:grantData", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "cf2f8faf-b280-456c-8865-64115e04019f", + Application = "system", + Code = "sys_user_mgr_own_data", + IsDeleted = 0ul, + Name = "用户拥有数据", + OpenType = 0, + Permission = "sysUser:ownData", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "711563e5-fed6-44d6-bcf3-138c73cfbfca", + Application = "system", + Code = "sys_user_mgr_update_info", + IsDeleted = 0ul, + Name = "用户更新信息", + OpenType = 0, + Permission = "sysUser:updateInfo", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "306fe9bf-3132-4011-9f3f-1a2f4ead7734", + Application = "system", + Code = "sys_user_mgr_update_pwd", + IsDeleted = 0ul, + Name = "用户修改密码", + OpenType = 0, + Permission = "sysUser:updatePwd", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "791b0d88-7e25-490f-a94f-a2e32bb3b6e6", + Application = "system", + Code = "sys_user_mgr_change_status", + IsDeleted = 0ul, + Name = "用户修改状态", + OpenType = 0, + Permission = "sysUser:changeStatus", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "9d681aac-528a-46b0-9718-ffc4abe9c29e", + Application = "system", + Code = "sys_user_mgr_update_avatar", + IsDeleted = 0ul, + Name = "用户修改头像", + OpenType = 0, + Permission = "sysUser:updateAvatar", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "471b5259-5f55-4643-841c-f07089cfafdf", + Application = "system", + Code = "sys_user_mgr_reset_pwd", + IsDeleted = 0ul, + Name = "用户重置密码", + OpenType = 0, + Permission = "sysUser:resetPwd", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "471d3098-90a4-47e1-bd07-5d3ed8d21fb0", + Application = "system", + Code = "sys_user_mgr_login", + IsDeleted = 0ul, + Name = "用户登录信息", + OpenType = 0, + Permission = "getLoginUser", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 1, + Type = 2, + Visible = 0ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Application = "system", + Code = "sys_org_mgr", + Component = "system/org/index", + IsDeleted = 0ul, + Name = "机构管理", + OpenType = 1, + Pid = "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],", + Router = "/org", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "b7c34c9b-933e-4c48-b1d0-af15a1f7da1f", + Application = "system", + Code = "sys_org_mgr_page", + IsDeleted = 0ul, + Name = "机构查询", + OpenType = 0, + Permission = "sysOrg:page", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "917064b2-c715-4fa4-9b2d-20a11b784ed1", + Application = "system", + Code = "sys_org_mgr_list", + IsDeleted = 0ul, + Name = "机构列表", + OpenType = 0, + Permission = "sysOrg:list", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "d7c18d60-f28f-4a57-90b3-26fc95249ae0", + Application = "system", + Code = "sys_org_mgr_add", + IsDeleted = 0ul, + Name = "机构增加", + OpenType = 0, + Permission = "sysOrg:add", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e65eb1e3-cc9e-4309-8c7a-9ac41765b239", + Application = "system", + Code = "sys_org_mgr_edit", + IsDeleted = 0ul, + Name = "机构编辑", + OpenType = 0, + Permission = "sysOrg:edit", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "c2450c4c-89c6-46e8-8f89-11331790cbe3", + Application = "system", + Code = "sys_org_mgr_delete", + IsDeleted = 0ul, + Name = "机构删除", + OpenType = 0, + Permission = "sysOrg:delete", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "695a6018-82c3-466e-a2a1-dab16039bfdb", + Application = "system", + Code = "sys_org_mgr_detail", + IsDeleted = 0ul, + Name = "机构详情", + OpenType = 0, + Permission = "sysOrg:detail", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "2d153046-279b-43be-8f57-46875118fd2c", + Application = "system", + Code = "sys_org_mgr_tree", + IsDeleted = 0ul, + Name = "机构树", + OpenType = 0, + Permission = "sysOrg:tree", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Application = "system", + Code = "sys_pos_mgr", + Component = "system/pos/index", + IsDeleted = 0ul, + Name = "职位管理", + OpenType = 1, + Pid = "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],", + Router = "/pos", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "d2436601-bc48-4610-ba67-5b666f8ce33a", + Application = "system", + Code = "sys_pos_mgr_page", + IsDeleted = 0ul, + Name = "职位查询", + OpenType = 0, + Permission = "sysPos:page", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1305efaa-b81a-475f-9dde-8f6549ca7743", + Application = "system", + Code = "sys_pos_mgr_list", + IsDeleted = 0ul, + Name = "职位列表", + OpenType = 0, + Permission = "sysPos:list", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "c227e732-f231-4488-89b0-d1c9dad78950", + Application = "system", + Code = "sys_pos_mgr_add", + IsDeleted = 0ul, + Name = "职位增加", + OpenType = 0, + Permission = "sysPos:add", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "9dafbe04-83c9-482c-9c83-81f4da045da5", + Application = "system", + Code = "sys_pos_mgr_edit", + IsDeleted = 0ul, + Name = "职位编辑", + OpenType = 0, + Permission = "sysPos:edit", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "031df05e-b7c6-4ecd-aff2-f189c994e86d", + Application = "system", + Code = "sys_pos_mgr_delete", + IsDeleted = 0ul, + Name = "职位删除", + OpenType = 0, + Permission = "sysPos:delete", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "fe5ee8a1-2145-43c6-bdeb-518f3a9c127d", + Application = "system", + Code = "sys_pos_mgr_detail", + IsDeleted = 0ul, + Name = "职位详情", + OpenType = 0, + Permission = "sysPos:detail", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", + Application = "system", + Code = "auth_manager", + Component = "PageView", + Icon = "safety-certificate", + IsDeleted = 0ul, + Name = "权限管理", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/auth", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Application = "system", + Code = "sys_app_mgr", + Component = "system/app/index", + IsDeleted = 0ul, + Name = "应用管理", + OpenType = 1, + Pid = "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],", + Router = "/app", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "dbaa7a6d-234f-4cc9-977f-4544b8bb45b8", + Application = "system", + Code = "sys_app_mgr_page", + IsDeleted = 0ul, + Name = "应用查询", + OpenType = 0, + Permission = "sysApp:page", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ab7b2b41-b0bc-4b9c-9017-f5c6918e393e", + Application = "system", + Code = "sys_app_mgr_list", + IsDeleted = 0ul, + Name = "应用列表", + OpenType = 0, + Permission = "sysApp:list", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f4e1d63b-5d92-46eb-82aa-267335a5a3f3", + Application = "system", + Code = "sys_app_mgr_add", + IsDeleted = 0ul, + Name = "应用增加", + OpenType = 0, + Permission = "sysApp:add", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f33a3791-1c01-4d30-bcc3-d9fdf5246376", + Application = "system", + Code = "sys_app_mgr_edit", + IsDeleted = 0ul, + Name = "应用编辑", + OpenType = 0, + Permission = "sysApp:edit", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e0a6cf90-0a8b-44e4-a32f-5f43ef996b82", + Application = "system", + Code = "sys_app_mgr_delete", + IsDeleted = 0ul, + Name = "应用删除", + OpenType = 0, + Permission = "sysApp:delete", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "a0abe974-5ae9-440b-9d16-2412eab52d70", + Application = "system", + Code = "sys_app_mgr_detail", + IsDeleted = 0ul, + Name = "应用详情", + OpenType = 0, + Permission = "sysApp:detail", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f640e243-b439-4109-8aea-c66205ef6b12", + Application = "system", + Code = "sys_app_mgr_set_as_default", + IsDeleted = 0ul, + Name = "设为默认应用", + OpenType = 0, + Permission = "sysApp:setAsDefault", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Application = "system", + Code = "sys_menu_mgr", + Component = "system/menu/index", + IsDeleted = 0ul, + Name = "菜单管理", + OpenType = 1, + Pid = "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],", + Router = "/menu", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e9982e73-1833-4674-9403-ee3dee2efdf7", + Application = "system", + Code = "sys_menu_mgr_list", + IsDeleted = 0ul, + Name = "菜单列表", + OpenType = 0, + Permission = "sysMenu:list", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "758e15e6-75a6-4b72-8f94-5da379e53354", + Application = "system", + Code = "sys_menu_mgr_add", + IsDeleted = 0ul, + Name = "菜单增加", + OpenType = 0, + Permission = "sysMenu:add", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "07139c19-6b39-49f5-9e22-c4dc7e9d947b", + Application = "system", + Code = "sys_menu_mgr_edit", + IsDeleted = 0ul, + Name = "菜单编辑", + OpenType = 0, + Permission = "sysMenu:edit", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "857fb581-78ff-4884-a6fb-8dfb4951fef9", + Application = "system", + Code = "sys_menu_mgr_delete", + IsDeleted = 0ul, + Name = "菜单删除", + OpenType = 0, + Permission = "sysMenu:delete", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "cd43a8ee-9f98-4355-bf81-ba40f388b23f", + Application = "system", + Code = "sys_menu_mgr_detail", + IsDeleted = 0ul, + Name = "菜单详情", + OpenType = 0, + Permission = "sysMenu:detail", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ec318997-596d-403a-91be-f303b234b02d", + Application = "system", + Code = "sys_menu_mgr_grant_tree", + IsDeleted = 0ul, + Name = "菜单授权树", + OpenType = 0, + Permission = "sysMenu:treeForGrant", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "3892ef5d-39b2-4a4d-8047-cb96542fb54f", + Application = "system", + Code = "sys_menu_mgr_tree", + IsDeleted = 0ul, + Name = "菜单树", + OpenType = 0, + Permission = "sysMenu:tree", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "00831a3b-d080-411f-afb9-9f415334b192", + Application = "system", + Code = "sys_menu_mgr_change", + IsDeleted = 0ul, + Name = "菜单切换", + OpenType = 0, + Permission = "sysMenu:change", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Application = "system", + Code = "sys_role_mgr", + Component = "system/role/index", + IsDeleted = 0ul, + Name = "角色管理", + OpenType = 1, + Pid = "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],", + Router = "/role", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4241f4a0-89ab-4a6a-80bb-2830f855d3be", + Application = "system", + Code = "sys_role_mgr_page", + IsDeleted = 0ul, + Name = "角色查询", + OpenType = 0, + Permission = "sysRole:page", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "6a48beb1-c828-43d6-af3d-3e18ef163070", + Application = "system", + Code = "sys_role_mgr_add", + IsDeleted = 0ul, + Name = "角色增加", + OpenType = 0, + Permission = "sysRole:add", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1198a602-a23d-4a06-aa9a-76aaf5f065a7", + Application = "system", + Code = "sys_role_mgr_edit", + IsDeleted = 0ul, + Name = "角色编辑", + OpenType = 0, + Permission = "sysRole:edit", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e7708eeb-2c87-4c3d-bc71-c395e5d708db", + Application = "system", + Code = "sys_role_mgr_delete", + IsDeleted = 0ul, + Name = "角色删除", + OpenType = 0, + Permission = "sysRole:delete", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "63ab477f-88fb-4f4b-9dcd-0cb83ac767f6", + Application = "system", + Code = "sys_role_mgr_detail", + IsDeleted = 0ul, + Name = "角色详情", + OpenType = 0, + Permission = "sysRole:detail", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "2622348c-dd8f-4ade-a350-de0a8f01e1f6", + Application = "system", + Code = "sys_role_mgr_drop_down", + IsDeleted = 0ul, + Name = "角色下拉", + OpenType = 0, + Permission = "sysRole:dropDown", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "73d84863-b381-40be-84bc-ec8381fa6c0a", + Application = "system", + Code = "sys_role_mgr_grant_menu", + IsDeleted = 0ul, + Name = "角色授权菜单", + OpenType = 0, + Permission = "sysRole:grantMenu", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "bbc5e792-3d72-4d0d-8ddb-25cf2c4e1374", + Application = "system", + Code = "sys_role_mgr_own_menu", + IsDeleted = 0ul, + Name = "角色拥有菜单", + OpenType = 0, + Permission = "sysRole:ownMenu", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "19234814-6007-484c-818c-88a664a2a339", + Application = "system", + Code = "sys_role_mgr_grant_data", + IsDeleted = 0ul, + Name = "角色授权数据", + OpenType = 0, + Permission = "sysRole:grantData", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "19e5c5f6-b598-4c42-8eed-3d46fb11b465", + Application = "system", + Code = "sys_role_mgr_own_data", + IsDeleted = 0ul, + Name = "角色拥有数据", + OpenType = 0, + Permission = "sysRole:ownData", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Application = "system", + Code = "system_tools", + Component = "PageView", + Icon = "euro", + IsDeleted = 0ul, + Name = "开发管理", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/tools", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Application = "system", + Code = "system_tools_config", + Component = "system/config/index", + IsDeleted = 0ul, + Name = "系统配置", + OpenType = 1, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/config", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "c14c82bd-632d-4cc9-9236-37aa64b15ecf", + Application = "system", + Code = "system_tools_config_page", + IsDeleted = 0ul, + Name = "配置查询", + OpenType = 0, + Permission = "sysConfig:page", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "78d31d68-9c9b-4e02-94c9-8a74eea4c1fb", + Application = "system", + Code = "system_tools_config_list", + IsDeleted = 0ul, + Name = "配置列表", + OpenType = 0, + Permission = "sysConfig:list", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "fc91afb5-2b9e-428b-b5ff-b0ef35dd5336", + Application = "system", + Code = "system_tools_config_add", + IsDeleted = 0ul, + Name = "配置增加", + OpenType = 0, + Permission = "sysConfig:add", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1efb72e8-3449-490a-92e0-308b124c338f", + Application = "system", + Code = "system_tools_config_edit", + IsDeleted = 0ul, + Name = "配置编辑", + OpenType = 0, + Permission = "sysConfig:edit", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "5760230f-e6fc-4c3d-ba38-1c8a5a923eb3", + Application = "system", + Code = "system_tools_config_delete", + IsDeleted = 0ul, + Name = "配置删除", + OpenType = 0, + Permission = "sysConfig:delete", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "6bfc0c53-5d6c-437c-9757-bc79e664d0f5", + Application = "system", + Code = "system_tools_config_detail", + IsDeleted = 0ul, + Name = "配置详情", + OpenType = 0, + Permission = "sysConfig:detail", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f7fe47a3-86b2-4660-9920-0c9836755666", + Application = "system", + Code = "sys_app_mgr_set_as_default", + IsDeleted = 0ul, + Name = "设为默认应用", + OpenType = 0, + Permission = "sysApp:setAsDefault", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "cde43456-baae-4e9b-b6f9-b0ea9ab49adb", + Application = "system", + Code = "sys_email_mgr", + Component = "system/email/index", + IsDeleted = 0ul, + Name = "邮件发送", + OpenType = 1, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/email", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4d4cf5b3-bd4c-4f17-9fb2-47b28b00681f", + Application = "system", + Code = "sys_email_mgr_send_email", + IsDeleted = 0ul, + Name = "发送文本邮件", + OpenType = 0, + Permission = "email:sendEmail", + Pid = "cde43456-baae-4e9b-b6f9-b0ea9ab49adb", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[cde43456-baae-4e9b-b6f9-b0ea9ab49adb],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "51e45073-1461-4b3b-ae06-d0d3dcf222e0", + Application = "system", + Code = "sys_email_mgr_send_email_html", + IsDeleted = 0ul, + Name = "发送html邮件", + OpenType = 0, + Permission = "email:sendEmailHtml", + Pid = "cde43456-baae-4e9b-b6f9-b0ea9ab49adb", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[cde43456-baae-4e9b-b6f9-b0ea9ab49adb],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e571a1c9-8b43-459f-9dc6-1dcf967627b7", + Application = "system", + Code = "sys_sms_mgr", + Component = "system/sms/index", + IsDeleted = 0ul, + Name = "短信管理", + OpenType = 1, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/sms", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "2afa4925-b927-457e-88a1-d215b7d75fb6", + Application = "system", + Code = "sys_sms_mgr_page", + IsDeleted = 0ul, + Name = "短信发送查询", + OpenType = 0, + Permission = "sms:page", + Pid = "e571a1c9-8b43-459f-9dc6-1dcf967627b7", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[e571a1c9-8b43-459f-9dc6-1dcf967627b7],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "97c1b073-5e19-4542-89e2-d8da44d0f1df", + Application = "system", + Code = "sys_sms_mgr_send_login_message", + IsDeleted = 0ul, + Name = "发送验证码短信", + OpenType = 0, + Permission = "sms:sendLoginMessage", + Pid = "e571a1c9-8b43-459f-9dc6-1dcf967627b7", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[e571a1c9-8b43-459f-9dc6-1dcf967627b7],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "d2454bd2-f300-4b28-95c0-12432c28cbdf", + Application = "system", + Code = "sys_sms_mgr_validate_message", + IsDeleted = 0ul, + Name = "验证短信验证码", + OpenType = 0, + Permission = "sms:validateMessage", + Pid = "e571a1c9-8b43-459f-9dc6-1dcf967627b7", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[e571a1c9-8b43-459f-9dc6-1dcf967627b7],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Application = "system", + Code = "sys_dict_mgr", + Component = "system/dict/index", + IsDeleted = 0ul, + Name = "字典管理", + OpenType = 1, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/dict", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "70c5e8c5-6104-4e53-99c0-4743e557456b", + Application = "system", + Code = "sys_dict_mgr_dict_type_page", + IsDeleted = 0ul, + Name = "字典类型查询", + OpenType = 0, + Permission = "sysDictType:page", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1bd1d982-e05a-4bdc-a4e0-752d94f3196c", + Application = "system", + Code = "sys_dict_mgr_dict_type_list", + IsDeleted = 0ul, + Name = "字典类型列表", + OpenType = 0, + Permission = "sysDictType:list", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "bd09b023-0884-4f31-8cf7-f66f789fa3db", + Application = "system", + Code = "sys_dict_mgr_dict_type_add", + IsDeleted = 0ul, + Name = "字典类型增加", + OpenType = 0, + Permission = "sysDictType:add", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1f7a41ff-5a46-449c-81f3-1618dfdcb4cd", + Application = "system", + Code = "sys_dict_mgr_dict_type_delete", + IsDeleted = 0ul, + Name = "字典类型删除", + OpenType = 0, + Permission = "sysDictType:delete", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "2381cde4-2174-47e7-a1e5-e58da70e7a11", + Application = "system", + Code = "sys_dict_mgr_dict_type_edit", + IsDeleted = 0ul, + Name = "字典类型编辑", + OpenType = 0, + Permission = "sysDictType:edit", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "8f7d3c74-8800-4922-9662-ac6af378c882", + Application = "system", + Code = "sys_dict_mgr_dict_type_detail", + IsDeleted = 0ul, + Name = "字典类型详情", + OpenType = 0, + Permission = "sysDictType:detail", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4f87b6de-be62-4398-b680-1f8611f2cd70", + Application = "system", + Code = "sys_dict_mgr_dict_type_drop_down", + IsDeleted = 0ul, + Name = "字典类型下拉", + OpenType = 0, + Permission = "sysDictType:dropDown", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "07c799b2-e8e9-4955-83da-97560f161d87", + Application = "system", + Code = "sys_dict_mgr_dict_type_change_status", + IsDeleted = 0ul, + Name = "字典类型修改状态", + OpenType = 0, + Permission = "sysDictType:changeStatus", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "29be8e3c-c2bb-4162-b282-fdf58c218b9d", + Application = "system", + Code = "sys_dict_mgr_dict_page", + IsDeleted = 0ul, + Name = "字典值查询", + OpenType = 0, + Permission = "sysDictData:page", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "b8cbc4e1-ac10-4cda-b1e4-f816a2632d02", + Application = "system", + Code = "sys_dict_mgr_dict_list", + IsDeleted = 0ul, + Name = "字典值列表", + OpenType = 0, + Permission = "sysDictData:list", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "54e97bde-94d6-42df-89e3-4c3ace153b22", + Application = "system", + Code = "sys_dict_mgr_dict_add", + IsDeleted = 0ul, + Name = "字典值增加", + OpenType = 0, + Permission = "sysDictData:add", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "be98da08-a3b0-463c-8208-05d843620258", + Application = "system", + Code = "sys_dict_mgr_dict_delete", + IsDeleted = 0ul, + Name = "字典值删除", + OpenType = 0, + Permission = "sysDictData:delete", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "38809fc3-163f-4fe9-a488-c9bb5bce752a", + Application = "system", + Code = "sys_dict_mgr_dict_edit", + IsDeleted = 0ul, + Name = "字典值编辑", + OpenType = 0, + Permission = "sysDictData:edit", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "fc511b42-f0a1-489b-8418-7ef94b0fb374", + Application = "system", + Code = "sys_role_mgr_grant_data", + IsDeleted = 0ul, + Name = "字典值详情", + OpenType = 0, + Permission = "sysDictData:detail", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "200428b3-1605-4c70-b840-e691e302ae69", + Application = "system", + Code = "sys_dict_mgr_dict_change_status", + IsDeleted = 0ul, + Name = "字典值修改状态", + OpenType = 0, + Permission = "sysDictData:changeStatus", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "d40f424d-d5fc-4b86-a2bd-3a5a76076bc1", + Application = "system", + Code = "sys_swagger_mgr", + Component = "Iframe", + IsDeleted = 0ul, + Link = "http://127.0.0.1:5566/", + Name = "接口文档", + OpenType = 2, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/swagger", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "eec4563e-9307-4ccd-ac3a-93598badb195", + Application = "system", + Code = "sys_log_mgr", + Component = "PageView", + Icon = "read", + IsDeleted = 0ul, + Name = "日志管理", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/log", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "322b2cb6-df29-483b-b011-54dce1532fae", + Application = "system", + Code = "sys_log_mgr_vis_log", + Component = "system/log/vislog/index", + IsDeleted = 0ul, + Name = "访问日志", + OpenType = 1, + Pid = "eec4563e-9307-4ccd-ac3a-93598badb195", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],", + Router = "/vislog", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "122641c1-ab6d-4f91-9527-16fc8fea9708", + Application = "system", + Code = "sys_log_mgr_vis_log_page", + IsDeleted = 0ul, + Name = "访问日志查询", + OpenType = 0, + Permission = "sysVisLog:page", + Pid = "322b2cb6-df29-483b-b011-54dce1532fae", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[322b2cb6-df29-483b-b011-54dce1532fae],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f2367804-6382-4e72-8282-e4f6f988ecd1", + Application = "system", + Code = "sys_log_mgr_vis_log_delete", + IsDeleted = 0ul, + Name = "访问日志清空", + OpenType = 0, + Permission = "sysVisLog:delete", + Pid = "322b2cb6-df29-483b-b011-54dce1532fae", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[322b2cb6-df29-483b-b011-54dce1532fae],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1a1a13cb-f9a9-4ffe-924d-d523db79f7bf", + Application = "system", + Code = "sys_log_mgr_op_log", + Component = "system/log/oplog/index", + IsDeleted = 0ul, + Name = "操作日志", + OpenType = 1, + Pid = "eec4563e-9307-4ccd-ac3a-93598badb195", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],", + Router = "/oplog", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "7f44f49e-6458-4149-bbcd-9a937f552cec", + Application = "system", + Code = "sys_log_mgr_op_log_page", + IsDeleted = 0ul, + Name = "操作日志查询", + OpenType = 0, + Permission = "sysOpLog:page", + Pid = "1a1a13cb-f9a9-4ffe-924d-d523db79f7bf", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[1a1a13cb-f9a9-4ffe-924d-d523db79f7bf],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "263e0c00-2796-411c-9f50-0aa361f7781c", + Application = "system", + Code = "sys_log_mgr_op_log_delete", + IsDeleted = 0ul, + Name = "操作日志清空", + OpenType = 0, + Permission = "sysOpLog:delete", + Pid = "1a1a13cb-f9a9-4ffe-924d-d523db79f7bf", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[1a1a13cb-f9a9-4ffe-924d-d523db79f7bf],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", + Application = "system", + Code = "sys_monitor_mgr", + Component = "PageView", + Icon = "deployment-unit", + IsDeleted = 0ul, + Name = "系统监控", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/monitor", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "c1e70042-fe3f-4efc-a6cc-86de8507f948", + Application = "system", + Code = "sys_monitor_mgr_machine_monitor", + Component = "system/machine/index", + IsDeleted = 0ul, + Name = "服务监控", + OpenType = 1, + Pid = "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],", + Router = "/machine", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "444f3658-defe-47a7-880e-bf0af8b66591", + Application = "system", + Code = "sys_monitor_mgr_machine_monitor_query", + IsDeleted = 0ul, + Name = "服务监控查询", + OpenType = 0, + Permission = "sysMachine:query", + Pid = "c1e70042-fe3f-4efc-a6cc-86de8507f948", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],[c1e70042-fe3f-4efc-a6cc-86de8507f948],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "49a8b476-327b-4f33-87b8-2d9bc50dc390", + Application = "system", + Code = "sys_monitor_mgr_online_user", + Component = "system/onlineUser/index", + IsDeleted = 0ul, + Name = "在线用户", + OpenType = 1, + Pid = "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],", + Router = "/onlineUser", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4785eb5a-678a-4f9c-b07c-3b92acdd6de0", + Application = "system", + Code = "sys_monitor_mgr_online_user_list", + IsDeleted = 0ul, + Name = "在线用户列表", + OpenType = 0, + Permission = "sysOnlineUser:list", + Pid = "49a8b476-327b-4f33-87b8-2d9bc50dc390", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],[49a8b476-327b-4f33-87b8-2d9bc50dc390],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4dbf6765-ac79-4708-a9d5-16a4d4b09164", + Application = "system", + Code = "sys_monitor_mgr_online_user_force_exist", + IsDeleted = 0ul, + Name = "在线用户强退", + OpenType = 0, + Permission = "sysOnlineUser:forceExist", + Pid = "49a8b476-327b-4f33-87b8-2d9bc50dc390", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],[49a8b476-327b-4f33-87b8-2d9bc50dc390],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "31c2af01-b856-4a1d-a131-cdf8e847b1a4", + Application = "system", + Code = "sys_monitor_mgr_druid", + Component = "Iframe", + IsDeleted = 0ul, + Link = "http://localhost:82/druid/login.html", + Name = "数据监控", + OpenType = 2, + Pid = "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],", + Router = "/druid", + Sort = 100, + Status = 0, + Type = 1, + Visible = 0ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "d4cac841-99e5-4014-af17-2986c9340306", + Application = "system", + Code = "sys_notice", + Component = "PageView", + Icon = "sound", + IsDeleted = 0ul, + Name = "通知公告", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/notice", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Application = "system", + Code = "sys_notice_mgr", + Component = "system/notice/index", + IsDeleted = 0ul, + Name = "公告管理", + OpenType = 1, + Pid = "d4cac841-99e5-4014-af17-2986c9340306", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],", + Router = "/notice", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "54584ab7-25d1-45b7-b3d4-76ba21511f97", + Application = "system", + Code = "sys_notice_mgr_page", + IsDeleted = 0ul, + Name = "公告查询", + OpenType = 0, + Permission = "sysNotice:page", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f27c8431-7da5-4ffe-a8f3-b511cf44c0c8", + Application = "system", + Code = "sys_notice_mgr_add", + IsDeleted = 0ul, + Name = "公告增加", + OpenType = 0, + Permission = "sysNotice:add", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f84c1f3a-3a51-4be2-97c9-7543b044e457", + Application = "system", + Code = "sys_notice_mgr_edit", + IsDeleted = 0ul, + Name = "公告编辑", + OpenType = 0, + Permission = "sysNotice:edit", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "a8abcb85-ad3b-47b9-8c9b-e7d1876b90cf", + Application = "system", + Code = "sys_notice_mgr_delete", + IsDeleted = 0ul, + Name = "公告删除", + OpenType = 0, + Permission = "sysNotice:delete", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "fe9cbb41-7b05-4f32-b960-87a1ef146166", + Application = "system", + Code = "sys_notice_mgr_detail", + IsDeleted = 0ul, + Name = "公告查看", + OpenType = 0, + Permission = "sysNotice:detail", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "3e547bb0-4cf5-4cf0-8386-48d2f3c12dcb", + Application = "system", + Code = "sys_notice_mgr_changeStatus", + IsDeleted = 0ul, + Name = "公告修改状态", + OpenType = 0, + Permission = "sysNotice:changeStatus", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ac3065ff-d239-4e0e-86e5-d72cc658224c", + Application = "system", + Code = "sys_notice_mgr_received", + Component = "system/noticeReceived/index", + IsDeleted = 0ul, + Name = "已收公告", + OpenType = 1, + Pid = "d4cac841-99e5-4014-af17-2986c9340306", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],", + Router = "/noticeReceived", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e2d4b13b-eb3e-4ead-8fb8-4c61a3004726", + Application = "system", + Code = "sys_notice_mgr_received_page", + IsDeleted = 0ul, + Name = "已收公告查询", + OpenType = 0, + Permission = "sysNotice:received", + Pid = "ac3065ff-d239-4e0e-86e5-d72cc658224c", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[ac3065ff-d239-4e0e-86e5-d72cc658224c],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "05326e62-f496-4950-8a29-40e8a479424f", + Application = "system", + Code = "sys_file_mgr", + Component = "PageView", + Icon = "file", + IsDeleted = 0ul, + Name = "文件管理", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/file", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "0af2a460-bbb0-472c-b027-8532970425df", + Application = "system", + Code = "sys_file_mgr_sys_file", + Component = "system/file/index", + IsDeleted = 0ul, + Name = "系统文件", + OpenType = 1, + Pid = "05326e62-f496-4950-8a29-40e8a479424f", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],", + Router = "/file", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "c7bac800-b922-4173-bd8d-9888b4eab1d4", + Application = "system", + Code = "sys_file_mgr_sys_file_page", + IsDeleted = 0ul, + Name = "文件查询", + OpenType = 0, + Permission = "sysFileInfo:page", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f47e1fa7-6329-4d67-8fe6-36ca06aad54b", + Application = "system", + Code = "sys_file_mgr_sys_file_list", + IsDeleted = 0ul, + Name = "文件列表", + OpenType = 0, + Permission = "sysFileInfo:list", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "cca0a2ee-cfb9-4996-affb-dc8d8168ac10", + Application = "system", + Code = "sys_file_mgr_sys_file_delete", + IsDeleted = 0ul, + Name = "文件删除", + OpenType = 0, + Permission = "sysFileInfo:delete", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "eb738eaa-5eed-466d-b422-4eb6f4662dd9", + Application = "system", + Code = "sys_file_mgr_sys_file_detail", + IsDeleted = 0ul, + Name = "文件详情", + OpenType = 0, + Permission = "sysFileInfo:detail", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "69b97ace-d849-4e52-8fc2-9da7d93e325f", + Application = "system", + Code = "sys_file_mgr_sys_file_upload", + IsDeleted = 0ul, + Name = "文件上传", + OpenType = 0, + Permission = "sysFileInfo:upload", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e286d53d-bf3c-4711-b0a3-15cfad0a7521", + Application = "system", + Code = "sys_file_mgr_sys_file_download", + IsDeleted = 0ul, + Name = "文件下载", + OpenType = 0, + Permission = "sysFileInfo:download", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1975891b-7940-44a8-a513-9f2e8b05dda1", + Application = "system", + Code = "sys_file_mgr_sys_file_preview", + IsDeleted = 0ul, + Name = "图片预览", + OpenType = 0, + Permission = "sysFileInfo:preview", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ba03cfd5-5d72-465f-87b6-71134da68fab", + Application = "system", + Code = "sys_timers", + Component = "PageView", + Icon = "dashboard", + IsDeleted = 0ul, + Name = "定时任务", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/timers", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Application = "system", + Code = "sys_timers_mgr", + Component = "system/timers/index", + IsDeleted = 0ul, + Name = "任务管理", + OpenType = 1, + Pid = "ba03cfd5-5d72-465f-87b6-71134da68fab", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],", + Router = "/timers", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "db62154a-470e-43c8-8959-a686b954fe7d", + Application = "system", + Code = "sys_timers_mgr_page", + IsDeleted = 0ul, + Name = "定时任务查询", + OpenType = 0, + Permission = "sysTimers:page", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "dc07cd9f-4a53-40d9-988e-70290a146eff", + Application = "system", + Code = "sys_timers_mgr_list", + IsDeleted = 0ul, + Name = "定时任务列表", + OpenType = 0, + Permission = "sysTimers:list", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1e562d31-c2f8-4af8-be4b-47e3b251d9a3", + Application = "system", + Code = "sys_timers_mgr_detail", + IsDeleted = 0ul, + Name = "定时任务详情", + OpenType = 0, + Permission = "sysTimers:detail", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f27ba442-7d6f-499f-8053-a737adc3492a", + Application = "system", + Code = "sys_timers_mgr_add", + IsDeleted = 0ul, + Name = "定时任务增加", + OpenType = 0, + Permission = "sysTimers:add", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "99129601-0be5-43ee-842b-a428603f013b", + Application = "system", + Code = "sys_timers_mgr_delete", + IsDeleted = 0ul, + Name = "定时任务删除", + OpenType = 0, + Permission = "sysTimers:delete", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "5e118fc0-f580-4d06-a89d-f321a84e5654", + Application = "system", + Code = "sys_timers_mgr_edit", + IsDeleted = 0ul, + Name = "定时任务编辑", + OpenType = 0, + Permission = "sysTimers:edit", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4272f2e4-4a8b-45bb-b688-2b9471c35e83", + Application = "system", + Code = "sys_timers_mgr_get_action_classes", + IsDeleted = 0ul, + Name = "定时任务可执行列表", + OpenType = 0, + Permission = "sysTimers:getActionClasses", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "54094687-f661-4cba-bdfc-e76f22db8d76", + Application = "system", + Code = "sys_timers_mgr_start", + IsDeleted = 0ul, + Name = "定时任务启动", + OpenType = 0, + Permission = "sysTimers:start", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "6b82d407-d1ea-440e-9245-128ad03dffc0", + Application = "system", + Code = "sys_timers_mgr_stop", + IsDeleted = 0ul, + Name = "定时任务关闭", + OpenType = 0, + Permission = "sysTimers:stop", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "5172265d-eda3-4b8a-a542-d582467a51a1", + Application = "system_tool", + Code = "code_gen", + Component = "gen/codeGenerate/index", + Icon = "thunderbolt", + IsDeleted = 0ul, + Name = "代码生成", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/codeGenerate/index", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "cf51df0a-8e0b-4252-ba06-9646cad648d1", + Application = "system_tool", + Code = "form_design", + Component = "system/formDesign/index", + Icon = "robot", + IsDeleted = 0ul, + Name = "表单设计", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/formDesign/index", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f4cf2a3d-0714-4ca4-a691-0b363c172f82", + Application = "advanced", + Code = "sys_tenant", + Component = "PageView", + Icon = "switcher", + IsDeleted = 0ul, + Name = "SaaS租户", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/tenant", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Application = "advanced", + Code = "sys_tenant_mgr", + Component = "system/tenant/index", + IsDeleted = 0ul, + Name = "租户管理", + OpenType = 1, + Pid = "f4cf2a3d-0714-4ca4-a691-0b363c172f82", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],", + Router = "/tenant", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "8985ec0a-5060-4812-bf47-4f3102948066", + Application = "advanced", + Code = "sys_tenant_mgr_page", + IsDeleted = 0ul, + Name = "租户查询", + OpenType = 0, + Permission = "sysTenant:page", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "d9584afb-18de-4f7e-b992-c21ad77b1aae", + Application = "advanced", + Code = "sys_tenant_mgr_detail", + IsDeleted = 0ul, + Name = "租户详情", + OpenType = 0, + Permission = "sysTenant:detail", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "01ae6b95-9c1e-4882-a9ac-ebb9f1868c54", + Application = "advanced", + Code = "sys_tenant_mgr_add", + IsDeleted = 0ul, + Name = "租户增加", + OpenType = 0, + Permission = "sysTenant:add", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "59e9f6da-151a-4201-bea1-00ef06fe5842", + Application = "advanced", + Code = "sys_tenant_mgr_delete", + IsDeleted = 0ul, + Name = "租户删除", + OpenType = 0, + Permission = "sysTenant:delete", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "220b6a86-e65d-469b-8aa0-46c4f5e77ab8", + Application = "advanced", + Code = "sys_tenant_mgr_edit", + IsDeleted = 0ul, + Name = "租户编辑", + OpenType = 0, + Permission = "sysTenant:edit", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysNotice", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("CancelTime") + .HasColumnType("datetime") + .HasComment("撤回时间"); + + b.Property("Content") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("内容"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("PublicOrgId") + .HasColumnType("varchar(36)") + .HasColumnName("PublicOrgId") + .HasComment("发布机构Id"); + + b.Property("PublicOrgName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("发布机构名称"); + + b.Property("PublicTime") + .HasColumnType("datetime") + .HasComment("发布时间"); + + b.Property("PublicUserId") + .HasColumnType("varchar(36)") + .HasColumnName("PublicUserId") + .HasComment("发布人Id"); + + b.Property("PublicUserName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("发布人姓名"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("Title") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("标题"); + + b.Property("Type") + .HasColumnType("int") + .HasComment("类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_notice"); + + b + .HasComment("通知公告表"); + }); + + modelBuilder.Entity("Ewide.Core.SysNoticeUser", b => + { + b.Property("NoticeId") + .HasColumnType("varchar(36)") + .HasColumnName("NoticeId") + .HasComment("通知公告Id"); + + b.Property("ReadStatus") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("ReadTime") + .HasColumnType("datetime") + .HasComment("阅读时间"); + + b.Property("UserId") + .HasColumnType("varchar(36)") + .HasColumnName("UserId") + .HasComment("用户Id"); + + b.ToTable("sys_notice_user"); + + b + .HasComment("通知公告用户表"); + }); + + modelBuilder.Entity("Ewide.Core.SysOauthUser", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("AccessToken") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Token"); + + b.Property("Avatar") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("头像"); + + b.Property("Blog") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("用户网址"); + + b.Property("Company") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("所在公司"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Email") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("邮箱"); + + b.Property("Gender") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("性别"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Location") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("位置"); + + b.Property("NickName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("昵称"); + + b.Property("Phone") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Source") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("用户来源"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Uuid") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("UUID"); + + b.HasKey("Id"); + + b.ToTable("sys_oauth_user"); + + b + .HasComment("Oauth登录用户表"); + }); + + modelBuilder.Entity("Ewide.Core.SysOrg", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("AreaCode") + .HasColumnType("varchar(50) CHARACTER SET utf8mb4"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Contacts") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("联系人"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Pid") + .HasColumnType("varchar(36)") + .HasColumnName("Pid") + .HasComment("父Id"); + + b.Property("Pids") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Pids"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("Tel") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.HasIndex("AreaCode"); + + b.ToTable("sys_org"); + + b + .HasComment("组织机构表"); + + b.HasData( + new + { + Id = "12d888de-f55d-4c88-b0a0-7c3510664d97", + Code = "hxjt", + IsDeleted = 0ul, + Name = "华夏集团", + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Remark = "华夏集团", + Sort = 100, + Status = 0 + }, + new + { + Id = "8a2271d6-5bda-4544-bdd3-27e53a8b418e", + Code = "hxjt_bj", + IsDeleted = 0ul, + Name = "华夏集团北京分公司", + Pid = "12d888de-f55d-4c88-b0a0-7c3510664d97", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],", + Remark = "华夏集团北京分公司", + Sort = 100, + Status = 0 + }, + new + { + Id = "127c0a5d-43ac-4370-b313-082361885aca", + Code = "hxjt_cd", + IsDeleted = 0ul, + Name = "华夏集团成都分公司", + Pid = "12d888de-f55d-4c88-b0a0-7c3510664d97", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],", + Remark = "华夏集团成都分公司", + Sort = 100, + Status = 0 + }, + new + { + Id = "f236ab2d-e1b5-4e9d-844f-a59ec32c20e4", + Code = "hxjt_bj_yfb", + IsDeleted = 0ul, + Name = "研发部", + Pid = "8a2271d6-5bda-4544-bdd3-27e53a8b418e", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[8a2271d6-5bda-4544-bdd3-27e53a8b418e],", + Remark = "华夏集团北京分公司研发部", + Sort = 100, + Status = 0 + }, + new + { + Id = "07322be0-2015-41f2-859e-132b5e142fca", + Code = "hxjt_bj_qhb", + IsDeleted = 0ul, + Name = "企划部", + Pid = "8a2271d6-5bda-4544-bdd3-27e53a8b418e", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[8a2271d6-5bda-4544-bdd3-27e53a8b418e],", + Remark = "华夏集团北京分公司企划部", + Sort = 100, + Status = 0 + }, + new + { + Id = "49dc3f25-873d-4998-9767-46978d79d8e6", + Code = "hxjt_cd_scb", + IsDeleted = 0ul, + Name = "市场部", + Pid = "127c0a5d-43ac-4370-b313-082361885aca", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[127c0a5d-43ac-4370-b313-082361885aca],", + Remark = "华夏集团成都分公司市场部", + Sort = 100, + Status = 0 + }, + new + { + Id = "56b7a823-cc62-492b-a91b-0b053ef2683b", + Code = "hxjt_cd_cwb", + IsDeleted = 0ul, + Name = "财务部", + Pid = "127c0a5d-43ac-4370-b313-082361885aca", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[127c0a5d-43ac-4370-b313-082361885aca],", + Remark = "华夏集团成都分公司财务部", + Sort = 100, + Status = 0 + }, + new + { + Id = "e9f97d63-a585-40ff-bf0c-7406e785f660", + Code = "hxjt_cd_scb_2b", + IsDeleted = 0ul, + Name = "市场部二部", + Pid = "49dc3f25-873d-4998-9767-46978d79d8e6", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[127c0a5d-43ac-4370-b313-082361885aca],[49dc3f25-873d-4998-9767-46978d79d8e6],", + Remark = "华夏集团成都分公司市场部二部", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysPos", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_pos"); + + b + .HasComment("职位表"); + + b.HasData( + new + { + Id = "269236c4-d74e-4e54-9d50-f6f61580a197", + Code = "zjl", + IsDeleted = 0ul, + Name = "总经理", + Remark = "总经理", + Sort = 100, + Status = 0 + }, + new + { + Id = "46c68a62-f119-4ff7-b621-0bbd77504538", + Code = "fzjl", + IsDeleted = 0ul, + Name = "副总经理", + Remark = "副总经理", + Sort = 101, + Status = 0 + }, + new + { + Id = "5bd8c466-2bca-4386-a551-daac78e3cee8", + Code = "bmjl", + IsDeleted = 0ul, + Name = "部门经理", + Remark = "部门经理", + Sort = 102, + Status = 0 + }, + new + { + Id = "d89a3afe-e6ba-4018-bdae-3c98bb47ad66", + Code = "gzry", + IsDeleted = 0ul, + Name = "工作人员", + Remark = "工作人员", + Sort = 103, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysRole", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("DataScopeType") + .HasColumnType("int") + .HasComment("数据范围类型"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_role"); + + b + .HasComment("角色表"); + + b.HasData( + new + { + Id = "6dfe9189-ce10-434e-a7a7-5cdc46e85047", + Code = "sys_manager_role", + DataScopeType = 1, + IsDeleted = 0ul, + Name = "系统管理员", + Remark = "系统管理员", + Sort = 100, + Status = 0 + }, + new + { + Id = "cd187ebd-ab3d-4768-9669-85e2219c2910", + Code = "common_role", + DataScopeType = 5, + IsDeleted = 0ul, + Name = "普通用户", + Remark = "普通用户", + Sort = 101, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleArea", b => + { + b.Property("SysRoleId") + .HasColumnType("varchar(36)") + .HasComment("角色Id"); + + b.Property("AreaCode") + .HasColumnType("varchar(50) CHARACTER SET utf8mb4") + .HasComment("系统使用的区域代码"); + + b.HasKey("SysRoleId", "AreaCode"); + + b.HasIndex("AreaCode"); + + b.ToTable("sys_role_area"); + + b + .HasComment("角色区域自定义数据"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleDataScope", b => + { + b.Property("SysRoleId") + .HasColumnType("varchar(36)") + .HasColumnName("SysRoleId") + .HasComment("角色Id"); + + b.Property("SysOrgId") + .HasColumnType("varchar(36)") + .HasColumnName("SysOrgId") + .HasComment("机构Id"); + + b.HasKey("SysRoleId", "SysOrgId"); + + b.HasIndex("SysOrgId"); + + b.ToTable("sys_role_data_scope"); + + b + .HasComment("角色数据范围表"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleMenu", b => + { + b.Property("SysRoleId") + .HasColumnType("varchar(36)") + .HasColumnName("SysRoleId") + .HasComment("角色Id"); + + b.Property("SysMenuId") + .HasColumnType("varchar(36)") + .HasColumnName("SysMenuId") + .HasComment("菜单Id"); + + b.HasKey("SysRoleId", "SysMenuId"); + + b.HasIndex("SysMenuId"); + + b.ToTable("sys_role_menu"); + + b + .HasComment("角色菜单表"); + }); + + modelBuilder.Entity("Ewide.Core.SysTenant", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Connection") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库连接"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Email") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电子邮箱"); + + b.Property("Host") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("主机"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Phone") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Schema") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("架构"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_tenant"); + + b + .HasComment("租户表"); + + b.HasData( + new + { + Id = "506a14b7-882d-4548-96fa-a55dbe79bfa1", + Connection = "Data Source=./Ewide.db", + CreatedTime = new DateTime(2021, 4, 3, 0, 0, 0, 0, DateTimeKind.Unspecified), + Email = "zuohuaijun@163.com", + Host = "localhost:5566", + IsDeleted = 0ul, + Name = "默认租户", + Phone = "18020030720" + }, + new + { + Id = "eed8c4a6-70d8-49fd-9566-21a6966bb702", + Connection = "Data Source=./Dilon_1.db", + CreatedTime = new DateTime(2021, 4, 3, 0, 0, 0, 0, DateTimeKind.Unspecified), + Host = "localhost:5588", + IsDeleted = 0ul, + Name = "其他租户" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysTimer", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("BeginTime") + .HasColumnType("datetime") + .HasComment("开始时间"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Cron") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Cron表达式"); + + b.Property("EndTime") + .HasColumnType("datetime") + .HasComment("结束时间"); + + b.Property("Headers") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Headers"); + + b.Property("Interval") + .HasColumnType("int") + .HasComment("执行间隔时间"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("JobGroup") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("任务分组"); + + b.Property("JobName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("任务名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("RequestParameters") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求参数"); + + b.Property("RequestType") + .HasColumnType("int") + .HasComment("请求类型"); + + b.Property("RequestUrl") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求url"); + + b.Property("RunNumber") + .HasColumnType("int") + .HasComment("执行次数"); + + b.Property("TriggerType") + .HasColumnType("int") + .HasComment("触发器类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_timer"); + + b + .HasComment("定时任务表"); + + b.HasData( + new + { + Id = "971bc338-0c03-46d4-8113-c7738d54ea18", + BeginTime = new DateTime(2021, 3, 21, 0, 0, 0, 0, DateTimeKind.Local), + Interval = 30, + IsDeleted = 0ul, + JobGroup = "默认分组", + JobName = "百度api", + RequestType = 2, + RequestUrl = "https://www.baidu.com", + TriggerType = 1 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysUser", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Account") + .IsRequired() + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("账号"); + + b.Property("AdminType") + .HasColumnType("int") + .HasComment("管理员类型-超级管理员_1、非管理员_2"); + + b.Property("Avatar") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("头像"); + + b.Property("Birthday") + .HasColumnType("datetime") + .HasComment("生日"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Email") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("邮箱"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("LastLoginIp") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("最后登录IP"); + + b.Property("LastLoginTime") + .HasColumnType("datetime") + .HasComment("最后登录时间"); + + b.Property("Name") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("姓名"); + + b.Property("NickName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("昵称"); + + b.Property("Password") + .IsRequired() + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("密码"); + + b.Property("Phone") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("手机"); + + b.Property("SecurityLevel") + .HasColumnType("int") + .HasComment("密码安全级别"); + + b.Property("Sex") + .HasColumnType("int") + .HasComment("性别-男_1、女_2"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态-正常_0、停用_1、删除_2"); + + b.Property("Tel") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_user"); + + b + .HasComment("用户表"); + + b.HasData( + new + { + Id = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + Account = "superAdmin", + AdminType = 1, + Birthday = new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), + IsDeleted = 0ul, + LastLoginTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), + Name = "superAdmin", + Password = "e10adc3949ba59abbe56e057f20f883e", + Phone = "18020030720", + SecurityLevel = 1, + Sex = 1, + Status = 0 + }, + new + { + Id = "5398fb9a-2209-4ce7-a2c1-b6a983e502b5", + Account = "admin", + AdminType = 1, + Birthday = new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), + IsDeleted = 0ul, + LastLoginTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), + Name = "admin", + Password = "e10adc3949ba59abbe56e057f20f883e", + Phone = "18020030720", + SecurityLevel = 1, + Sex = 2, + Status = 0 + }, + new + { + Id = "16a74726-e156-499f-9942-0e0e24ad0c3f", + Account = "zuohuaijun", + AdminType = 2, + Birthday = new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), + IsDeleted = 0ul, + LastLoginTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), + Name = "zuohuaijun", + Password = "e10adc3949ba59abbe56e057f20f883e", + Phone = "18020030720", + SecurityLevel = 1, + Sex = 1, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysUserArea", b => + { + b.Property("SysUserId") + .HasColumnType("varchar(36)") + .HasColumnName("SysUserId") + .HasComment("用户Id"); + + b.Property("AreaCode") + .HasMaxLength(10) + .HasColumnType("varchar(10) CHARACTER SET utf8mb4") + .HasComment("系统使用的区域代码"); + + b.HasKey("SysUserId", "AreaCode"); + + b.HasIndex("AreaCode"); + + b.ToTable("sys_user_area"); + + b + .HasComment("用户授权区域信息"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserDataScope", b => + { + b.Property("SysUserId") + .HasColumnType("varchar(36)") + .HasColumnName("SysUserId") + .HasComment("用户Id"); + + b.Property("SysOrgId") + .HasColumnType("varchar(36)") + .HasColumnName("SysOrgId") + .HasComment("机构Id"); + + b.HasKey("SysUserId", "SysOrgId"); + + b.HasIndex("SysOrgId"); + + b.ToTable("sys_user_data_scope"); + + b + .HasComment("用户数据范围表"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserRole", b => + { + b.Property("SysUserId") + .HasColumnType("varchar(36)") + .HasColumnName("SysUserId") + .HasComment("用户Id"); + + b.Property("SysRoleId") + .HasColumnType("varchar(36)") + .HasColumnName("SysRoleId") + .HasComment("角色Id"); + + b.HasKey("SysUserId", "SysRoleId"); + + b.HasIndex("SysRoleId"); + + b.ToTable("sys_user_role"); + + b + .HasComment("用户角色表"); + }); + + modelBuilder.Entity("Ewide.Core.SysDictData", b => + { + b.HasOne("Ewide.Core.SysDictType", "SysDictType") + .WithMany("SysDictDatas") + .HasForeignKey("TypeId"); + + b.Navigation("SysDictType"); + }); + + modelBuilder.Entity("Ewide.Core.SysEmpExtOrgPos", b => + { + b.HasOne("Ewide.Core.SysEmp", "SysEmp") + .WithMany() + .HasForeignKey("SysEmpId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysOrg", "SysOrg") + .WithMany() + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysPos", "SysPos") + .WithMany() + .HasForeignKey("SysPosId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysEmp"); + + b.Navigation("SysOrg"); + + b.Navigation("SysPos"); + }); + + modelBuilder.Entity("Ewide.Core.SysEmpPos", b => + { + b.HasOne("Ewide.Core.SysEmp", "SysEmp") + .WithMany("SysEmpPos") + .HasForeignKey("SysEmpId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysPos", "SysPos") + .WithMany("SysEmpPos") + .HasForeignKey("SysPosId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysEmp"); + + b.Navigation("SysPos"); + }); + + modelBuilder.Entity("Ewide.Core.SysOrg", b => + { + b.HasOne("Ewide.Core.SysAreaCode", "Area") + .WithMany("SysOrgs") + .HasForeignKey("AreaCode"); + + b.Navigation("Area"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleArea", b => + { + b.HasOne("Ewide.Core.SysAreaCode", "Area") + .WithMany("SysRoleAreas") + .HasForeignKey("AreaCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysRole", "SysRole") + .WithMany("SysRoleAreas") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Area"); + + b.Navigation("SysRole"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleDataScope", b => + { + b.HasOne("Ewide.Core.SysOrg", "SysOrg") + .WithMany("SysRoleDataScopes") + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysRole", "SysRole") + .WithMany("SysRoleDataScopes") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysOrg"); + + b.Navigation("SysRole"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleMenu", b => + { + b.HasOne("Ewide.Core.SysMenu", "SysMenu") + .WithMany("SysRoleMenus") + .HasForeignKey("SysMenuId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysRole", "SysRole") + .WithMany("SysRoleMenus") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysMenu"); + + b.Navigation("SysRole"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserArea", b => + { + b.HasOne("Ewide.Core.SysAreaCode", "Area") + .WithMany("SysUserAreas") + .HasForeignKey("AreaCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysUser", "SysUser") + .WithMany("SysUserAreas") + .HasForeignKey("SysUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Area"); + + b.Navigation("SysUser"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserDataScope", b => + { + b.HasOne("Ewide.Core.SysOrg", "SysOrg") + .WithMany("SysUserDataScopes") + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysUser", "SysUser") + .WithMany("SysUserDataScopes") + .HasForeignKey("SysUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysOrg"); + + b.Navigation("SysUser"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserRole", b => + { + b.HasOne("Ewide.Core.SysRole", "SysRole") + .WithMany("SysUserRoles") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysUser", "SysUser") + .WithMany("SysUserRoles") + .HasForeignKey("SysUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysRole"); + + b.Navigation("SysUser"); + }); + + modelBuilder.Entity("Ewide.Core.SysAreaCode", b => + { + b.Navigation("SysOrgs"); + + b.Navigation("SysRoleAreas"); + + b.Navigation("SysUserAreas"); + }); + + modelBuilder.Entity("Ewide.Core.SysDictType", b => + { + b.Navigation("SysDictDatas"); + }); + + modelBuilder.Entity("Ewide.Core.SysEmp", b => + { + b.Navigation("SysEmpPos"); + }); + + modelBuilder.Entity("Ewide.Core.SysMenu", b => + { + b.Navigation("SysRoleMenus"); + }); + + modelBuilder.Entity("Ewide.Core.SysOrg", b => + { + b.Navigation("SysRoleDataScopes"); + + b.Navigation("SysUserDataScopes"); + }); + + modelBuilder.Entity("Ewide.Core.SysPos", b => + { + b.Navigation("SysEmpPos"); + }); + + modelBuilder.Entity("Ewide.Core.SysRole", b => + { + b.Navigation("SysRoleAreas"); + + b.Navigation("SysRoleDataScopes"); + + b.Navigation("SysRoleMenus"); + + b.Navigation("SysUserRoles"); + }); + + modelBuilder.Entity("Ewide.Core.SysUser", b => + { + b.Navigation("SysUserAreas"); + + b.Navigation("SysUserDataScopes"); + + b.Navigation("SysUserRoles"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/Api/Ewide.Database.Migrations/Migrations/20210510083321_init.cs b/Api/Ewide.Database.Migrations/Migrations/20210510083321_init.cs new file mode 100644 index 0000000..e07e01d --- /dev/null +++ b/Api/Ewide.Database.Migrations/Migrations/20210510083321_init.cs @@ -0,0 +1,1440 @@ +using System; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; + +namespace Ewide.Database.Migrations.Migrations +{ + public partial class init : Migration + { + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.CreateTable( + name: "bs_house_projectinfo", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + Name = table.Column(type: "varchar(100) CHARACTER SET utf8mb4", maxLength: 100, nullable: false, comment: "名称"), + Note = table.Column(type: "varchar(1000) CHARACTER SET utf8mb4", maxLength: 1000, nullable: true, comment: "备注"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + AreaId = table.Column(type: "varchar(36) CHARACTER SET utf8mb4", maxLength: 36, nullable: false, comment: "区域ID"), + Type = table.Column(type: "int", nullable: false, comment: "类型"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_bs_house_projectinfo", x => x.Id); + }, + comment: "项目表"); + + migrationBuilder.CreateTable( + name: "sys_app", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Icon = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "图标"), + Color = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "图标颜色"), + Active = table.Column(type: "bit", nullable: false, comment: "是否默认激活"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_app", x => x.Id); + }, + comment: "系统应用表"); + + migrationBuilder.CreateTable( + name: "sys_area_code", + columns: table => new + { + Code = table.Column(type: "varchar(50) CHARACTER SET utf8mb4", maxLength: 50, nullable: false, comment: "系统使用的区域编码"), + AdCode = table.Column(type: "varchar(50) CHARACTER SET utf8mb4", maxLength: 50, nullable: true, comment: "区域的行政编码"), + Name = table.Column(type: "varchar(100) CHARACTER SET utf8mb4", maxLength: 100, nullable: false, comment: "名称"), + Note = table.Column(type: "varchar(1000) CHARACTER SET utf8mb4", maxLength: 1000, nullable: true, comment: "备注"), + LevelType = table.Column(type: "int", nullable: false, comment: "类别"), + Sort = table.Column(type: "int", nullable: false, comment: "排序") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_area_code", x => x.Code); + }, + comment: "区域表"); + + migrationBuilder.CreateTable( + name: "sys_code_gen", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + AuthorName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "作者姓名"), + TablePrefix = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否移除表前缀"), + GenerateType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "生成方式"), + TableName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "数据库表名"), + NameSpace = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "命名空间"), + BusName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "业务名"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_code_gen", x => x.Id); + }, + comment: "代码生成表"); + + migrationBuilder.CreateTable( + name: "sys_code_gen_config", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + CodeGenId = table.Column(type: "varchar(36)", nullable: true, comment: "代码生成主表ID"), + ColumnName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "数据库字段名"), + ColumnComment = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "字段描述"), + NetType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: ".NET数据类型"), + EffectType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "作用类型"), + DictTypeCode = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "字典Code"), + WhetherRetract = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "列表是否缩进"), + WhetherRequired = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否必填"), + QueryWhether = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否是查询条件"), + QueryType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "查询方式"), + WhetherTable = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "列表显示"), + WhetherAddUpdate = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "增改"), + ColumnKey = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "主外键"), + DataType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "数据库中类型"), + WhetherCommon = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否通用字段"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_code_gen_config", x => x.Id); + }, + comment: "代码生成字段配置表"); + + migrationBuilder.CreateTable( + name: "sys_config", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Value = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "属性值"), + SysFlag = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否是系统参数"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + GroupCode = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "常量所属分类的编码"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_config", x => x.Id); + }, + comment: "参数配置表"); + + migrationBuilder.CreateTable( + name: "sys_dict_type", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_dict_type", x => x.Id); + }, + comment: "字典类型表"); + + migrationBuilder.CreateTable( + name: "sys_emp", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "用户Id"), + JobNum = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "工号"), + OrgId = table.Column(type: "varchar(36)", nullable: true, comment: "机构Id"), + OrgName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "机构名称") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_emp", x => x.Id); + }, + comment: "员工表"); + + migrationBuilder.CreateTable( + name: "sys_file", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + FileLocation = table.Column(type: "int", nullable: false, comment: "文件存储位置"), + FileBucket = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "文件仓库"), + FileOriginName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "文件名称"), + FileSuffix = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "文件后缀"), + FileSizeKb = table.Column(type: "bigint", nullable: false, comment: "文件大小kb"), + FileSizeInfo = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "文件大小信息"), + FileObjectName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "存储到bucket的名称"), + FilePath = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "存储路径"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_file", x => x.Id); + }, + comment: "文件信息表"); + + migrationBuilder.CreateTable( + name: "sys_log_audit", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), + TableName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "表名"), + ColumnName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "列名"), + NewValue = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "新值"), + OldValue = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "旧值"), + CreatedTime = table.Column(type: "datetime", nullable: false, comment: "操作时间"), + UserId = table.Column(type: "varchar(36)", nullable: true, comment: "操作人Id"), + UserName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作人名称"), + Operate = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作方式") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_log_audit", x => x.Id); + }, + comment: "审计日志表"); + + migrationBuilder.CreateTable( + name: "sys_log_op", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + OpType = table.Column(type: "int", nullable: true, comment: "操作类型"), + Success = table.Column(type: "tinyint(1)", nullable: true, comment: "是否执行成功"), + Message = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "具体消息"), + Ip = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "IP"), + Location = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "地址"), + Browser = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "浏览器"), + Os = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作系统"), + Url = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求地址"), + ClassName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "类名称"), + MethodName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "方法名称"), + ReqMethod = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求方式"), + Param = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求参数"), + Result = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "返回结果"), + ElapsedTime = table.Column(type: "bigint", nullable: false, comment: "耗时"), + OpTime = table.Column(type: "datetime", nullable: false, comment: "操作时间"), + Account = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作人") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_log_op", x => x.Id); + }, + comment: "操作日志表"); + + migrationBuilder.CreateTable( + name: "sys_log_vis", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Success = table.Column(type: "tinyint(1)", nullable: false, comment: "是否执行成功"), + Message = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "具体消息"), + Ip = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "IP"), + Location = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "地址"), + Browser = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "浏览器"), + Os = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作系统"), + VisType = table.Column(type: "int", nullable: true, comment: "访问类型"), + VisTime = table.Column(type: "datetime", nullable: false, comment: "访问时间"), + Account = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "访问人") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_log_vis", x => x.Id); + }, + comment: "访问日志表"); + + migrationBuilder.CreateTable( + name: "sys_menu", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + Pid = table.Column(type: "varchar(36)", nullable: true, comment: "父Id"), + Pids = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "父Ids"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Type = table.Column(type: "int", nullable: false, comment: "菜单类型"), + Icon = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "图标"), + Router = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "路由地址"), + Component = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "组件地址"), + Permission = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "权限标识"), + Application = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "应用分类"), + OpenType = table.Column(type: "int", nullable: false, comment: "打开方式"), + Visible = table.Column(type: "bit", nullable: false, comment: "是否可见"), + Link = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "内链地址"), + Redirect = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "重定向地址"), + Weight = table.Column(type: "int", nullable: false, comment: "权重"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + VisibleParent = table.Column(type: "bit", nullable: false, comment: "关联菜单显示"), + Status = table.Column(type: "int", nullable: false), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_menu", x => x.Id); + }, + comment: "菜单表"); + + migrationBuilder.CreateTable( + name: "sys_notice", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + Title = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "标题"), + Content = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "内容"), + Type = table.Column(type: "int", nullable: false, comment: "类型"), + PublicUserId = table.Column(type: "varchar(36)", nullable: true, comment: "发布人Id"), + PublicUserName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "发布人姓名"), + PublicOrgId = table.Column(type: "varchar(36)", nullable: true, comment: "发布机构Id"), + PublicOrgName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "发布机构名称"), + PublicTime = table.Column(type: "datetime", nullable: false, comment: "发布时间"), + CancelTime = table.Column(type: "datetime", nullable: false, comment: "撤回时间"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_notice", x => x.Id); + }, + comment: "通知公告表"); + + migrationBuilder.CreateTable( + name: "sys_notice_user", + columns: table => new + { + NoticeId = table.Column(type: "varchar(36)", nullable: true, comment: "通知公告Id"), + UserId = table.Column(type: "varchar(36)", nullable: true, comment: "用户Id"), + ReadTime = table.Column(type: "datetime", nullable: false, comment: "阅读时间"), + ReadStatus = table.Column(type: "int", nullable: false, comment: "状态") + }, + constraints: table => + { + }, + comment: "通知公告用户表"); + + migrationBuilder.CreateTable( + name: "sys_oauth_user", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + Uuid = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "UUID"), + AccessToken = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "Token"), + NickName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "昵称"), + Avatar = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "头像"), + Gender = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "性别"), + Phone = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "电话"), + Email = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "邮箱"), + Location = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "位置"), + Blog = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "用户网址"), + Company = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "所在公司"), + Source = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "用户来源"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_oauth_user", x => x.Id); + }, + comment: "Oauth登录用户表"); + + migrationBuilder.CreateTable( + name: "sys_pos", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_pos", x => x.Id); + }, + comment: "职位表"); + + migrationBuilder.CreateTable( + name: "sys_role", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + DataScopeType = table.Column(type: "int", nullable: false, comment: "数据范围类型"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_role", x => x.Id); + }, + comment: "角色表"); + + migrationBuilder.CreateTable( + name: "sys_tenant", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Host = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "主机"), + Email = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "电子邮箱"), + Phone = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "电话"), + Connection = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "数据库连接"), + Schema = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "架构"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_tenant", x => x.Id); + }, + comment: "租户表"); + + migrationBuilder.CreateTable( + name: "sys_timer", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + JobName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "任务名称"), + JobGroup = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "任务分组"), + BeginTime = table.Column(type: "datetime", nullable: false, comment: "开始时间"), + EndTime = table.Column(type: "datetime", nullable: true, comment: "结束时间"), + Cron = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "Cron表达式"), + RunNumber = table.Column(type: "int", nullable: true, comment: "执行次数"), + Interval = table.Column(type: "int", nullable: true, comment: "执行间隔时间"), + TriggerType = table.Column(type: "int", nullable: false, comment: "触发器类型"), + RequestUrl = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求url"), + RequestParameters = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求参数"), + Headers = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "Headers"), + RequestType = table.Column(type: "int", nullable: false, comment: "请求类型"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_timer", x => x.Id); + }, + comment: "定时任务表"); + + migrationBuilder.CreateTable( + name: "sys_user", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + Account = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: false, comment: "账号"), + Password = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: false, comment: "密码"), + SecurityLevel = table.Column(type: "int", nullable: false, comment: "密码安全级别"), + NickName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "昵称"), + Name = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "姓名"), + Avatar = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "头像"), + Birthday = table.Column(type: "datetime", nullable: true, comment: "生日"), + Sex = table.Column(type: "int", nullable: false, comment: "性别-男_1、女_2"), + Email = table.Column(type: "varchar(30) CHARACTER SET utf8mb4", maxLength: 30, nullable: true, comment: "邮箱"), + Phone = table.Column(type: "varchar(30) CHARACTER SET utf8mb4", maxLength: 30, nullable: true, comment: "手机"), + Tel = table.Column(type: "varchar(30) CHARACTER SET utf8mb4", maxLength: 30, nullable: true, comment: "电话"), + LastLoginIp = table.Column(type: "varchar(30) CHARACTER SET utf8mb4", maxLength: 30, nullable: true, comment: "最后登录IP"), + LastLoginTime = table.Column(type: "datetime", nullable: false, comment: "最后登录时间"), + AdminType = table.Column(type: "int", nullable: false, comment: "管理员类型-超级管理员_1、非管理员_2"), + Status = table.Column(type: "int", nullable: false, comment: "状态-正常_0、停用_1、删除_2"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_user", x => x.Id); + }, + comment: "用户表"); + + migrationBuilder.CreateTable( + name: "sys_org", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + Pid = table.Column(type: "varchar(36)", nullable: true, comment: "父Id"), + Pids = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "Pids"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Contacts = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "联系人"), + Tel = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "电话"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + AreaCode = table.Column(type: "varchar(50) CHARACTER SET utf8mb4", nullable: true), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_org", x => x.Id); + table.ForeignKey( + name: "FK_sys_org_sys_area_code_AreaCode", + column: x => x.AreaCode, + principalTable: "sys_area_code", + principalColumn: "Code", + onDelete: ReferentialAction.Restrict); + }, + comment: "组织机构表"); + + migrationBuilder.CreateTable( + name: "sys_dict_data", + columns: table => new + { + Id = table.Column(type: "varchar(36)", nullable: false, comment: "Id主键"), + TypeId = table.Column(type: "varchar(36)", nullable: true, comment: "字典类型Id"), + Value = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "值"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "varchar(36)", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "bit", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_dict_data", x => x.Id); + table.ForeignKey( + name: "FK_sys_dict_data_sys_dict_type_TypeId", + column: x => x.TypeId, + principalTable: "sys_dict_type", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + }, + comment: "字典值表"); + + migrationBuilder.CreateTable( + name: "sys_emp_pos", + columns: table => new + { + SysEmpId = table.Column(type: "varchar(36)", nullable: false, comment: "员工Id"), + SysPosId = table.Column(type: "varchar(36)", nullable: false, comment: "职位Id") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_emp_pos", x => new { x.SysEmpId, x.SysPosId }); + table.ForeignKey( + name: "FK_sys_emp_pos_sys_emp_SysEmpId", + column: x => x.SysEmpId, + principalTable: "sys_emp", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_emp_pos_sys_pos_SysPosId", + column: x => x.SysPosId, + principalTable: "sys_pos", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "员工职位表"); + + migrationBuilder.CreateTable( + name: "sys_role_area", + columns: table => new + { + SysRoleId = table.Column(type: "varchar(36)", nullable: false, comment: "角色Id"), + AreaCode = table.Column(type: "varchar(50) CHARACTER SET utf8mb4", nullable: false, comment: "系统使用的区域代码") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_role_area", x => new { x.SysRoleId, x.AreaCode }); + table.ForeignKey( + name: "FK_sys_role_area_sys_area_code_AreaCode", + column: x => x.AreaCode, + principalTable: "sys_area_code", + principalColumn: "Code", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_role_area_sys_role_SysRoleId", + column: x => x.SysRoleId, + principalTable: "sys_role", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "角色区域自定义数据"); + + migrationBuilder.CreateTable( + name: "sys_role_menu", + columns: table => new + { + SysRoleId = table.Column(type: "varchar(36)", nullable: false, comment: "角色Id"), + SysMenuId = table.Column(type: "varchar(36)", nullable: false, comment: "菜单Id") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_role_menu", x => new { x.SysRoleId, x.SysMenuId }); + table.ForeignKey( + name: "FK_sys_role_menu_sys_menu_SysMenuId", + column: x => x.SysMenuId, + principalTable: "sys_menu", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_role_menu_sys_role_SysRoleId", + column: x => x.SysRoleId, + principalTable: "sys_role", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "角色菜单表"); + + migrationBuilder.CreateTable( + name: "sys_user_area", + columns: table => new + { + SysUserId = table.Column(type: "varchar(36)", nullable: false, comment: "用户Id"), + AreaCode = table.Column(type: "varchar(10) CHARACTER SET utf8mb4", maxLength: 10, nullable: false, comment: "系统使用的区域代码") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_user_area", x => new { x.SysUserId, x.AreaCode }); + table.ForeignKey( + name: "FK_sys_user_area_sys_area_code_AreaCode", + column: x => x.AreaCode, + principalTable: "sys_area_code", + principalColumn: "Code", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_user_area_sys_user_SysUserId", + column: x => x.SysUserId, + principalTable: "sys_user", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "用户授权区域信息"); + + migrationBuilder.CreateTable( + name: "sys_user_role", + columns: table => new + { + SysUserId = table.Column(type: "varchar(36)", nullable: false, comment: "用户Id"), + SysRoleId = table.Column(type: "varchar(36)", nullable: false, comment: "角色Id") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_user_role", x => new { x.SysUserId, x.SysRoleId }); + table.ForeignKey( + name: "FK_sys_user_role_sys_role_SysRoleId", + column: x => x.SysRoleId, + principalTable: "sys_role", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_user_role_sys_user_SysUserId", + column: x => x.SysUserId, + principalTable: "sys_user", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "用户角色表"); + + migrationBuilder.CreateTable( + name: "sys_emp_ext_org_pos", + columns: table => new + { + SysEmpId = table.Column(type: "varchar(36)", nullable: false, comment: "员工Id"), + SysOrgId = table.Column(type: "varchar(36)", nullable: false, comment: "机构Id"), + SysPosId = table.Column(type: "varchar(36)", nullable: false, comment: "职位Id") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_emp_ext_org_pos", x => new { x.SysEmpId, x.SysOrgId, x.SysPosId }); + table.ForeignKey( + name: "FK_sys_emp_ext_org_pos_sys_emp_SysEmpId", + column: x => x.SysEmpId, + principalTable: "sys_emp", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_emp_ext_org_pos_sys_org_SysOrgId", + column: x => x.SysOrgId, + principalTable: "sys_org", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_emp_ext_org_pos_sys_pos_SysPosId", + column: x => x.SysPosId, + principalTable: "sys_pos", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "员工附属机构职位表"); + + migrationBuilder.CreateTable( + name: "sys_role_data_scope", + columns: table => new + { + SysRoleId = table.Column(type: "varchar(36)", nullable: false, comment: "角色Id"), + SysOrgId = table.Column(type: "varchar(36)", nullable: false, comment: "机构Id") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_role_data_scope", x => new { x.SysRoleId, x.SysOrgId }); + table.ForeignKey( + name: "FK_sys_role_data_scope_sys_org_SysOrgId", + column: x => x.SysOrgId, + principalTable: "sys_org", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_role_data_scope_sys_role_SysRoleId", + column: x => x.SysRoleId, + principalTable: "sys_role", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "角色数据范围表"); + + migrationBuilder.CreateTable( + name: "sys_user_data_scope", + columns: table => new + { + SysUserId = table.Column(type: "varchar(36)", nullable: false, comment: "用户Id"), + SysOrgId = table.Column(type: "varchar(36)", nullable: false, comment: "机构Id") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_user_data_scope", x => new { x.SysUserId, x.SysOrgId }); + table.ForeignKey( + name: "FK_sys_user_data_scope_sys_org_SysOrgId", + column: x => x.SysOrgId, + principalTable: "sys_org", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_user_data_scope_sys_user_SysUserId", + column: x => x.SysUserId, + principalTable: "sys_user", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "用户数据范围表"); + + migrationBuilder.InsertData( + table: "sys_app", + columns: new[] { "Id", "Active", "Code", "Color", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Name", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { "8b2aeb5e-09a6-4afd-bcae-8ee8e5a1e6ec", 0ul, "busapp", null, null, null, null, null, 0ul, "业务应用", 100, 0, null, null, null }, + { "d781b8f1-0d08-48c8-b7a5-ed75ddfa676c", 1ul, "system", null, null, null, null, null, 0ul, "系统管理", 100, 0, null, null, null }, + { "850ab86f-cd6a-4d49-b920-77dfa5d78813", 0ul, "system_tool", null, null, null, null, null, 0ul, "系统工具", 100, 0, null, null, null }, + { "05a32be5-82e8-423f-affa-e17232a63ee1", 0ul, "advanced", null, null, null, null, null, 0ul, "高级功能", 100, 0, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_area_code", + columns: new[] { "Code", "AdCode", "LevelType", "Name", "Note", "Sort" }, + values: new object[,] + { + { "3302", "3302", 1, "XX市", "XX市", 0 }, + { "330266", "330266", 2, "测试区", "测试区", 100 }, + { "330266001", "330266001", 3, "测试街道", "测试街道", 0 } + }); + + migrationBuilder.InsertData( + table: "sys_config", + columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "GroupCode", "IsDeleted", "Name", "Remark", "Status", "SysFlag", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Value" }, + values: new object[,] + { + { "55756524-ecb8-444e-9cdd-a0fc767c4b96", "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", null, null, null, "FILE_PATH", 0ul, "Win本地上传文件路径", "Win本地上传文件路径", 0, "Y", null, null, null, "D:/tmp" }, + { "d2db41ee-ce1f-46de-ac00-5860634afed9", "DILON_FILE_UPLOAD_PATH_FOR_LINUX", null, null, null, "FILE_PATH", 0ul, "Linux/Mac本地上传文件路径", "Linux/Mac本地上传文件路径", 0, "Y", null, null, null, "/tmp" }, + { "ff8debdd-eca0-4f91-8213-e2080f76b35d", "DILON_UN_XSS_FILTER_URL", null, null, null, "DEFAULT", 0ul, "放开XSS过滤的接口", "多个url可以用英文逗号隔开", 0, "Y", null, null, null, "/demo/xssfilter,/demo/unxss" }, + { "5584fb84-f580-463f-b06d-bbb80a4dfb72", "DILON_ENABLE_SINGLE_LOGIN", null, null, null, "DEFAULT", 0ul, "单用户登陆的开关", "true-打开,false-关闭,如果一个人登录两次,就会将上一次登陆挤下去", 0, "Y", null, null, null, "false" }, + { "53b0afb2-4917-4b85-bcca-fe7c7723ae22", "DILON_CAPTCHA_OPEN", null, null, null, "DEFAULT", 0ul, "登录验证码的开关", "true-打开,false-关闭", 0, "Y", null, null, null, "true" }, + { "974740d8-8647-4cf8-8102-542eea53e97f", "DILON_DRUID_USERNAME", null, null, null, "DEFAULT", 0ul, "Druid监控登录账号", "Druid监控登录账号", 0, "Y", null, null, null, "superAdmin" }, + { "8cee44ea-ba4c-42db-a57d-69b8b5316ca5", "DILON_DRUID_PASSWORD", null, null, null, "DEFAULT", 0ul, "Druid监控界面登录密码", "Druid监控界面登录密码", 0, "Y", null, null, null, "123456" }, + { "59c8a6f2-9e3c-4e9e-b9cf-8ecad5f0cb45", "DILON_ENABLE_OAUTH_LOGIN", null, null, null, "OAUTH", 0ul, "Oauth用户登录的开关", "Oauth用户登录的开关", 0, "Y", null, null, null, "true" }, + { "d3597d8a-562a-4b24-93c7-8655c5445d74", "DILON_IP_GEO_APP_CODE", null, null, null, "DEFAULT", 0ul, "阿里云定位appCode", "阿里云定位appCode", 0, "Y", null, null, null, "461535aabeae4f34861884d392f5d452" }, + { "dc462c05-de23-4f90-bcdc-88de4abcdf22", "DILON_EMAIL_SSL", null, null, null, "EMAIL", 0ul, "邮箱是否开启ssl", "邮箱是否开启ssl", 0, "Y", null, null, null, "true" }, + { "ff502ee7-8129-4828-8d16-fb04562ef52c", "DILON_OAUTH_GITEE_CLIENT_ID", null, null, null, "OAUTH", 0ul, "Oauth码云登录ClientId", "Oauth码云登录ClientId", 0, "Y", null, null, null, "你的clientId" }, + { "a1d957ef-2b70-456f-8eda-b70a4cf01535", "DILON_OAUTH_GITEE_CLIENT_SECRET", null, null, null, "OAUTH", 0ul, "Oauth码云登录ClientSecret", "Oauth码云登录ClientSecret", 0, "Y", null, null, null, "你的clientSecret" }, + { "b32ee22b-671d-40bf-8070-32e1054fef96", "DILON_OAUTH_GITEE_REDIRECT_URI", null, null, null, "OAUTH", 0ul, "Oauth码云登录回调地址", "Oauth码云登录回调地址", 0, "Y", null, null, null, "http://127.0.0.1:5566/oauth/callback/gitee" }, + { "38dda85c-2a98-4768-aebd-a60ab286052c", "DILON_DEMO_ENV_FLAG", null, null, null, "DEFAULT", 0ul, "演示环境", "演示环境的开关,true-打开,false-关闭,如果演示环境开启,则只能读数据不能写数据", 0, "Y", null, null, null, "false" }, + { "efc235ab-9b05-4820-afe4-32a1eb59e4de", "DILON_IP_GEO_API", null, null, null, "DEFAULT", 0ul, "阿里云定位api接口地址", "阿里云定位api接口地址", 0, "Y", null, null, null, "http://api01.aliyun.venuscn.com/ip?ip=%s" }, + { "67e468f7-e791-4e91-a896-62e9f7411635", "DILON_EMAIL_PORT", null, null, null, "EMAIL", 0ul, "邮箱端口", "邮箱端口", 0, "Y", null, null, null, "465" }, + { "8beac2a0-4c67-4499-a7ce-27e989546ce9", "DILON_EMAIL_FROM", null, null, null, "EMAIL", 0ul, "邮箱发件人", "邮箱发件人", 0, "Y", null, null, null, "test@126.com" }, + { "997a9bc6-22ed-4fe6-a20c-c3c2a0b682a0", "DILON_EMAIL_USERNAME", null, null, null, "EMAIL", 0ul, "邮箱用户名", "邮箱用户名", 0, "Y", null, null, null, "test@126.com" }, + { "7c2765cd-d39b-4772-8d6c-0dbcdcfa1ff8", "DILON_JWT_SECRET", null, null, null, "DEFAULT", 0ul, "jwt密钥", "(重要)jwt密钥,默认为空,自行设置", 0, "Y", null, null, null, "xiaonuo" }, + { "e3553657-14cf-4c26-ba7b-dbb4bfd4bc55", "DILON_DEFAULT_PASSWORD", null, null, null, "DEFAULT", 0ul, "默认密码", "默认密码", 0, "Y", null, null, null, "123456" }, + { "633d1851-41d9-4ebd-b83b-3aa4501cd1a7", "DILON_EMAIL_PASSWORD", null, null, null, "EMAIL", 0ul, "邮箱密码", "邮箱密码", 0, "Y", null, null, null, "你的邮箱密码" }, + { "8938506d-2e00-44e0-8592-48453d43f9f5", "DILON_SESSION_EXPIRE", null, null, null, "DEFAULT", 0ul, "session会话过期时间", "session会话过期时间(单位:秒)", 0, "Y", null, null, null, "7200" }, + { "beb2e9e7-f4d9-43b1-bfab-3557ea232f8d", "DILON_ALIYUN_SMS_ACCESSKEY_ID", null, null, null, "ALIYUN_SMS", 0ul, "阿里云短信keyId", "阿里云短信keyId", 0, "Y", null, null, null, "你的keyId" }, + { "ead14cd0-9fd4-4fd6-b75c-239d8b2ebed8", "DILON_ALIYUN_SMS_ACCESSKEY_SECRET", null, null, null, "ALIYUN_SMS", 0ul, "阿里云短信secret", "阿里云短信secret", 0, "Y", null, null, null, "你的secret" }, + { "beaaafc2-3fdf-42af-9b06-ead3a6dd6306", "DILON_ALIYUN_SMS_SIGN_NAME", null, null, null, "ALIYUN_SMS", 0ul, "阿里云短信签名", "阿里云短信签名", 0, "Y", null, null, null, "你的签名" }, + { "2c677cd2-2a54-46c6-971d-f9fe20f101f3", "DILON_TOKEN_EXPIRE", null, null, null, "DEFAULT", 0ul, "token过期时间", "token过期时间(单位:秒)", 0, "Y", null, null, null, "86400" }, + { "24d3f286-efca-49af-91b4-e3ce42cce36e", "DILON_ALIYUN_SMS_INVALIDATE_MINUTES", null, null, null, "ALIYUN_SMS", 0ul, "阿里云短信默认失效时间", "阿里云短信默认失效时间(单位:分钟)", 0, "Y", null, null, null, "5" }, + { "c6540a07-ce32-47b4-ab83-b647bdb14491", "DILON_TENCENT_SMS_SECRET_ID", null, null, null, "TENCENT_SMS", 0ul, "腾讯云短信secretId", "腾讯云短信secretId", 0, "Y", null, null, null, "你的secretId" }, + { "a0412212-d50b-42aa-9484-3cef8fe3cc59", "DILON_TENCENT_SMS_SECRET_KEY", null, null, null, "TENCENT_SMS", 0ul, "腾讯云短信secretKey", "腾讯云短信secretKey", 0, "Y", null, null, null, "你的secretkey" }, + { "c928ca11-5137-4b71-bf1c-f3bc95bcd34d", "DILON_TENCENT_SMS_SDK_APP_ID", null, null, null, "TENCENT_SMS", 0ul, "腾讯云短信sdkAppId", "腾讯云短信sdkAppId", 0, "Y", null, null, null, "1400375123" }, + { "16ce1b6e-c8ad-4299-9293-6caff0e5cb49", "DILON_TENCENT_SMS_SIGN", null, null, null, "TENCENT_SMS", 0ul, "腾讯云短信签名", "腾讯云短信签名", 0, "Y", null, null, null, "你的签名" }, + { "66e63d64-b7eb-4e6a-b5b6-c87811c2e700", "DILON_EMAIL_HOST", null, null, null, "EMAIL", 0ul, "邮箱host", "邮箱host", 0, "Y", null, null, null, "smtp.126.com" }, + { "e26a10cf-911a-4fe0-a113-76965be749a0", "DILON_ALIYUN_SMS_LOGIN_TEMPLATE_CODE", null, null, null, "ALIYUN_SMS", 0ul, "阿里云短信-登录模板号", "阿里云短信-登录模板号", 0, "Y", null, null, null, "SMS_1877123456" } + }); + + migrationBuilder.InsertData( + table: "sys_dict_type", + columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Name", "Remark", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { "0f1b8660-d932-4a53-a681-a38bebae91e0", "run_status", null, null, null, 0ul, "运行状态", "定时任务运行状态", 100, 0, null, null, null }, + { "d5b311fd-4b60-4b51-9156-b0e6d6cfa4d1", "notice_type", null, null, null, 0ul, "通知公告类型", "通知公告类型", 100, 0, null, null, null }, + { "b30937e6-03cd-4d98-a413-10b06d605e5a", "notice_status", null, null, null, 0ul, "通知公告状态", "通知公告状态", 100, 0, null, null, null }, + { "80aea9e7-ad1b-4f57-b4db-9d15813707bd", "yes_true_false", null, null, null, 0ul, "是否boolean", "是否boolean", 100, 0, null, null, null }, + { "41bc31f6-cef5-400d-b03a-bf51d27b2432", "code_gen_query_type", null, null, null, 0ul, "代码生成查询类型", "代码生成查询类型", 100, 0, null, null, null }, + { "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", "request_type", null, null, null, 0ul, "请求方式", "请求方式", 100, 0, null, null, null }, + { "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", "code_gen_effect_type", null, null, null, 0ul, "代码生成作用类型", "代码生成作用类型", 100, 0, null, null, null }, + { "28f653d4-e573-4f54-8e5c-4e308780145a", "code_gen_net_type", null, null, null, 0ul, "代码生成.NET类型", "代码生成.NET类型", 100, 0, null, null, null }, + { "b924e0c1-3f23-4e37-9f27-90e945381304", "file_storage_location", null, null, null, 0ul, "文件存储位置", "文件存储位置", 100, 0, null, null, null }, + { "430d0538-054a-4b37-a459-1095d0ccf4ae", "code_gen_create_type", null, null, null, 0ul, "代码生成方式", "代码生成方式", 100, 0, null, null, null }, + { "8461bd1d-311b-487e-b579-d6049c6fb191", "op_type", null, null, null, 0ul, "操作类型", "操作类型", 100, 0, null, null, null }, + { "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", "sms_send_source", null, null, null, 0ul, "短信发送来源", "短信发送来源", 100, 0, null, null, null }, + { "a2068ed1-62a6-463c-b720-06111d994079", "data_scope_type", null, null, null, 0ul, "数据范围类型", "数据范围类型", 100, 0, null, null, null }, + { "301ed120-dfc5-4d7c-af59-b56a519581c9", "sex", null, null, null, 0ul, "性别", "性别字典", 100, 0, null, null, null }, + { "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", "consts_type", null, null, null, 0ul, "常量的分类", "常量的分类,用于区别一组配置", 100, 0, null, null, null }, + { "f2f0e8bf-04da-4a2f-9fb8-1d6549227302", "yes_or_no", null, null, null, 0ul, "是否", "是否", 100, 0, null, null, null }, + { "2cecf329-cf95-44eb-a8d7-3fb77b13e093", "vis_type", null, null, null, 0ul, "访问类型", "访问类型", 100, 0, null, null, null }, + { "b0cfa91c-1189-4f39-bc5a-f035885d0604", "common_status", null, null, null, 0ul, "通用状态", "通用状态", 100, 0, null, null, null }, + { "058db370-3718-42c3-8ba7-095341b1fe13", "send_type", null, null, null, 0ul, "发送类型", "发送类型", 100, 0, null, null, null }, + { "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", "open_type", null, null, null, 0ul, "打开方式", "打开方式", 100, 0, null, null, null }, + { "b3235678-f7fe-442b-8fba-e792a89b78f2", "menu_weight", null, null, null, 0ul, "菜单权重", "菜单权重", 100, 0, null, null, null }, + { "e973d383-c28e-42e0-9e23-5f2bd592fef5", "menu_type", null, null, null, 0ul, "菜单类型", "菜单类型", 100, 0, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_emp", + columns: new[] { "Id", "JobNum", "OrgId", "OrgName" }, + values: new object[,] + { + { "d0ead3dc-5096-4e15-bc6d-f640be5301ec", "D1001", "12d888de-f55d-4c88-b0a0-7c3510664d97", "华夏集团" }, + { "5398fb9a-2209-4ce7-a2c1-b6a983e502b5", "D1002", "12d888de-f55d-4c88-b0a0-7c3510664d97", "华夏集团" }, + { "16a74726-e156-499f-9942-0e0e24ad0c3f", "D1003", "12d888de-f55d-4c88-b0a0-7c3510664d97", "华夏集团" } + }); + + migrationBuilder.InsertData( + table: "sys_menu", + columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "VisibleParent", "Weight" }, + values: new object[,] + { + { "1a1a13cb-f9a9-4ffe-924d-d523db79f7bf", "system", "sys_log_mgr_op_log", "system/log/oplog/index", null, null, null, null, 0ul, null, "操作日志", 1, null, "eec4563e-9307-4ccd-ac3a-93598badb195", "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],", null, null, "/oplog", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "d40f424d-d5fc-4b86-a2bd-3a5a76076bc1", "system", "sys_swagger_mgr", "Iframe", null, null, null, null, 0ul, "http://127.0.0.1:5566/", "接口文档", 2, null, "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", null, null, "/swagger", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "eec4563e-9307-4ccd-ac3a-93598badb195", "system", "sys_log_mgr", "PageView", null, null, null, "read", 0ul, null, "日志管理", 0, null, "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", null, null, "/log", 100, 0, 0, null, null, null, 1ul, 0ul, 1 }, + { "322b2cb6-df29-483b-b011-54dce1532fae", "system", "sys_log_mgr_vis_log", "system/log/vislog/index", null, null, null, null, 0ul, null, "访问日志", 1, null, "eec4563e-9307-4ccd-ac3a-93598badb195", "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],", null, null, "/vislog", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "122641c1-ab6d-4f91-9527-16fc8fea9708", "system", "sys_log_mgr_vis_log_page", null, null, null, null, null, 0ul, null, "访问日志查询", 0, "sysVisLog:page", "322b2cb6-df29-483b-b011-54dce1532fae", "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[322b2cb6-df29-483b-b011-54dce1532fae],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "f2367804-6382-4e72-8282-e4f6f988ecd1", "system", "sys_log_mgr_vis_log_delete", null, null, null, null, null, 0ul, null, "访问日志清空", 0, "sysVisLog:delete", "322b2cb6-df29-483b-b011-54dce1532fae", "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[322b2cb6-df29-483b-b011-54dce1532fae],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "7f44f49e-6458-4149-bbcd-9a937f552cec", "system", "sys_log_mgr_op_log_page", null, null, null, null, null, 0ul, null, "操作日志查询", 0, "sysOpLog:page", "1a1a13cb-f9a9-4ffe-924d-d523db79f7bf", "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[1a1a13cb-f9a9-4ffe-924d-d523db79f7bf],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "4dbf6765-ac79-4708-a9d5-16a4d4b09164", "system", "sys_monitor_mgr_online_user_force_exist", null, null, null, null, null, 0ul, null, "在线用户强退", 0, "sysOnlineUser:forceExist", "49a8b476-327b-4f33-87b8-2d9bc50dc390", "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],[49a8b476-327b-4f33-87b8-2d9bc50dc390],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", "system", "sys_monitor_mgr", "PageView", null, null, null, "deployment-unit", 0ul, null, "系统监控", 0, null, "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", null, null, "/monitor", 100, 0, 0, null, null, null, 1ul, 0ul, 1 }, + { "c1e70042-fe3f-4efc-a6cc-86de8507f948", "system", "sys_monitor_mgr_machine_monitor", "system/machine/index", null, null, null, null, 0ul, null, "服务监控", 1, null, "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],", null, null, "/machine", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "444f3658-defe-47a7-880e-bf0af8b66591", "system", "sys_monitor_mgr_machine_monitor_query", null, null, null, null, null, 0ul, null, "服务监控查询", 0, "sysMachine:query", "c1e70042-fe3f-4efc-a6cc-86de8507f948", "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],[c1e70042-fe3f-4efc-a6cc-86de8507f948],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "49a8b476-327b-4f33-87b8-2d9bc50dc390", "system", "sys_monitor_mgr_online_user", "system/onlineUser/index", null, null, null, null, 0ul, null, "在线用户", 1, null, "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],", null, null, "/onlineUser", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "4785eb5a-678a-4f9c-b07c-3b92acdd6de0", "system", "sys_monitor_mgr_online_user_list", null, null, null, null, null, 0ul, null, "在线用户列表", 0, "sysOnlineUser:list", "49a8b476-327b-4f33-87b8-2d9bc50dc390", "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],[49a8b476-327b-4f33-87b8-2d9bc50dc390],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "200428b3-1605-4c70-b840-e691e302ae69", "system", "sys_dict_mgr_dict_change_status", null, null, null, null, null, 0ul, null, "字典值修改状态", 0, "sysDictData:changeStatus", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "31c2af01-b856-4a1d-a131-cdf8e847b1a4", "system", "sys_monitor_mgr_druid", "Iframe", null, null, null, null, 0ul, "http://localhost:82/druid/login.html", "数据监控", 2, null, "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],", null, null, "/druid", 100, 0, 1, null, null, null, 0ul, 0ul, 1 }, + { "263e0c00-2796-411c-9f50-0aa361f7781c", "system", "sys_log_mgr_op_log_delete", null, null, null, null, null, 0ul, null, "操作日志清空", 0, "sysOpLog:delete", "1a1a13cb-f9a9-4ffe-924d-d523db79f7bf", "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[1a1a13cb-f9a9-4ffe-924d-d523db79f7bf],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "fc511b42-f0a1-489b-8418-7ef94b0fb374", "system", "sys_role_mgr_grant_data", null, null, null, null, null, 0ul, null, "字典值详情", 0, "sysDictData:detail", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "4f87b6de-be62-4398-b680-1f8611f2cd70", "system", "sys_dict_mgr_dict_type_drop_down", null, null, null, null, null, 0ul, null, "字典类型下拉", 0, "sysDictType:dropDown", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "be98da08-a3b0-463c-8208-05d843620258", "system", "sys_dict_mgr_dict_delete", null, null, null, null, null, 0ul, null, "字典值删除", 0, "sysDictData:delete", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "e571a1c9-8b43-459f-9dc6-1dcf967627b7", "system", "sys_sms_mgr", "system/sms/index", null, null, null, null, 0ul, null, "短信管理", 1, null, "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", null, null, "/sms", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "2afa4925-b927-457e-88a1-d215b7d75fb6", "system", "sys_sms_mgr_page", null, null, null, null, null, 0ul, null, "短信发送查询", 0, "sms:page", "e571a1c9-8b43-459f-9dc6-1dcf967627b7", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[e571a1c9-8b43-459f-9dc6-1dcf967627b7],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "97c1b073-5e19-4542-89e2-d8da44d0f1df", "system", "sys_sms_mgr_send_login_message", null, null, null, null, null, 0ul, null, "发送验证码短信", 0, "sms:sendLoginMessage", "e571a1c9-8b43-459f-9dc6-1dcf967627b7", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[e571a1c9-8b43-459f-9dc6-1dcf967627b7],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "d2454bd2-f300-4b28-95c0-12432c28cbdf", "system", "sys_sms_mgr_validate_message", null, null, null, null, null, 0ul, null, "验证短信验证码", 0, "sms:validateMessage", "e571a1c9-8b43-459f-9dc6-1dcf967627b7", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[e571a1c9-8b43-459f-9dc6-1dcf967627b7],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "system", "sys_dict_mgr", "system/dict/index", null, null, null, null, 0ul, null, "字典管理", 1, null, "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", null, null, "/dict", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "70c5e8c5-6104-4e53-99c0-4743e557456b", "system", "sys_dict_mgr_dict_type_page", null, null, null, null, null, 0ul, null, "字典类型查询", 0, "sysDictType:page", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "1bd1d982-e05a-4bdc-a4e0-752d94f3196c", "system", "sys_dict_mgr_dict_type_list", null, null, null, null, null, 0ul, null, "字典类型列表", 0, "sysDictType:list", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "38809fc3-163f-4fe9-a488-c9bb5bce752a", "system", "sys_dict_mgr_dict_edit", null, null, null, null, null, 0ul, null, "字典值编辑", 0, "sysDictData:edit", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "bd09b023-0884-4f31-8cf7-f66f789fa3db", "system", "sys_dict_mgr_dict_type_add", null, null, null, null, null, 0ul, null, "字典类型增加", 0, "sysDictType:add", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "2381cde4-2174-47e7-a1e5-e58da70e7a11", "system", "sys_dict_mgr_dict_type_edit", null, null, null, null, null, 0ul, null, "字典类型编辑", 0, "sysDictType:edit", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "8f7d3c74-8800-4922-9662-ac6af378c882", "system", "sys_dict_mgr_dict_type_detail", null, null, null, null, null, 0ul, null, "字典类型详情", 0, "sysDictType:detail", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "d4cac841-99e5-4014-af17-2986c9340306", "system", "sys_notice", "PageView", null, null, null, "sound", 0ul, null, "通知公告", 0, null, "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", null, null, "/notice", 100, 0, 0, null, null, null, 1ul, 0ul, 1 }, + { "07c799b2-e8e9-4955-83da-97560f161d87", "system", "sys_dict_mgr_dict_type_change_status", null, null, null, null, null, 0ul, null, "字典类型修改状态", 0, "sysDictType:changeStatus", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "29be8e3c-c2bb-4162-b282-fdf58c218b9d", "system", "sys_dict_mgr_dict_page", null, null, null, null, null, 0ul, null, "字典值查询", 0, "sysDictData:page", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "b8cbc4e1-ac10-4cda-b1e4-f816a2632d02", "system", "sys_dict_mgr_dict_list", null, null, null, null, null, 0ul, null, "字典值列表", 0, "sysDictData:list", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "54e97bde-94d6-42df-89e3-4c3ace153b22", "system", "sys_dict_mgr_dict_add", null, null, null, null, null, 0ul, null, "字典值增加", 0, "sysDictData:add", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "1f7a41ff-5a46-449c-81f3-1618dfdcb4cd", "system", "sys_dict_mgr_dict_type_delete", null, null, null, null, null, 0ul, null, "字典类型删除", 0, "sysDictType:delete", "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", "system", "sys_notice_mgr", "system/notice/index", null, null, null, null, 0ul, null, "公告管理", 1, null, "d4cac841-99e5-4014-af17-2986c9340306", "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],", null, null, "/notice", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", "advanced", "sys_tenant_mgr", "system/tenant/index", null, null, null, null, 0ul, null, "租户管理", 1, null, "f4cf2a3d-0714-4ca4-a691-0b363c172f82", "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],", null, null, "/tenant", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "f27c8431-7da5-4ffe-a8f3-b511cf44c0c8", "system", "sys_notice_mgr_add", null, null, null, null, null, 0ul, null, "公告增加", 0, "sysNotice:add", "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "f27ba442-7d6f-499f-8053-a737adc3492a", "system", "sys_timers_mgr_add", null, null, null, null, null, 0ul, null, "定时任务增加", 0, "sysTimers:add", "8d4643d7-ec15-48ba-b896-816f8dab1b31", "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "99129601-0be5-43ee-842b-a428603f013b", "system", "sys_timers_mgr_delete", null, null, null, null, null, 0ul, null, "定时任务删除", 0, "sysTimers:delete", "8d4643d7-ec15-48ba-b896-816f8dab1b31", "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "5e118fc0-f580-4d06-a89d-f321a84e5654", "system", "sys_timers_mgr_edit", null, null, null, null, null, 0ul, null, "定时任务编辑", 0, "sysTimers:edit", "8d4643d7-ec15-48ba-b896-816f8dab1b31", "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "4272f2e4-4a8b-45bb-b688-2b9471c35e83", "system", "sys_timers_mgr_get_action_classes", null, null, null, null, null, 0ul, null, "定时任务可执行列表", 0, "sysTimers:getActionClasses", "8d4643d7-ec15-48ba-b896-816f8dab1b31", "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "54094687-f661-4cba-bdfc-e76f22db8d76", "system", "sys_timers_mgr_start", null, null, null, null, null, 0ul, null, "定时任务启动", 0, "sysTimers:start", "8d4643d7-ec15-48ba-b896-816f8dab1b31", "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "6b82d407-d1ea-440e-9245-128ad03dffc0", "system", "sys_timers_mgr_stop", null, null, null, null, null, 0ul, null, "定时任务关闭", 0, "sysTimers:stop", "8d4643d7-ec15-48ba-b896-816f8dab1b31", "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 } + }); + + migrationBuilder.InsertData( + table: "sys_menu", + columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "VisibleParent", "Weight" }, + values: new object[,] + { + { "5172265d-eda3-4b8a-a542-d582467a51a1", "system_tool", "code_gen", "gen/codeGenerate/index", null, null, null, "thunderbolt", 0ul, null, "代码生成", 0, null, "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", null, null, "/codeGenerate/index", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "cf51df0a-8e0b-4252-ba06-9646cad648d1", "system_tool", "form_design", "system/formDesign/index", null, null, null, "robot", 0ul, null, "表单设计", 0, null, "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", null, null, "/formDesign/index", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "f4cf2a3d-0714-4ca4-a691-0b363c172f82", "advanced", "sys_tenant", "PageView", null, null, null, "switcher", 0ul, null, "SaaS租户", 0, null, "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", null, null, "/tenant", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "51e45073-1461-4b3b-ae06-d0d3dcf222e0", "system", "sys_email_mgr_send_email_html", null, null, null, null, null, 0ul, null, "发送html邮件", 0, "email:sendEmailHtml", "cde43456-baae-4e9b-b6f9-b0ea9ab49adb", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[cde43456-baae-4e9b-b6f9-b0ea9ab49adb],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "8985ec0a-5060-4812-bf47-4f3102948066", "advanced", "sys_tenant_mgr_page", null, null, null, null, null, 0ul, null, "租户查询", 0, "sysTenant:page", "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "d9584afb-18de-4f7e-b992-c21ad77b1aae", "advanced", "sys_tenant_mgr_detail", null, null, null, null, null, 0ul, null, "租户详情", 0, "sysTenant:detail", "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "01ae6b95-9c1e-4882-a9ac-ebb9f1868c54", "advanced", "sys_tenant_mgr_add", null, null, null, null, null, 0ul, null, "租户增加", 0, "sysTenant:add", "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "59e9f6da-151a-4201-bea1-00ef06fe5842", "advanced", "sys_tenant_mgr_delete", null, null, null, null, null, 0ul, null, "租户删除", 0, "sysTenant:delete", "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "220b6a86-e65d-469b-8aa0-46c4f5e77ab8", "advanced", "sys_tenant_mgr_edit", null, null, null, null, null, 0ul, null, "租户编辑", 0, "sysTenant:edit", "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "1e562d31-c2f8-4af8-be4b-47e3b251d9a3", "system", "sys_timers_mgr_detail", null, null, null, null, null, 0ul, null, "定时任务详情", 0, "sysTimers:detail", "8d4643d7-ec15-48ba-b896-816f8dab1b31", "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "dc07cd9f-4a53-40d9-988e-70290a146eff", "system", "sys_timers_mgr_list", null, null, null, null, null, 0ul, null, "定时任务列表", 0, "sysTimers:list", "8d4643d7-ec15-48ba-b896-816f8dab1b31", "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "db62154a-470e-43c8-8959-a686b954fe7d", "system", "sys_timers_mgr_page", null, null, null, null, null, 0ul, null, "定时任务查询", 0, "sysTimers:page", "8d4643d7-ec15-48ba-b896-816f8dab1b31", "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "8d4643d7-ec15-48ba-b896-816f8dab1b31", "system", "sys_timers_mgr", "system/timers/index", null, null, null, null, 0ul, null, "任务管理", 1, null, "ba03cfd5-5d72-465f-87b6-71134da68fab", "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],", null, null, "/timers", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "f84c1f3a-3a51-4be2-97c9-7543b044e457", "system", "sys_notice_mgr_edit", null, null, null, null, null, 0ul, null, "公告编辑", 0, "sysNotice:edit", "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "a8abcb85-ad3b-47b9-8c9b-e7d1876b90cf", "system", "sys_notice_mgr_delete", null, null, null, null, null, 0ul, null, "公告删除", 0, "sysNotice:delete", "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "fe9cbb41-7b05-4f32-b960-87a1ef146166", "system", "sys_notice_mgr_detail", null, null, null, null, null, 0ul, null, "公告查看", 0, "sysNotice:detail", "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "3e547bb0-4cf5-4cf0-8386-48d2f3c12dcb", "system", "sys_notice_mgr_changeStatus", null, null, null, null, null, 0ul, null, "公告修改状态", 0, "sysNotice:changeStatus", "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "ac3065ff-d239-4e0e-86e5-d72cc658224c", "system", "sys_notice_mgr_received", "system/noticeReceived/index", null, null, null, null, 0ul, null, "已收公告", 1, null, "d4cac841-99e5-4014-af17-2986c9340306", "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],", null, null, "/noticeReceived", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "e2d4b13b-eb3e-4ead-8fb8-4c61a3004726", "system", "sys_notice_mgr_received_page", null, null, null, null, null, 0ul, null, "已收公告查询", 0, "sysNotice:received", "ac3065ff-d239-4e0e-86e5-d72cc658224c", "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[ac3065ff-d239-4e0e-86e5-d72cc658224c],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "05326e62-f496-4950-8a29-40e8a479424f", "system", "sys_file_mgr", "PageView", null, null, null, "file", 0ul, null, "文件管理", 0, null, "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", null, null, "/file", 100, 0, 0, null, null, null, 1ul, 0ul, 1 }, + { "54584ab7-25d1-45b7-b3d4-76ba21511f97", "system", "sys_notice_mgr_page", null, null, null, null, null, 0ul, null, "公告查询", 0, "sysNotice:page", "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "0af2a460-bbb0-472c-b027-8532970425df", "system", "sys_file_mgr_sys_file", "system/file/index", null, null, null, null, 0ul, null, "系统文件", 1, null, "05326e62-f496-4950-8a29-40e8a479424f", "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],", null, null, "/file", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "f47e1fa7-6329-4d67-8fe6-36ca06aad54b", "system", "sys_file_mgr_sys_file_list", null, null, null, null, null, 0ul, null, "文件列表", 0, "sysFileInfo:list", "0af2a460-bbb0-472c-b027-8532970425df", "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "cca0a2ee-cfb9-4996-affb-dc8d8168ac10", "system", "sys_file_mgr_sys_file_delete", null, null, null, null, null, 0ul, null, "文件删除", 0, "sysFileInfo:delete", "0af2a460-bbb0-472c-b027-8532970425df", "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "eb738eaa-5eed-466d-b422-4eb6f4662dd9", "system", "sys_file_mgr_sys_file_detail", null, null, null, null, null, 0ul, null, "文件详情", 0, "sysFileInfo:detail", "0af2a460-bbb0-472c-b027-8532970425df", "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "69b97ace-d849-4e52-8fc2-9da7d93e325f", "system", "sys_file_mgr_sys_file_upload", null, null, null, null, null, 0ul, null, "文件上传", 0, "sysFileInfo:upload", "0af2a460-bbb0-472c-b027-8532970425df", "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "e286d53d-bf3c-4711-b0a3-15cfad0a7521", "system", "sys_file_mgr_sys_file_download", null, null, null, null, null, 0ul, null, "文件下载", 0, "sysFileInfo:download", "0af2a460-bbb0-472c-b027-8532970425df", "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "1975891b-7940-44a8-a513-9f2e8b05dda1", "system", "sys_file_mgr_sys_file_preview", null, null, null, null, null, 0ul, null, "图片预览", 0, "sysFileInfo:preview", "0af2a460-bbb0-472c-b027-8532970425df", "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "ba03cfd5-5d72-465f-87b6-71134da68fab", "system", "sys_timers", "PageView", null, null, null, "dashboard", 0ul, null, "定时任务", 0, null, "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", null, null, "/timers", 100, 0, 0, null, null, null, 1ul, 0ul, 1 }, + { "c7bac800-b922-4173-bd8d-9888b4eab1d4", "system", "sys_file_mgr_sys_file_page", null, null, null, null, null, 0ul, null, "文件查询", 0, "sysFileInfo:page", "0af2a460-bbb0-472c-b027-8532970425df", "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "4d4cf5b3-bd4c-4f17-9fb2-47b28b00681f", "system", "sys_email_mgr_send_email", null, null, null, null, null, 0ul, null, "发送文本邮件", 0, "email:sendEmail", "cde43456-baae-4e9b-b6f9-b0ea9ab49adb", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[cde43456-baae-4e9b-b6f9-b0ea9ab49adb],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "3892ef5d-39b2-4a4d-8047-cb96542fb54f", "system", "sys_menu_mgr_tree", null, null, null, null, null, 0ul, null, "菜单树", 0, "sysMenu:tree", "babff4e1-dd00-4e6b-909a-3aac76bb52cd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "f7fe47a3-86b2-4660-9920-0c9836755666", "system", "sys_app_mgr_set_as_default", null, null, null, null, null, 0ul, null, "设为默认应用", 0, "sysApp:setAsDefault", "abf3e33d-3d6a-4bbd-8743-179df5a95d48", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "471b5259-5f55-4643-841c-f07089cfafdf", "system", "sys_user_mgr_reset_pwd", null, null, null, null, null, 0ul, null, "用户重置密码", 0, "sysUser:resetPwd", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "471d3098-90a4-47e1-bd07-5d3ed8d21fb0", "system", "sys_user_mgr_login", null, null, null, null, null, 0ul, null, "用户登录信息", 0, "getLoginUser", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 1, 2, null, null, null, 0ul, 0ul, 1 }, + { "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", "system", "sys_org_mgr", "system/org/index", null, null, null, null, 0ul, null, "机构管理", 1, null, "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],", null, null, "/org", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "b7c34c9b-933e-4c48-b1d0-af15a1f7da1f", "system", "sys_org_mgr_page", null, null, null, null, null, 0ul, null, "机构查询", 0, "sysOrg:page", "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "917064b2-c715-4fa4-9b2d-20a11b784ed1", "system", "sys_org_mgr_list", null, null, null, null, null, 0ul, null, "机构列表", 0, "sysOrg:list", "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "d7c18d60-f28f-4a57-90b3-26fc95249ae0", "system", "sys_org_mgr_add", null, null, null, null, null, 0ul, null, "机构增加", 0, "sysOrg:add", "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "e65eb1e3-cc9e-4309-8c7a-9ac41765b239", "system", "sys_org_mgr_edit", null, null, null, null, null, 0ul, null, "机构编辑", 0, "sysOrg:edit", "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "cde43456-baae-4e9b-b6f9-b0ea9ab49adb", "system", "sys_email_mgr", "system/email/index", null, null, null, null, 0ul, null, "邮件发送", 1, null, "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", null, null, "/email", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "695a6018-82c3-466e-a2a1-dab16039bfdb", "system", "sys_org_mgr_detail", null, null, null, null, null, 0ul, null, "机构详情", 0, "sysOrg:detail", "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "2d153046-279b-43be-8f57-46875118fd2c", "system", "sys_org_mgr_tree", null, null, null, null, null, 0ul, null, "机构树", 0, "sysOrg:tree", "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", "system", "sys_pos_mgr", "system/pos/index", null, null, null, null, 0ul, null, "职位管理", 1, null, "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],", null, null, "/pos", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "d2436601-bc48-4610-ba67-5b666f8ce33a", "system", "sys_pos_mgr_page", null, null, null, null, null, 0ul, null, "职位查询", 0, "sysPos:page", "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "1305efaa-b81a-475f-9dde-8f6549ca7743", "system", "sys_pos_mgr_list", null, null, null, null, null, 0ul, null, "职位列表", 0, "sysPos:list", "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "c227e732-f231-4488-89b0-d1c9dad78950", "system", "sys_pos_mgr_add", null, null, null, null, null, 0ul, null, "职位增加", 0, "sysPos:add", "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "9dafbe04-83c9-482c-9c83-81f4da045da5", "system", "sys_pos_mgr_edit", null, null, null, null, null, 0ul, null, "职位编辑", 0, "sysPos:edit", "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "9d681aac-528a-46b0-9718-ffc4abe9c29e", "system", "sys_user_mgr_update_avatar", null, null, null, null, null, 0ul, null, "用户修改头像", 0, "sysUser:updateAvatar", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "791b0d88-7e25-490f-a94f-a2e32bb3b6e6", "system", "sys_user_mgr_change_status", null, null, null, null, null, 0ul, null, "用户修改状态", 0, "sysUser:changeStatus", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "306fe9bf-3132-4011-9f3f-1a2f4ead7734", "system", "sys_user_mgr_update_pwd", null, null, null, null, null, 0ul, null, "用户修改密码", 0, "sysUser:updatePwd", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "711563e5-fed6-44d6-bcf3-138c73cfbfca", "system", "sys_user_mgr_update_info", null, null, null, null, null, 0ul, null, "用户更新信息", 0, "sysUser:updateInfo", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "83ce02c9-b37f-4885-96e3-9b34371edb2e", "system", "system_index", "RouteView", null, null, null, "home", 0ul, null, "主控面板", 0, null, "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", "/analysis", null, "/", 1, 0, 0, null, null, null, 1ul, 0ul, 1 }, + { "914a520d-9e4f-465b-ae05-7248b37d4be1", "system", "system_index_dashboard", "system/dashboard/Analysis", null, null, null, null, 0ul, null, "分析页", 0, null, "83ce02c9-b37f-4885-96e3-9b34371edb2e", "[00000000-0000-0000-0000-000000000000],[83ce02c9-b37f-4885-96e3-9b34371edb2e],", null, null, "analysis", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "72981ad9-9036-4aa7-b8f4-dc407eda50b4", "system", "system_index_workplace", "system/dashboard/Workplace", null, null, null, null, 0ul, null, "工作台", 0, null, "83ce02c9-b37f-4885-96e3-9b34371edb2e", "[00000000-0000-0000-0000-000000000000],[83ce02c9-b37f-4885-96e3-9b34371edb2e],", null, null, "workplace", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", "system", "sys_mgr", "PageView", null, null, null, "team", 0ul, null, "组织架构", 0, null, "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", null, null, "/sys", 100, 0, 0, null, null, null, 1ul, 0ul, 1 }, + { "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "system", "sys_user_mgr", "system/user/index", null, null, null, null, 0ul, null, "用户管理", 1, null, "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],", null, null, "/mgr_user", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "bff7e542-6463-4f82-a03d-b1022e60d4b6", "system", "sys_user_mgr_page", null, null, null, null, null, 0ul, null, "用户查询", 0, "sysUser:page", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "936440c7-93ef-4d2f-adff-6151f4317355", "system", "sys_user_mgr_edit", null, null, null, null, null, 0ul, null, "用户编辑", 0, "sysUser:edit", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "031df05e-b7c6-4ecd-aff2-f189c994e86d", "system", "sys_pos_mgr_delete", null, null, null, null, null, 0ul, null, "职位删除", 0, "sysPos:delete", "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "281888e3-d183-4711-ba27-298ef6e64659", "system", "sys_user_mgr_add", null, null, null, null, null, 0ul, null, "用户增加", 0, "sysUser:add", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "7a266494-e17b-480d-8f50-cc234e6fe424", "system", "sys_user_mgr_detail", null, null, null, null, null, 0ul, null, "用户详情", 0, "sysUser:detail", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "0d93f763-20d3-4c95-add3-3d94770b110e", "system", "sys_user_mgr_export", null, null, null, null, null, 0ul, null, "用户导出", 0, "sysUser:export", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "17d047c3-6e95-4f7d-93db-97817d886fa2", "system", "sys_user_mgr_selector", null, null, null, null, null, 0ul, null, "用户选择器", 0, "sysUser:selector", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "5fc44256-2e56-4805-9382-b5504ca5b6cb", "system", "sys_user_mgr_grant_role", null, null, null, null, null, 0ul, null, "用户授权角色", 0, "sysUser:grantRole", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "ceff7899-6779-4708-b9ed-a2d5b488cff2", "system", "sys_user_mgr_own_role", null, null, null, null, null, 0ul, null, "用户拥有角色", 0, "sysUser:ownRole", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "38ba9ccc-eb96-4a60-a5ab-f6ea013f8291", "system", "sys_user_mgr_grant_data", null, null, null, null, null, 0ul, null, "用户授权数据", 0, "sysUser:grantData", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "cf2f8faf-b280-456c-8865-64115e04019f", "system", "sys_user_mgr_own_data", null, null, null, null, null, 0ul, null, "用户拥有数据", 0, "sysUser:ownData", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "e4aff800-d34a-416b-bd6e-dcebaa1dd436", "system", "sys_user_mgr_delete", null, null, null, null, null, 0ul, null, "用户删除", 0, "sysUser:delete", "9f1f6051-15e6-474f-ab40-ab98a8713f7b", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "fe5ee8a1-2145-43c6-bdeb-518f3a9c127d", "system", "sys_pos_mgr_detail", null, null, null, null, null, 0ul, null, "职位详情", 0, "sysPos:detail", "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "c2450c4c-89c6-46e8-8f89-11331790cbe3", "system", "sys_org_mgr_delete", null, null, null, null, null, 0ul, null, "机构删除", 0, "sysOrg:delete", "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", "system", "sys_app_mgr", "system/app/index", null, null, null, null, 0ul, null, "应用管理", 1, null, "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],", null, null, "/app", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "e7708eeb-2c87-4c3d-bc71-c395e5d708db", "system", "sys_role_mgr_delete", null, null, null, null, null, 0ul, null, "角色删除", 0, "sysRole:delete", "ee63be7b-5d06-4c15-81f3-875e2eb164dd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "63ab477f-88fb-4f4b-9dcd-0cb83ac767f6", "system", "sys_role_mgr_detail", null, null, null, null, null, 0ul, null, "角色详情", 0, "sysRole:detail", "ee63be7b-5d06-4c15-81f3-875e2eb164dd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "2622348c-dd8f-4ade-a350-de0a8f01e1f6", "system", "sys_role_mgr_drop_down", null, null, null, null, null, 0ul, null, "角色下拉", 0, "sysRole:dropDown", "ee63be7b-5d06-4c15-81f3-875e2eb164dd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "73d84863-b381-40be-84bc-ec8381fa6c0a", "system", "sys_role_mgr_grant_menu", null, null, null, null, null, 0ul, null, "角色授权菜单", 0, "sysRole:grantMenu", "ee63be7b-5d06-4c15-81f3-875e2eb164dd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "bbc5e792-3d72-4d0d-8ddb-25cf2c4e1374", "system", "sys_role_mgr_own_menu", null, null, null, null, null, 0ul, null, "角色拥有菜单", 0, "sysRole:ownMenu", "ee63be7b-5d06-4c15-81f3-875e2eb164dd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 } + }); + + migrationBuilder.InsertData( + table: "sys_menu", + columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "VisibleParent", "Weight" }, + values: new object[,] + { + { "19234814-6007-484c-818c-88a664a2a339", "system", "sys_role_mgr_grant_data", null, null, null, null, null, 0ul, null, "角色授权数据", 0, "sysRole:grantData", "ee63be7b-5d06-4c15-81f3-875e2eb164dd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", "system", "auth_manager", "PageView", null, null, null, "safety-certificate", 0ul, null, "权限管理", 0, null, "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", null, null, "/auth", 100, 0, 0, null, null, null, 1ul, 0ul, 1 }, + { "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", "system", "system_tools", "PageView", null, null, null, "euro", 0ul, null, "开发管理", 0, null, "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", null, null, "/tools", 100, 0, 0, null, null, null, 1ul, 0ul, 1 }, + { "abf3e33d-3d6a-4bbd-8743-179df5a95d48", "system", "system_tools_config", "system/config/index", null, null, null, null, 0ul, null, "系统配置", 1, null, "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", null, null, "/config", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "c14c82bd-632d-4cc9-9236-37aa64b15ecf", "system", "system_tools_config_page", null, null, null, null, null, 0ul, null, "配置查询", 0, "sysConfig:page", "abf3e33d-3d6a-4bbd-8743-179df5a95d48", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "78d31d68-9c9b-4e02-94c9-8a74eea4c1fb", "system", "system_tools_config_list", null, null, null, null, null, 0ul, null, "配置列表", 0, "sysConfig:list", "abf3e33d-3d6a-4bbd-8743-179df5a95d48", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "fc91afb5-2b9e-428b-b5ff-b0ef35dd5336", "system", "system_tools_config_add", null, null, null, null, null, 0ul, null, "配置增加", 0, "sysConfig:add", "abf3e33d-3d6a-4bbd-8743-179df5a95d48", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "1efb72e8-3449-490a-92e0-308b124c338f", "system", "system_tools_config_edit", null, null, null, null, null, 0ul, null, "配置编辑", 0, "sysConfig:edit", "abf3e33d-3d6a-4bbd-8743-179df5a95d48", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "5760230f-e6fc-4c3d-ba38-1c8a5a923eb3", "system", "system_tools_config_delete", null, null, null, null, null, 0ul, null, "配置删除", 0, "sysConfig:delete", "abf3e33d-3d6a-4bbd-8743-179df5a95d48", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "6bfc0c53-5d6c-437c-9757-bc79e664d0f5", "system", "system_tools_config_detail", null, null, null, null, null, 0ul, null, "配置详情", 0, "sysConfig:detail", "abf3e33d-3d6a-4bbd-8743-179df5a95d48", "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "1198a602-a23d-4a06-aa9a-76aaf5f065a7", "system", "sys_role_mgr_edit", null, null, null, null, null, 0ul, null, "角色编辑", 0, "sysRole:edit", "ee63be7b-5d06-4c15-81f3-875e2eb164dd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "6a48beb1-c828-43d6-af3d-3e18ef163070", "system", "sys_role_mgr_add", null, null, null, null, null, 0ul, null, "角色增加", 0, "sysRole:add", "ee63be7b-5d06-4c15-81f3-875e2eb164dd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "19e5c5f6-b598-4c42-8eed-3d46fb11b465", "system", "sys_role_mgr_own_data", null, null, null, null, null, 0ul, null, "角色拥有数据", 0, "sysRole:ownData", "ee63be7b-5d06-4c15-81f3-875e2eb164dd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "ee63be7b-5d06-4c15-81f3-875e2eb164dd", "system", "sys_role_mgr", "system/role/index", null, null, null, null, 0ul, null, "角色管理", 1, null, "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],", null, null, "/role", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "4241f4a0-89ab-4a6a-80bb-2830f855d3be", "system", "sys_role_mgr_page", null, null, null, null, null, 0ul, null, "角色查询", 0, "sysRole:page", "ee63be7b-5d06-4c15-81f3-875e2eb164dd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "dbaa7a6d-234f-4cc9-977f-4544b8bb45b8", "system", "sys_app_mgr_page", null, null, null, null, null, 0ul, null, "应用查询", 0, "sysApp:page", "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "ab7b2b41-b0bc-4b9c-9017-f5c6918e393e", "system", "sys_app_mgr_list", null, null, null, null, null, 0ul, null, "应用列表", 0, "sysApp:list", "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "f4e1d63b-5d92-46eb-82aa-267335a5a3f3", "system", "sys_app_mgr_add", null, null, null, null, null, 0ul, null, "应用增加", 0, "sysApp:add", "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "f33a3791-1c01-4d30-bcc3-d9fdf5246376", "system", "sys_app_mgr_edit", null, null, null, null, null, 0ul, null, "应用编辑", 0, "sysApp:edit", "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "e0a6cf90-0a8b-44e4-a32f-5f43ef996b82", "system", "sys_app_mgr_delete", null, null, null, null, null, 0ul, null, "应用删除", 0, "sysApp:delete", "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "a0abe974-5ae9-440b-9d16-2412eab52d70", "system", "sys_app_mgr_detail", null, null, null, null, null, 0ul, null, "应用详情", 0, "sysApp:detail", "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "babff4e1-dd00-4e6b-909a-3aac76bb52cd", "system", "sys_menu_mgr", "system/menu/index", null, null, null, null, 0ul, null, "菜单管理", 1, null, "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],", null, null, "/menu", 100, 0, 1, null, null, null, 1ul, 0ul, 1 }, + { "f640e243-b439-4109-8aea-c66205ef6b12", "system", "sys_app_mgr_set_as_default", null, null, null, null, null, 0ul, null, "设为默认应用", 0, "sysApp:setAsDefault", "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "758e15e6-75a6-4b72-8f94-5da379e53354", "system", "sys_menu_mgr_add", null, null, null, null, null, 0ul, null, "菜单增加", 0, "sysMenu:add", "babff4e1-dd00-4e6b-909a-3aac76bb52cd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "07139c19-6b39-49f5-9e22-c4dc7e9d947b", "system", "sys_menu_mgr_edit", null, null, null, null, null, 0ul, null, "菜单编辑", 0, "sysMenu:edit", "babff4e1-dd00-4e6b-909a-3aac76bb52cd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "857fb581-78ff-4884-a6fb-8dfb4951fef9", "system", "sys_menu_mgr_delete", null, null, null, null, null, 0ul, null, "菜单删除", 0, "sysMenu:delete", "babff4e1-dd00-4e6b-909a-3aac76bb52cd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "cd43a8ee-9f98-4355-bf81-ba40f388b23f", "system", "sys_menu_mgr_detail", null, null, null, null, null, 0ul, null, "菜单详情", 0, "sysMenu:detail", "babff4e1-dd00-4e6b-909a-3aac76bb52cd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "ec318997-596d-403a-91be-f303b234b02d", "system", "sys_menu_mgr_grant_tree", null, null, null, null, null, 0ul, null, "菜单授权树", 0, "sysMenu:treeForGrant", "babff4e1-dd00-4e6b-909a-3aac76bb52cd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "00831a3b-d080-411f-afb9-9f415334b192", "system", "sys_menu_mgr_change", null, null, null, null, null, 0ul, null, "菜单切换", 0, "sysMenu:change", "babff4e1-dd00-4e6b-909a-3aac76bb52cd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 }, + { "e9982e73-1833-4674-9403-ee3dee2efdf7", "system", "sys_menu_mgr_list", null, null, null, null, null, 0ul, null, "菜单列表", 0, "sysMenu:list", "babff4e1-dd00-4e6b-909a-3aac76bb52cd", "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", null, null, null, 100, 0, 2, null, null, null, 1ul, 0ul, 1 } + }); + + migrationBuilder.InsertData( + table: "sys_org", + columns: new[] { "Id", "AreaCode", "Code", "Contacts", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Name", "Pid", "Pids", "Remark", "Sort", "Status", "Tel", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { "49dc3f25-873d-4998-9767-46978d79d8e6", null, "hxjt_cd_scb", null, null, null, null, 0ul, "市场部", "127c0a5d-43ac-4370-b313-082361885aca", "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[127c0a5d-43ac-4370-b313-082361885aca],", "华夏集团成都分公司市场部", 100, 0, null, null, null, null }, + { "e9f97d63-a585-40ff-bf0c-7406e785f660", null, "hxjt_cd_scb_2b", null, null, null, null, 0ul, "市场部二部", "49dc3f25-873d-4998-9767-46978d79d8e6", "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[127c0a5d-43ac-4370-b313-082361885aca],[49dc3f25-873d-4998-9767-46978d79d8e6],", "华夏集团成都分公司市场部二部", 100, 0, null, null, null, null }, + { "56b7a823-cc62-492b-a91b-0b053ef2683b", null, "hxjt_cd_cwb", null, null, null, null, 0ul, "财务部", "127c0a5d-43ac-4370-b313-082361885aca", "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[127c0a5d-43ac-4370-b313-082361885aca],", "华夏集团成都分公司财务部", 100, 0, null, null, null, null }, + { "07322be0-2015-41f2-859e-132b5e142fca", null, "hxjt_bj_qhb", null, null, null, null, 0ul, "企划部", "8a2271d6-5bda-4544-bdd3-27e53a8b418e", "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[8a2271d6-5bda-4544-bdd3-27e53a8b418e],", "华夏集团北京分公司企划部", 100, 0, null, null, null, null }, + { "8a2271d6-5bda-4544-bdd3-27e53a8b418e", null, "hxjt_bj", null, null, null, null, 0ul, "华夏集团北京分公司", "12d888de-f55d-4c88-b0a0-7c3510664d97", "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],", "华夏集团北京分公司", 100, 0, null, null, null, null }, + { "127c0a5d-43ac-4370-b313-082361885aca", null, "hxjt_cd", null, null, null, null, 0ul, "华夏集团成都分公司", "12d888de-f55d-4c88-b0a0-7c3510664d97", "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],", "华夏集团成都分公司", 100, 0, null, null, null, null }, + { "12d888de-f55d-4c88-b0a0-7c3510664d97", null, "hxjt", null, null, null, null, 0ul, "华夏集团", "00000000-0000-0000-0000-000000000000", "[00000000-0000-0000-0000-000000000000],", "华夏集团", 100, 0, null, null, null, null }, + { "f236ab2d-e1b5-4e9d-844f-a59ec32c20e4", null, "hxjt_bj_yfb", null, null, null, null, 0ul, "研发部", "8a2271d6-5bda-4544-bdd3-27e53a8b418e", "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[8a2271d6-5bda-4544-bdd3-27e53a8b418e],", "华夏集团北京分公司研发部", 100, 0, null, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_pos", + columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Name", "Remark", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { "269236c4-d74e-4e54-9d50-f6f61580a197", "zjl", null, null, null, 0ul, "总经理", "总经理", 100, 0, null, null, null }, + { "46c68a62-f119-4ff7-b621-0bbd77504538", "fzjl", null, null, null, 0ul, "副总经理", "副总经理", 101, 0, null, null, null }, + { "5bd8c466-2bca-4386-a551-daac78e3cee8", "bmjl", null, null, null, 0ul, "部门经理", "部门经理", 102, 0, null, null, null }, + { "d89a3afe-e6ba-4018-bdae-3c98bb47ad66", "gzry", null, null, null, 0ul, "工作人员", "工作人员", 103, 0, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_role", + columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "DataScopeType", "IsDeleted", "Name", "Remark", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { "6dfe9189-ce10-434e-a7a7-5cdc46e85047", "sys_manager_role", null, null, null, 1, 0ul, "系统管理员", "系统管理员", 100, 0, null, null, null }, + { "cd187ebd-ab3d-4768-9669-85e2219c2910", "common_role", null, null, null, 5, 0ul, "普通用户", "普通用户", 101, 0, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_tenant", + columns: new[] { "Id", "Connection", "CreatedTime", "CreatedUserId", "CreatedUserName", "Email", "Host", "IsDeleted", "Name", "Phone", "Remark", "Schema", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { "506a14b7-882d-4548-96fa-a55dbe79bfa1", "Data Source=./Ewide.db", new DateTime(2021, 4, 3, 0, 0, 0, 0, DateTimeKind.Unspecified), null, null, "zuohuaijun@163.com", "localhost:5566", 0ul, "默认租户", "18020030720", null, null, null, null, null }, + { "eed8c4a6-70d8-49fd-9566-21a6966bb702", "Data Source=./Dilon_1.db", new DateTime(2021, 4, 3, 0, 0, 0, 0, DateTimeKind.Unspecified), null, null, null, "localhost:5588", 0ul, "其他租户", null, null, null, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_timer", + columns: new[] { "Id", "BeginTime", "CreatedTime", "CreatedUserId", "CreatedUserName", "Cron", "EndTime", "Headers", "Interval", "IsDeleted", "JobGroup", "JobName", "Remark", "RequestParameters", "RequestType", "RequestUrl", "RunNumber", "TriggerType", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[] { "971bc338-0c03-46d4-8113-c7738d54ea18", new DateTime(2021, 3, 21, 0, 0, 0, 0, DateTimeKind.Local), null, null, null, null, null, null, 30, 0ul, "默认分组", "百度api", null, null, 2, "https://www.baidu.com", null, 1, null, null, null }); + + migrationBuilder.InsertData( + table: "sys_user", + columns: new[] { "Id", "Account", "AdminType", "Avatar", "Birthday", "CreatedTime", "CreatedUserId", "CreatedUserName", "Email", "IsDeleted", "LastLoginIp", "LastLoginTime", "Name", "NickName", "Password", "Phone", "SecurityLevel", "Sex", "Status", "Tel", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { "5398fb9a-2209-4ce7-a2c1-b6a983e502b5", "admin", 1, null, new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), null, null, null, null, 0ul, null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "admin", null, "e10adc3949ba59abbe56e057f20f883e", "18020030720", 1, 2, 0, null, null, null, null }, + { "d0ead3dc-5096-4e15-bc6d-f640be5301ec", "superAdmin", 1, null, new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), null, null, null, null, 0ul, null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "superAdmin", null, "e10adc3949ba59abbe56e057f20f883e", "18020030720", 1, 1, 0, null, null, null, null }, + { "16a74726-e156-499f-9942-0e0e24ad0c3f", "zuohuaijun", 2, null, new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), null, null, null, null, 0ul, null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "zuohuaijun", null, "e10adc3949ba59abbe56e057f20f883e", "18020030720", 1, 1, 0, null, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_dict_data", + columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Remark", "Sort", "Status", "TypeId", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Value" }, + values: new object[,] + { + { "e3c9ebce-bdae-45a3-92b1-fc2e35a23242", "0", null, null, null, 0ul, "正常", 100, 0, "b0cfa91c-1189-4f39-bc5a-f035885d0604", null, null, null, "正常" }, + { "443f965e-96b4-4fd2-93e9-07fe00a47205", "input", null, null, null, 0ul, "输入框", 100, 0, "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", null, null, null, "输入框" }, + { "0e4dc1f1-8654-401b-800a-22b31f62ced1", "4", null, null, null, 0ul, "DELETE", 100, 0, "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", null, null, null, "DELETE" }, + { "69a34c0b-85ce-4e53-9ad4-a592057dddd4", "3", null, null, null, 0ul, "PUT", 100, 0, "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", null, null, null, "PUT" }, + { "10070836-0c89-4b89-96e3-c65c7e33a86c", "2", null, null, null, 0ul, "POST", 100, 0, "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", null, null, null, "POST" }, + { "b2a00b40-23e1-40e1-8995-60ab420eafe1", "1", null, null, null, 0ul, "GET", 100, 0, "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", null, null, null, "GET" }, + { "5bc8662d-b795-48f1-a88e-2f4be5279d37", "2", null, null, null, 0ul, "生成到本项目", 100, 0, "430d0538-054a-4b37-a459-1095d0ccf4ae", null, null, null, "生成到本项目" }, + { "881ebcf2-94a6-4938-81a4-55b81736f3b3", "1", null, null, null, 0ul, "下载压缩包", 100, 0, "430d0538-054a-4b37-a459-1095d0ccf4ae", null, null, null, "下载压缩包" }, + { "0724636d-e870-46c6-8e1e-67f1ea5f58e5", "false", null, null, null, 0ul, "否", 100, 0, "80aea9e7-ad1b-4f57-b4db-9d15813707bd", null, null, null, "否" }, + { "1f432e9d-f031-4787-a527-f37bb20ebe3a", "true", null, null, null, 0ul, "是", 100, 0, "80aea9e7-ad1b-4f57-b4db-9d15813707bd", null, null, null, "是" }, + { "bf7be9a2-53fb-4250-87fe-49d7f741d159", "datepicker", null, null, null, 0ul, "时间选择", 100, 0, "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", null, null, null, "时间选择" }, + { "6385916f-6ead-470e-889b-cfb9d2da6256", "3", null, null, null, 0ul, "删除", 100, 0, "b30937e6-03cd-4d98-a413-10b06d605e5a", null, null, null, "删除" }, + { "f5b49fa9-31a1-44c2-9df0-b28bf5daeee0", "1", null, null, null, 0ul, "发布", 100, 0, "b30937e6-03cd-4d98-a413-10b06d605e5a", null, null, null, "发布" }, + { "40d336cd-918a-4e90-8836-cba7c1bf6cdf", "0", null, null, null, 0ul, "草稿", 100, 0, "b30937e6-03cd-4d98-a413-10b06d605e5a", null, null, null, "草稿" }, + { "2616e6c2-a504-4fc6-993e-72701b48e79a", "2", null, null, null, 0ul, "公告", 100, 0, "d5b311fd-4b60-4b51-9156-b0e6d6cfa4d1", null, null, null, "公告" }, + { "99b965d3-1f2b-4f5b-a62a-6763b8d64a64", "1", null, null, null, 0ul, "通知", 100, 0, "d5b311fd-4b60-4b51-9156-b0e6d6cfa4d1", null, null, null, "通知" }, + { "6e3591ec-2902-4bf3-b5a2-7ebc94ebc08f", "2", null, null, null, 0ul, "停止", 100, 0, "0f1b8660-d932-4a53-a681-a38bebae91e0", null, null, null, "停止" }, + { "76e885e8-1b40-45b6-bb0f-5519c6839df2", "1", null, null, null, 0ul, "运行", 100, 0, "0f1b8660-d932-4a53-a681-a38bebae91e0", null, null, null, "运行" }, + { "cdc4a9ee-7436-4807-87cd-4350a72745b0", "4", null, null, null, 0ul, "本地", 100, 0, "b924e0c1-3f23-4e37-9f27-90e945381304", null, null, null, "本地" }, + { "cc64be62-3213-4442-a98a-c508bc35104b", "3", null, null, null, 0ul, "minio", 100, 0, "b924e0c1-3f23-4e37-9f27-90e945381304", null, null, null, "minio" }, + { "f86e19a0-8ba8-4588-91f6-be2af525f490", "1", null, null, null, 0ul, "阿里云", 100, 0, "b924e0c1-3f23-4e37-9f27-90e945381304", null, null, null, "阿里云" }, + { "d2f73bb4-05a1-4aa5-9273-e9f3c393996d", "2", null, null, null, 0ul, "撤回", 100, 0, "b30937e6-03cd-4d98-a413-10b06d605e5a", null, null, null, "撤回" }, + { "cea10919-47e2-43ab-a19b-9d41fe648310", "select", null, null, null, 0ul, "下拉框", 100, 0, "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", null, null, null, "下拉框" }, + { "7d534f44-cf66-472e-b0d3-20a4cc2ad432", "radio", null, null, null, 0ul, "单选框", 100, 0, "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", null, null, null, "单选框" }, + { "d63b06d4-be11-4ab7-9905-87f6f2ca056f", "switch", null, null, null, 0ul, "开关", 100, 0, "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", null, null, null, "开关" }, + { "c597306f-5fd0-4f75-9a46-12de340cd199", "DateTimeOffset", null, null, null, 0ul, "DateTimeOffset", 100, 0, "28f653d4-e573-4f54-8e5c-4e308780145a", null, null, null, "DateTimeOffset" }, + { "134d4173-8d93-4c19-bf6b-a640d35da097", "Guid", null, null, null, 0ul, "Guid", 100, 0, "28f653d4-e573-4f54-8e5c-4e308780145a", null, null, null, "Guid" }, + { "4b68cb83-f173-4864-bd10-a7a7d5248102", "decimal", null, null, null, 0ul, "decimal", 100, 0, "28f653d4-e573-4f54-8e5c-4e308780145a", null, null, null, "decimal" }, + { "a30c682e-744a-468d-a74f-827928c96c01", "float", null, null, null, 0ul, "float", 100, 0, "28f653d4-e573-4f54-8e5c-4e308780145a", null, null, null, "float" }, + { "259698cf-b25d-427a-8d22-33b9c1899eea", "DateTime", null, null, null, 0ul, "DateTime", 100, 0, "28f653d4-e573-4f54-8e5c-4e308780145a", null, null, null, "DateTime" }, + { "681c02ea-7570-4a97-85a7-957a77314df6", "double", null, null, null, 0ul, "double", 100, 0, "28f653d4-e573-4f54-8e5c-4e308780145a", null, null, null, "double" }, + { "496eef62-3849-4263-b274-a3e6090942e3", "bool", null, null, null, 0ul, "bool", 100, 0, "28f653d4-e573-4f54-8e5c-4e308780145a", null, null, null, "bool" }, + { "25be90ea-b439-4e9d-993c-48a5ce3b9358", "string", null, null, null, 0ul, "string", 100, 0, "28f653d4-e573-4f54-8e5c-4e308780145a", null, null, null, "string" }, + { "cffdd4b5-d4e0-4196-81b9-02045de8b189", "long", null, null, null, 0ul, "long", 100, 0, "28f653d4-e573-4f54-8e5c-4e308780145a", null, null, null, "long" }, + { "a5cdf75e-6361-490d-a043-f5929ccf65a9", "int", null, null, null, 0ul, "int", 100, 0, "28f653d4-e573-4f54-8e5c-4e308780145a", null, null, null, "int" }, + { "759ea7de-a18f-4ed7-9032-bbd1a4dadc9e", "isNotNull", null, null, null, 0ul, "不为空", 8, 0, "41bc31f6-cef5-400d-b03a-bf51d27b2432", null, null, null, "不为空" }, + { "7c9e8270-db5a-45b7-acd7-f95c8ee31547", "<=", null, null, null, 0ul, "小于等于", 7, 0, "41bc31f6-cef5-400d-b03a-bf51d27b2432", null, null, null, "小于等于" }, + { "4825f15d-077b-4c16-8ee7-0205d653e14d", ">=", null, null, null, 0ul, "大于等于", 6, 0, "41bc31f6-cef5-400d-b03a-bf51d27b2432", null, null, null, "大于等于" }, + { "218b5bac-343e-4594-a9da-30e391c7735c", "!=", null, null, null, 0ul, "不等于", 5, 0, "41bc31f6-cef5-400d-b03a-bf51d27b2432", null, null, null, "不等于" }, + { "a6812d98-7785-4db2-b2f8-d476a459c5ed", "<", null, null, null, 0ul, "小于", 4, 0, "41bc31f6-cef5-400d-b03a-bf51d27b2432", null, null, null, "小于" }, + { "efc18513-c17b-4fc1-8e0e-2e79fb9b0107", ">", null, null, null, 0ul, "大于", 3, 0, "41bc31f6-cef5-400d-b03a-bf51d27b2432", null, null, null, "大于" }, + { "2c8e1240-f3ef-4df1-bd68-3047109ad5b4", "like", null, null, null, 0ul, "模糊", 2, 0, "41bc31f6-cef5-400d-b03a-bf51d27b2432", null, null, null, "模糊" }, + { "ad759239-e34e-4fdf-a0d0-6b39eb41f880", "==", null, null, null, 0ul, "等于", 1, 0, "41bc31f6-cef5-400d-b03a-bf51d27b2432", null, null, null, "等于" }, + { "d00b3efa-2f9d-464c-8134-aa7013ef52bb", "textarea", null, null, null, 0ul, "文本域", 100, 0, "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", null, null, null, "文本域" }, + { "a8ac5009-93d3-4405-a6b9-81ed3e2811f2", "inputnumber", null, null, null, 0ul, "数字输入框", 100, 0, "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", null, null, null, "数字输入框" }, + { "46967f62-bac9-47fd-9278-b29c047b0c38", "checkbox", null, null, null, 0ul, "多选框", 100, 0, "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", null, null, null, "多选框" }, + { "b6f55ff4-6b6a-452a-b372-32ac2f1f2b30", "13", null, null, null, 0ul, "修改状态", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "修改状态" }, + { "beb773cd-a22a-44e2-ac4b-5ab6f21aa3c4", "12", null, null, null, 0ul, "清空", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "清空" }, + { "91c522b5-4f6f-48a5-ba79-962d56821bdc", "2", null, null, null, 0ul, "腾讯云", 100, 0, "b924e0c1-3f23-4e37-9f27-90e945381304", null, null, null, "腾讯云" }, + { "e02d9274-aa68-4e2c-9211-b226f1e6423e", "10", null, null, null, 0ul, "授权", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "授权" }, + { "e1e71562-015e-466b-b98b-29f4b8966bce", "2", null, null, null, 0ul, "发送失败", 100, 0, "058db370-3718-42c3-8ba7-095341b1fe13", null, null, null, "发送失败" }, + { "023244cd-eb32-4a19-bb3c-97301be1e769", "11", null, null, null, 0ul, "强退", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "强退" }, + { "7ec98dee-8dc9-47fe-9276-f3312ed5dd24", "0", null, null, null, 0ul, "未发送", 100, 0, "058db370-3718-42c3-8ba7-095341b1fe13", null, null, null, "未发送" }, + { "a4cba529-769a-4309-add6-b15b25ebf05a", "2", null, null, null, 0ul, "按钮", 100, 0, "e973d383-c28e-42e0-9e23-5f2bd592fef5", null, null, null, "按钮" }, + { "bb082602-57ea-4941-b68b-64460e7f63b6", "1", null, null, null, 0ul, "菜单", 100, 0, "e973d383-c28e-42e0-9e23-5f2bd592fef5", null, null, null, "菜单" }, + { "a8cd8263-4397-4d68-91db-d92330c67632", "0", null, null, null, 0ul, "目录", 100, 0, "e973d383-c28e-42e0-9e23-5f2bd592fef5", null, null, null, "目录" }, + { "934099f4-c1a6-4f63-8cff-a42356369dd9", "2", null, null, null, 0ul, "登出", 100, 0, "2cecf329-cf95-44eb-a8d7-3fb77b13e093", null, null, null, "登出" }, + { "8204daac-b2ea-41f6-ab52-ef299a05fd94", "1", null, null, null, 0ul, "登录", 100, 0, "2cecf329-cf95-44eb-a8d7-3fb77b13e093", null, null, null, "登录" }, + { "7d3115a8-938a-4d09-a2c9-21ad65b8b65a", "Y", null, null, null, 0ul, "是", 100, 0, "f2f0e8bf-04da-4a2f-9fb8-1d6549227302", null, null, null, "是" }, + { "1159fc34-ef51-4e0f-b55b-0220d2445a1e", "N", null, null, null, 0ul, "否", 100, 0, "f2f0e8bf-04da-4a2f-9fb8-1d6549227302", null, null, null, "否" }, + { "fdf38fa8-3d1e-4a43-84bc-785c0a394160", "OAUTH", null, null, null, 0ul, "Oauth配置", 100, 0, "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", null, null, null, "Oauth配置" }, + { "81d87a9c-a4ee-46dc-be69-71dcccb14d9d", "FILE_PATH", null, null, null, 0ul, "文件上传路径", 100, 0, "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", null, null, null, "文件上传路径" }, + { "9cba05e7-495a-43fb-b86b-fa459da5b04d", "EMAIL", null, null, null, 0ul, "邮件配置", 100, 0, "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", null, null, null, "邮件配置" }, + { "5e61f455-1975-438b-bd17-85a1f89abe84", "TENCENT_SMS", null, null, null, 0ul, "腾讯云短信", 100, 0, "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", null, null, null, "腾讯云短信" }, + { "e2271e0a-17a3-41f3-81fa-dbe895ce0466", "ALIYUN_SMS", null, null, null, 0ul, "阿里云短信配置", 100, 0, "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", null, null, null, "阿里云短信" }, + { "b6ad194b-ccfb-4ee7-b402-7b78e8bb8680", "DEFAULT", null, null, null, 0ul, "默认常量,都以XIAONUO_开头的", 100, 0, "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", null, null, null, "默认常量" }, + { "150e04a6-3bf5-4604-98d5-14fbd1608bc5", "3", null, null, null, 0ul, "未知性别", 100, 0, "301ed120-dfc5-4d7c-af59-b56a519581c9", null, null, null, "未知" }, + { "46ba4c21-cbde-4561-8e57-19ed0f752c17", "2", null, null, null, 0ul, "女性", 100, 0, "301ed120-dfc5-4d7c-af59-b56a519581c9", null, null, null, "女" }, + { "9b44b297-f6f0-4c31-b680-83baabf4c5b7", "1", null, null, null, 0ul, "男性", 100, 0, "301ed120-dfc5-4d7c-af59-b56a519581c9", null, null, null, "男" }, + { "297030a2-88d9-4646-b7c1-a17c9a8c0b98", "2", null, null, null, 0ul, "删除", 100, 0, "b0cfa91c-1189-4f39-bc5a-f035885d0604", null, null, null, "删除" }, + { "22492650-a92b-43f0-9954-3d3891ec6e45", "1", null, null, null, 0ul, "停用", 100, 0, "b0cfa91c-1189-4f39-bc5a-f035885d0604", null, null, null, "停用" }, + { "13e71f10-539b-4016-9acf-e3541c0f04db", "3", null, null, null, 0ul, "失效", 100, 0, "058db370-3718-42c3-8ba7-095341b1fe13", null, null, null, "失效" }, + { "f965b257-b2ff-4a18-9084-6e805547e9e6", "0", null, null, null, 0ul, "无", 100, 0, "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", null, null, null, "无" }, + { "83cf4407-dbe1-4da2-883d-a3e16a780f37", "1", null, null, null, 0ul, "发送成功", 100, 0, "058db370-3718-42c3-8ba7-095341b1fe13", null, null, null, "发送成功" }, + { "be3197fd-2fba-4e79-b252-793f05e51a21", "2", null, null, null, 0ul, "内链", 100, 0, "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", null, null, null, "内链" }, + { "db13458a-22b4-4f5e-b6f9-c3c9e1400909", "9", null, null, null, 0ul, "导出", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "导出" }, + { "2b9cf0b8-74ba-4b36-8504-275a2387729a", "8", null, null, null, 0ul, "导入", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "导入" }, + { "bf8f818f-060b-4815-8fe9-11bb356cb2e6", "7", null, null, null, 0ul, "树", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "树" }, + { "fe6e46ee-208b-446f-8aaa-05bd5eaa459b", "6", null, null, null, 0ul, "详情", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "详情" }, + { "d1334517-ddfa-47f3-b053-88ea999babc7", "5", null, null, null, 0ul, "查询", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "查询" }, + { "9edba767-7008-4623-8dbf-75417f1a0c82", "4", null, null, null, 0ul, "更新", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "更新" }, + { "75c40b12-07d1-4828-9b6c-132f4bca194c", "1", null, null, null, 0ul, "组件", 100, 0, "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", null, null, null, "组件" }, + { "387d403c-6af3-4bda-af05-d60472823480", "2", null, null, null, 0ul, "删除", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "删除" }, + { "e7585292-d6c6-475f-bf87-8ad473ce6be4", "1", null, null, null, 0ul, "增加", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "增加" }, + { "35aac71b-9939-4b2e-8533-d087618c1dca", "0", null, null, null, 0ul, "其它", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "其它" }, + { "4656bf7b-df6a-4c71-b963-18d8af3f93a7", "3", null, null, null, 0ul, "编辑", 100, 0, "8461bd1d-311b-487e-b579-d6049c6fb191", null, null, null, "编辑" }, + { "b1e821b3-4e7b-4e60-a67f-a40d327ab6d6", "2", null, null, null, 0ul, "pc", 100, 0, "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", null, null, null, "pc" }, + { "2a10adc6-b286-4fad-9719-7e7321c7a93e", "3", null, null, null, 0ul, "外链", 100, 0, "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", null, null, null, "外链" }, + { "2bce5da0-b386-4412-935d-d081b7cf4391", "3", null, null, null, 0ul, "其他", 100, 0, "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", null, null, null, "其他" }, + { "f4771570-e4a5-416f-b82f-1e3082c35ee8", "2", null, null, null, 0ul, "业务权重", 100, 0, "b3235678-f7fe-442b-8fba-e792a89b78f2", null, null, null, "业务权重" }, + { "a2d6bdfe-ee61-4425-94c9-7ece3de080fa", "1", null, null, null, 0ul, "全部数据", 100, 0, "a2068ed1-62a6-463c-b720-06111d994079", null, null, null, "全部数据" }, + { "d3984ed0-29d5-416e-87c6-75364010677b", "1", null, null, null, 0ul, "系统权重", 100, 0, "b3235678-f7fe-442b-8fba-e792a89b78f2", null, null, null, "系统权重" }, + { "375362c8-d694-40d9-8c55-07669e472460", "3", null, null, null, 0ul, "本部门数据", 100, 0, "a2068ed1-62a6-463c-b720-06111d994079", null, null, null, "本部门数据" }, + { "70afe4c1-3495-483a-bdd0-3d4ea45136b3", "4", null, null, null, 0ul, "仅本人数据", 100, 0, "a2068ed1-62a6-463c-b720-06111d994079", null, null, null, "仅本人数据" }, + { "6f395e69-8add-40ae-a378-0881d64a4413", "5", null, null, null, 0ul, "自定义数据", 100, 0, "a2068ed1-62a6-463c-b720-06111d994079", null, null, null, "自定义数据" }, + { "a819d549-6107-43a2-99d2-377cf0a5681a", "1", null, null, null, 0ul, "app", 100, 0, "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", null, null, null, "app" }, + { "d0b25877-165e-41b8-9034-7a8fea7e5776", "2", null, null, null, 0ul, "本部门及以下数据", 100, 0, "a2068ed1-62a6-463c-b720-06111d994079", null, null, null, "本部门及以下数据" } + }); + + migrationBuilder.InsertData( + table: "sys_emp_ext_org_pos", + columns: new[] { "SysEmpId", "SysOrgId", "SysPosId" }, + values: new object[,] + { + { "d0ead3dc-5096-4e15-bc6d-f640be5301ec", "12d888de-f55d-4c88-b0a0-7c3510664d97", "269236c4-d74e-4e54-9d50-f6f61580a197" }, + { "16a74726-e156-499f-9942-0e0e24ad0c3f", "f236ab2d-e1b5-4e9d-844f-a59ec32c20e4", "269236c4-d74e-4e54-9d50-f6f61580a197" }, + { "d0ead3dc-5096-4e15-bc6d-f640be5301ec", "8a2271d6-5bda-4544-bdd3-27e53a8b418e", "46c68a62-f119-4ff7-b621-0bbd77504538" }, + { "d0ead3dc-5096-4e15-bc6d-f640be5301ec", "127c0a5d-43ac-4370-b313-082361885aca", "5bd8c466-2bca-4386-a551-daac78e3cee8" }, + { "d0ead3dc-5096-4e15-bc6d-f640be5301ec", "f236ab2d-e1b5-4e9d-844f-a59ec32c20e4", "d89a3afe-e6ba-4018-bdae-3c98bb47ad66" } + }); + + migrationBuilder.InsertData( + table: "sys_emp_pos", + columns: new[] { "SysEmpId", "SysPosId" }, + values: new object[,] + { + { "5398fb9a-2209-4ce7-a2c1-b6a983e502b5", "5bd8c466-2bca-4386-a551-daac78e3cee8" }, + { "d0ead3dc-5096-4e15-bc6d-f640be5301ec", "269236c4-d74e-4e54-9d50-f6f61580a197" }, + { "16a74726-e156-499f-9942-0e0e24ad0c3f", "269236c4-d74e-4e54-9d50-f6f61580a197" }, + { "d0ead3dc-5096-4e15-bc6d-f640be5301ec", "46c68a62-f119-4ff7-b621-0bbd77504538" } + }); + + migrationBuilder.CreateIndex( + name: "IX_sys_dict_data_TypeId", + table: "sys_dict_data", + column: "TypeId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_emp_ext_org_pos_SysOrgId", + table: "sys_emp_ext_org_pos", + column: "SysOrgId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_emp_ext_org_pos_SysPosId", + table: "sys_emp_ext_org_pos", + column: "SysPosId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_emp_pos_SysPosId", + table: "sys_emp_pos", + column: "SysPosId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_org_AreaCode", + table: "sys_org", + column: "AreaCode"); + + migrationBuilder.CreateIndex( + name: "IX_sys_role_area_AreaCode", + table: "sys_role_area", + column: "AreaCode"); + + migrationBuilder.CreateIndex( + name: "IX_sys_role_data_scope_SysOrgId", + table: "sys_role_data_scope", + column: "SysOrgId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_role_menu_SysMenuId", + table: "sys_role_menu", + column: "SysMenuId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_user_area_AreaCode", + table: "sys_user_area", + column: "AreaCode"); + + migrationBuilder.CreateIndex( + name: "IX_sys_user_data_scope_SysOrgId", + table: "sys_user_data_scope", + column: "SysOrgId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_user_role_SysRoleId", + table: "sys_user_role", + column: "SysRoleId"); + } + + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "bs_house_projectinfo"); + + migrationBuilder.DropTable( + name: "sys_app"); + + migrationBuilder.DropTable( + name: "sys_code_gen"); + + migrationBuilder.DropTable( + name: "sys_code_gen_config"); + + migrationBuilder.DropTable( + name: "sys_config"); + + migrationBuilder.DropTable( + name: "sys_dict_data"); + + migrationBuilder.DropTable( + name: "sys_emp_ext_org_pos"); + + migrationBuilder.DropTable( + name: "sys_emp_pos"); + + migrationBuilder.DropTable( + name: "sys_file"); + + migrationBuilder.DropTable( + name: "sys_log_audit"); + + migrationBuilder.DropTable( + name: "sys_log_op"); + + migrationBuilder.DropTable( + name: "sys_log_vis"); + + migrationBuilder.DropTable( + name: "sys_notice"); + + migrationBuilder.DropTable( + name: "sys_notice_user"); + + migrationBuilder.DropTable( + name: "sys_oauth_user"); + + migrationBuilder.DropTable( + name: "sys_role_area"); + + migrationBuilder.DropTable( + name: "sys_role_data_scope"); + + migrationBuilder.DropTable( + name: "sys_role_menu"); + + migrationBuilder.DropTable( + name: "sys_tenant"); + + migrationBuilder.DropTable( + name: "sys_timer"); + + migrationBuilder.DropTable( + name: "sys_user_area"); + + migrationBuilder.DropTable( + name: "sys_user_data_scope"); + + migrationBuilder.DropTable( + name: "sys_user_role"); + + migrationBuilder.DropTable( + name: "sys_dict_type"); + + migrationBuilder.DropTable( + name: "sys_emp"); + + migrationBuilder.DropTable( + name: "sys_pos"); + + migrationBuilder.DropTable( + name: "sys_menu"); + + migrationBuilder.DropTable( + name: "sys_org"); + + migrationBuilder.DropTable( + name: "sys_role"); + + migrationBuilder.DropTable( + name: "sys_user"); + + migrationBuilder.DropTable( + name: "sys_area_code"); + } + } +} diff --git a/Api/Ewide.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs b/Api/Ewide.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs new file mode 100644 index 0000000..8d9f78a --- /dev/null +++ b/Api/Ewide.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs @@ -0,0 +1,7050 @@ +// +using System; +using Ewide.EntityFramework.Core; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; + +namespace Ewide.Database.Migrations.Migrations +{ + [DbContext(typeof(DefaultDbContext))] + partial class DefaultDbContextModelSnapshot : ModelSnapshot + { + protected override void BuildModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("Relational:MaxIdentifierLength", 64) + .HasAnnotation("ProductVersion", "5.0.5"); + + modelBuilder.Entity("Ewide.Application.Entity.BsHouseProjectInfo", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("AreaId") + .IsRequired() + .HasMaxLength(36) + .HasColumnType("varchar(36) CHARACTER SET utf8mb4") + .HasComment("区域ID"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("varchar(100) CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Note") + .HasMaxLength(1000) + .HasColumnType("varchar(1000) CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Type") + .HasColumnType("int") + .HasComment("类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("bs_house_projectinfo"); + + b + .HasComment("项目表"); + }); + + modelBuilder.Entity("Ewide.Core.SysApp", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Active") + .HasColumnType("bit") + .HasColumnName("Active") + .HasComment("是否默认激活"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Color") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标颜色"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Icon") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_app"); + + b + .HasComment("系统应用表"); + + b.HasData( + new + { + Id = "8b2aeb5e-09a6-4afd-bcae-8ee8e5a1e6ec", + Active = 0ul, + Code = "busapp", + IsDeleted = 0ul, + Name = "业务应用", + Sort = 100, + Status = 0 + }, + new + { + Id = "d781b8f1-0d08-48c8-b7a5-ed75ddfa676c", + Active = 1ul, + Code = "system", + IsDeleted = 0ul, + Name = "系统管理", + Sort = 100, + Status = 0 + }, + new + { + Id = "850ab86f-cd6a-4d49-b920-77dfa5d78813", + Active = 0ul, + Code = "system_tool", + IsDeleted = 0ul, + Name = "系统工具", + Sort = 100, + Status = 0 + }, + new + { + Id = "05a32be5-82e8-423f-affa-e17232a63ee1", + Active = 0ul, + Code = "advanced", + IsDeleted = 0ul, + Name = "高级功能", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysAreaCode", b => + { + b.Property("Code") + .HasMaxLength(50) + .HasColumnType("varchar(50) CHARACTER SET utf8mb4") + .HasComment("系统使用的区域编码"); + + b.Property("AdCode") + .HasMaxLength(50) + .HasColumnType("varchar(50) CHARACTER SET utf8mb4") + .HasComment("区域的行政编码"); + + b.Property("LevelType") + .HasColumnType("int") + .HasComment("类别"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("varchar(100) CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Note") + .HasMaxLength(1000) + .HasColumnType("varchar(1000) CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.HasKey("Code"); + + b.ToTable("sys_area_code"); + + b + .HasComment("区域表"); + + b.HasData( + new + { + Code = "3302", + AdCode = "3302", + LevelType = 1, + Name = "XX市", + Note = "XX市", + Sort = 0 + }, + new + { + Code = "330266", + AdCode = "330266", + LevelType = 2, + Name = "测试区", + Note = "测试区", + Sort = 100 + }, + new + { + Code = "330266001", + AdCode = "330266001", + LevelType = 3, + Name = "测试街道", + Note = "测试街道", + Sort = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysCodeGen", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("AuthorName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("作者姓名"); + + b.Property("BusName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("业务名"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("GenerateType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("生成方式"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("NameSpace") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("命名空间"); + + b.Property("TableName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库表名"); + + b.Property("TablePrefix") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否移除表前缀"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_code_gen"); + + b + .HasComment("代码生成表"); + }); + + modelBuilder.Entity("Ewide.Core.SysCodeGenConfig", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("CodeGenId") + .HasColumnType("varchar(36)") + .HasColumnName("CodeGenId") + .HasComment("代码生成主表ID"); + + b.Property("ColumnComment") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("字段描述"); + + b.Property("ColumnKey") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("主外键"); + + b.Property("ColumnName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库字段名"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("DataType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库中类型"); + + b.Property("DictTypeCode") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("字典Code"); + + b.Property("EffectType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("作用类型"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("NetType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment(".NET数据类型"); + + b.Property("QueryType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("查询方式"); + + b.Property("QueryWhether") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否是查询条件"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("WhetherAddUpdate") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("增改"); + + b.Property("WhetherCommon") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否通用字段"); + + b.Property("WhetherRequired") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否必填"); + + b.Property("WhetherRetract") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列表是否缩进"); + + b.Property("WhetherTable") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列表显示"); + + b.HasKey("Id"); + + b.ToTable("sys_code_gen_config"); + + b + .HasComment("代码生成字段配置表"); + }); + + modelBuilder.Entity("Ewide.Core.SysConfig", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("GroupCode") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("常量所属分类的编码"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("SysFlag") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否是系统参数"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Value") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("属性值"); + + b.HasKey("Id"); + + b.ToTable("sys_config"); + + b + .HasComment("参数配置表"); + + b.HasData( + new + { + Id = "7c2765cd-d39b-4772-8d6c-0dbcdcfa1ff8", + Code = "DILON_JWT_SECRET", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "jwt密钥", + Remark = "(重要)jwt密钥,默认为空,自行设置", + Status = 0, + SysFlag = "Y", + Value = "xiaonuo" + }, + new + { + Id = "e3553657-14cf-4c26-ba7b-dbb4bfd4bc55", + Code = "DILON_DEFAULT_PASSWORD", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "默认密码", + Remark = "默认密码", + Status = 0, + SysFlag = "Y", + Value = "123456" + }, + new + { + Id = "2c677cd2-2a54-46c6-971d-f9fe20f101f3", + Code = "DILON_TOKEN_EXPIRE", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "token过期时间", + Remark = "token过期时间(单位:秒)", + Status = 0, + SysFlag = "Y", + Value = "86400" + }, + new + { + Id = "8938506d-2e00-44e0-8592-48453d43f9f5", + Code = "DILON_SESSION_EXPIRE", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "session会话过期时间", + Remark = "session会话过期时间(单位:秒)", + Status = 0, + SysFlag = "Y", + Value = "7200" + }, + new + { + Id = "beb2e9e7-f4d9-43b1-bfab-3557ea232f8d", + Code = "DILON_ALIYUN_SMS_ACCESSKEY_ID", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信keyId", + Remark = "阿里云短信keyId", + Status = 0, + SysFlag = "Y", + Value = "你的keyId" + }, + new + { + Id = "ead14cd0-9fd4-4fd6-b75c-239d8b2ebed8", + Code = "DILON_ALIYUN_SMS_ACCESSKEY_SECRET", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信secret", + Remark = "阿里云短信secret", + Status = 0, + SysFlag = "Y", + Value = "你的secret" + }, + new + { + Id = "beaaafc2-3fdf-42af-9b06-ead3a6dd6306", + Code = "DILON_ALIYUN_SMS_SIGN_NAME", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信签名", + Remark = "阿里云短信签名", + Status = 0, + SysFlag = "Y", + Value = "你的签名" + }, + new + { + Id = "e26a10cf-911a-4fe0-a113-76965be749a0", + Code = "DILON_ALIYUN_SMS_LOGIN_TEMPLATE_CODE", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信-登录模板号", + Remark = "阿里云短信-登录模板号", + Status = 0, + SysFlag = "Y", + Value = "SMS_1877123456" + }, + new + { + Id = "24d3f286-efca-49af-91b4-e3ce42cce36e", + Code = "DILON_ALIYUN_SMS_INVALIDATE_MINUTES", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信默认失效时间", + Remark = "阿里云短信默认失效时间(单位:分钟)", + Status = 0, + SysFlag = "Y", + Value = "5" + }, + new + { + Id = "c6540a07-ce32-47b4-ab83-b647bdb14491", + Code = "DILON_TENCENT_SMS_SECRET_ID", + GroupCode = "TENCENT_SMS", + IsDeleted = 0ul, + Name = "腾讯云短信secretId", + Remark = "腾讯云短信secretId", + Status = 0, + SysFlag = "Y", + Value = "你的secretId" + }, + new + { + Id = "a0412212-d50b-42aa-9484-3cef8fe3cc59", + Code = "DILON_TENCENT_SMS_SECRET_KEY", + GroupCode = "TENCENT_SMS", + IsDeleted = 0ul, + Name = "腾讯云短信secretKey", + Remark = "腾讯云短信secretKey", + Status = 0, + SysFlag = "Y", + Value = "你的secretkey" + }, + new + { + Id = "c928ca11-5137-4b71-bf1c-f3bc95bcd34d", + Code = "DILON_TENCENT_SMS_SDK_APP_ID", + GroupCode = "TENCENT_SMS", + IsDeleted = 0ul, + Name = "腾讯云短信sdkAppId", + Remark = "腾讯云短信sdkAppId", + Status = 0, + SysFlag = "Y", + Value = "1400375123" + }, + new + { + Id = "16ce1b6e-c8ad-4299-9293-6caff0e5cb49", + Code = "DILON_TENCENT_SMS_SIGN", + GroupCode = "TENCENT_SMS", + IsDeleted = 0ul, + Name = "腾讯云短信签名", + Remark = "腾讯云短信签名", + Status = 0, + SysFlag = "Y", + Value = "你的签名" + }, + new + { + Id = "66e63d64-b7eb-4e6a-b5b6-c87811c2e700", + Code = "DILON_EMAIL_HOST", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱host", + Remark = "邮箱host", + Status = 0, + SysFlag = "Y", + Value = "smtp.126.com" + }, + new + { + Id = "997a9bc6-22ed-4fe6-a20c-c3c2a0b682a0", + Code = "DILON_EMAIL_USERNAME", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱用户名", + Remark = "邮箱用户名", + Status = 0, + SysFlag = "Y", + Value = "test@126.com" + }, + new + { + Id = "633d1851-41d9-4ebd-b83b-3aa4501cd1a7", + Code = "DILON_EMAIL_PASSWORD", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱密码", + Remark = "邮箱密码", + Status = 0, + SysFlag = "Y", + Value = "你的邮箱密码" + }, + new + { + Id = "67e468f7-e791-4e91-a896-62e9f7411635", + Code = "DILON_EMAIL_PORT", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱端口", + Remark = "邮箱端口", + Status = 0, + SysFlag = "Y", + Value = "465" + }, + new + { + Id = "dc462c05-de23-4f90-bcdc-88de4abcdf22", + Code = "DILON_EMAIL_SSL", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱是否开启ssl", + Remark = "邮箱是否开启ssl", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = "8beac2a0-4c67-4499-a7ce-27e989546ce9", + Code = "DILON_EMAIL_FROM", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱发件人", + Remark = "邮箱发件人", + Status = 0, + SysFlag = "Y", + Value = "test@126.com" + }, + new + { + Id = "55756524-ecb8-444e-9cdd-a0fc767c4b96", + Code = "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", + GroupCode = "FILE_PATH", + IsDeleted = 0ul, + Name = "Win本地上传文件路径", + Remark = "Win本地上传文件路径", + Status = 0, + SysFlag = "Y", + Value = "D:/tmp" + }, + new + { + Id = "d2db41ee-ce1f-46de-ac00-5860634afed9", + Code = "DILON_FILE_UPLOAD_PATH_FOR_LINUX", + GroupCode = "FILE_PATH", + IsDeleted = 0ul, + Name = "Linux/Mac本地上传文件路径", + Remark = "Linux/Mac本地上传文件路径", + Status = 0, + SysFlag = "Y", + Value = "/tmp" + }, + new + { + Id = "ff8debdd-eca0-4f91-8213-e2080f76b35d", + Code = "DILON_UN_XSS_FILTER_URL", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "放开XSS过滤的接口", + Remark = "多个url可以用英文逗号隔开", + Status = 0, + SysFlag = "Y", + Value = "/demo/xssfilter,/demo/unxss" + }, + new + { + Id = "5584fb84-f580-463f-b06d-bbb80a4dfb72", + Code = "DILON_ENABLE_SINGLE_LOGIN", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "单用户登陆的开关", + Remark = "true-打开,false-关闭,如果一个人登录两次,就会将上一次登陆挤下去", + Status = 0, + SysFlag = "Y", + Value = "false" + }, + new + { + Id = "53b0afb2-4917-4b85-bcca-fe7c7723ae22", + Code = "DILON_CAPTCHA_OPEN", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "登录验证码的开关", + Remark = "true-打开,false-关闭", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = "974740d8-8647-4cf8-8102-542eea53e97f", + Code = "DILON_DRUID_USERNAME", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "Druid监控登录账号", + Remark = "Druid监控登录账号", + Status = 0, + SysFlag = "Y", + Value = "superAdmin" + }, + new + { + Id = "8cee44ea-ba4c-42db-a57d-69b8b5316ca5", + Code = "DILON_DRUID_PASSWORD", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "Druid监控界面登录密码", + Remark = "Druid监控界面登录密码", + Status = 0, + SysFlag = "Y", + Value = "123456" + }, + new + { + Id = "efc235ab-9b05-4820-afe4-32a1eb59e4de", + Code = "DILON_IP_GEO_API", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "阿里云定位api接口地址", + Remark = "阿里云定位api接口地址", + Status = 0, + SysFlag = "Y", + Value = "http://api01.aliyun.venuscn.com/ip?ip=%s" + }, + new + { + Id = "d3597d8a-562a-4b24-93c7-8655c5445d74", + Code = "DILON_IP_GEO_APP_CODE", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "阿里云定位appCode", + Remark = "阿里云定位appCode", + Status = 0, + SysFlag = "Y", + Value = "461535aabeae4f34861884d392f5d452" + }, + new + { + Id = "59c8a6f2-9e3c-4e9e-b9cf-8ecad5f0cb45", + Code = "DILON_ENABLE_OAUTH_LOGIN", + GroupCode = "OAUTH", + IsDeleted = 0ul, + Name = "Oauth用户登录的开关", + Remark = "Oauth用户登录的开关", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = "ff502ee7-8129-4828-8d16-fb04562ef52c", + Code = "DILON_OAUTH_GITEE_CLIENT_ID", + GroupCode = "OAUTH", + IsDeleted = 0ul, + Name = "Oauth码云登录ClientId", + Remark = "Oauth码云登录ClientId", + Status = 0, + SysFlag = "Y", + Value = "你的clientId" + }, + new + { + Id = "a1d957ef-2b70-456f-8eda-b70a4cf01535", + Code = "DILON_OAUTH_GITEE_CLIENT_SECRET", + GroupCode = "OAUTH", + IsDeleted = 0ul, + Name = "Oauth码云登录ClientSecret", + Remark = "Oauth码云登录ClientSecret", + Status = 0, + SysFlag = "Y", + Value = "你的clientSecret" + }, + new + { + Id = "b32ee22b-671d-40bf-8070-32e1054fef96", + Code = "DILON_OAUTH_GITEE_REDIRECT_URI", + GroupCode = "OAUTH", + IsDeleted = 0ul, + Name = "Oauth码云登录回调地址", + Remark = "Oauth码云登录回调地址", + Status = 0, + SysFlag = "Y", + Value = "http://127.0.0.1:5566/oauth/callback/gitee" + }, + new + { + Id = "38dda85c-2a98-4768-aebd-a60ab286052c", + Code = "DILON_DEMO_ENV_FLAG", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "演示环境", + Remark = "演示环境的开关,true-打开,false-关闭,如果演示环境开启,则只能读数据不能写数据", + Status = 0, + SysFlag = "Y", + Value = "false" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysDictData", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("TypeId") + .HasColumnType("varchar(36)") + .HasColumnName("TypeId") + .HasComment("字典类型Id"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Value") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("值"); + + b.HasKey("Id"); + + b.HasIndex("TypeId"); + + b.ToTable("sys_dict_data"); + + b + .HasComment("字典值表"); + + b.HasData( + new + { + Id = "99b965d3-1f2b-4f5b-a62a-6763b8d64a64", + Code = "1", + IsDeleted = 0ul, + Remark = "通知", + Sort = 100, + Status = 0, + TypeId = "d5b311fd-4b60-4b51-9156-b0e6d6cfa4d1", + Value = "通知" + }, + new + { + Id = "2616e6c2-a504-4fc6-993e-72701b48e79a", + Code = "2", + IsDeleted = 0ul, + Remark = "公告", + Sort = 100, + Status = 0, + TypeId = "d5b311fd-4b60-4b51-9156-b0e6d6cfa4d1", + Value = "公告" + }, + new + { + Id = "40d336cd-918a-4e90-8836-cba7c1bf6cdf", + Code = "0", + IsDeleted = 0ul, + Remark = "草稿", + Sort = 100, + Status = 0, + TypeId = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Value = "草稿" + }, + new + { + Id = "f5b49fa9-31a1-44c2-9df0-b28bf5daeee0", + Code = "1", + IsDeleted = 0ul, + Remark = "发布", + Sort = 100, + Status = 0, + TypeId = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Value = "发布" + }, + new + { + Id = "d2f73bb4-05a1-4aa5-9273-e9f3c393996d", + Code = "2", + IsDeleted = 0ul, + Remark = "撤回", + Sort = 100, + Status = 0, + TypeId = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Value = "撤回" + }, + new + { + Id = "6385916f-6ead-470e-889b-cfb9d2da6256", + Code = "3", + IsDeleted = 0ul, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Value = "删除" + }, + new + { + Id = "1f432e9d-f031-4787-a527-f37bb20ebe3a", + Code = "true", + IsDeleted = 0ul, + Remark = "是", + Sort = 100, + Status = 0, + TypeId = "80aea9e7-ad1b-4f57-b4db-9d15813707bd", + Value = "是" + }, + new + { + Id = "0724636d-e870-46c6-8e1e-67f1ea5f58e5", + Code = "false", + IsDeleted = 0ul, + Remark = "否", + Sort = 100, + Status = 0, + TypeId = "80aea9e7-ad1b-4f57-b4db-9d15813707bd", + Value = "否" + }, + new + { + Id = "881ebcf2-94a6-4938-81a4-55b81736f3b3", + Code = "1", + IsDeleted = 0ul, + Remark = "下载压缩包", + Sort = 100, + Status = 0, + TypeId = "430d0538-054a-4b37-a459-1095d0ccf4ae", + Value = "下载压缩包" + }, + new + { + Id = "5bc8662d-b795-48f1-a88e-2f4be5279d37", + Code = "2", + IsDeleted = 0ul, + Remark = "生成到本项目", + Sort = 100, + Status = 0, + TypeId = "430d0538-054a-4b37-a459-1095d0ccf4ae", + Value = "生成到本项目" + }, + new + { + Id = "b2a00b40-23e1-40e1-8995-60ab420eafe1", + Code = "1", + IsDeleted = 0ul, + Remark = "GET", + Sort = 100, + Status = 0, + TypeId = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Value = "GET" + }, + new + { + Id = "10070836-0c89-4b89-96e3-c65c7e33a86c", + Code = "2", + IsDeleted = 0ul, + Remark = "POST", + Sort = 100, + Status = 0, + TypeId = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Value = "POST" + }, + new + { + Id = "69a34c0b-85ce-4e53-9ad4-a592057dddd4", + Code = "3", + IsDeleted = 0ul, + Remark = "PUT", + Sort = 100, + Status = 0, + TypeId = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Value = "PUT" + }, + new + { + Id = "0e4dc1f1-8654-401b-800a-22b31f62ced1", + Code = "4", + IsDeleted = 0ul, + Remark = "DELETE", + Sort = 100, + Status = 0, + TypeId = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Value = "DELETE" + }, + new + { + Id = "443f965e-96b4-4fd2-93e9-07fe00a47205", + Code = "input", + IsDeleted = 0ul, + Remark = "输入框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "输入框" + }, + new + { + Id = "bf7be9a2-53fb-4250-87fe-49d7f741d159", + Code = "datepicker", + IsDeleted = 0ul, + Remark = "时间选择", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "时间选择" + }, + new + { + Id = "cea10919-47e2-43ab-a19b-9d41fe648310", + Code = "select", + IsDeleted = 0ul, + Remark = "下拉框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "下拉框" + }, + new + { + Id = "7d534f44-cf66-472e-b0d3-20a4cc2ad432", + Code = "radio", + IsDeleted = 0ul, + Remark = "单选框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "单选框" + }, + new + { + Id = "d63b06d4-be11-4ab7-9905-87f6f2ca056f", + Code = "switch", + IsDeleted = 0ul, + Remark = "开关", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "开关" + }, + new + { + Id = "46967f62-bac9-47fd-9278-b29c047b0c38", + Code = "checkbox", + IsDeleted = 0ul, + Remark = "多选框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "多选框" + }, + new + { + Id = "a8ac5009-93d3-4405-a6b9-81ed3e2811f2", + Code = "inputnumber", + IsDeleted = 0ul, + Remark = "数字输入框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "数字输入框" + }, + new + { + Id = "d00b3efa-2f9d-464c-8134-aa7013ef52bb", + Code = "textarea", + IsDeleted = 0ul, + Remark = "文本域", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "文本域" + }, + new + { + Id = "ad759239-e34e-4fdf-a0d0-6b39eb41f880", + Code = "==", + IsDeleted = 0ul, + Remark = "等于", + Sort = 1, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "等于" + }, + new + { + Id = "2c8e1240-f3ef-4df1-bd68-3047109ad5b4", + Code = "like", + IsDeleted = 0ul, + Remark = "模糊", + Sort = 2, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "模糊" + }, + new + { + Id = "efc18513-c17b-4fc1-8e0e-2e79fb9b0107", + Code = ">", + IsDeleted = 0ul, + Remark = "大于", + Sort = 3, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "大于" + }, + new + { + Id = "a6812d98-7785-4db2-b2f8-d476a459c5ed", + Code = "<", + IsDeleted = 0ul, + Remark = "小于", + Sort = 4, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "小于" + }, + new + { + Id = "218b5bac-343e-4594-a9da-30e391c7735c", + Code = "!=", + IsDeleted = 0ul, + Remark = "不等于", + Sort = 5, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "不等于" + }, + new + { + Id = "4825f15d-077b-4c16-8ee7-0205d653e14d", + Code = ">=", + IsDeleted = 0ul, + Remark = "大于等于", + Sort = 6, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "大于等于" + }, + new + { + Id = "7c9e8270-db5a-45b7-acd7-f95c8ee31547", + Code = "<=", + IsDeleted = 0ul, + Remark = "小于等于", + Sort = 7, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "小于等于" + }, + new + { + Id = "759ea7de-a18f-4ed7-9032-bbd1a4dadc9e", + Code = "isNotNull", + IsDeleted = 0ul, + Remark = "不为空", + Sort = 8, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "不为空" + }, + new + { + Id = "a5cdf75e-6361-490d-a043-f5929ccf65a9", + Code = "int", + IsDeleted = 0ul, + Remark = "int", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "int" + }, + new + { + Id = "cffdd4b5-d4e0-4196-81b9-02045de8b189", + Code = "long", + IsDeleted = 0ul, + Remark = "long", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "long" + }, + new + { + Id = "25be90ea-b439-4e9d-993c-48a5ce3b9358", + Code = "string", + IsDeleted = 0ul, + Remark = "string", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "string" + }, + new + { + Id = "496eef62-3849-4263-b274-a3e6090942e3", + Code = "bool", + IsDeleted = 0ul, + Remark = "bool", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "bool" + }, + new + { + Id = "681c02ea-7570-4a97-85a7-957a77314df6", + Code = "double", + IsDeleted = 0ul, + Remark = "double", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "double" + }, + new + { + Id = "259698cf-b25d-427a-8d22-33b9c1899eea", + Code = "DateTime", + IsDeleted = 0ul, + Remark = "DateTime", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "DateTime" + }, + new + { + Id = "a30c682e-744a-468d-a74f-827928c96c01", + Code = "float", + IsDeleted = 0ul, + Remark = "float", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "float" + }, + new + { + Id = "4b68cb83-f173-4864-bd10-a7a7d5248102", + Code = "decimal", + IsDeleted = 0ul, + Remark = "decimal", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "decimal" + }, + new + { + Id = "134d4173-8d93-4c19-bf6b-a640d35da097", + Code = "Guid", + IsDeleted = 0ul, + Remark = "Guid", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "Guid" + }, + new + { + Id = "c597306f-5fd0-4f75-9a46-12de340cd199", + Code = "DateTimeOffset", + IsDeleted = 0ul, + Remark = "DateTimeOffset", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "DateTimeOffset" + }, + new + { + Id = "9b44b297-f6f0-4c31-b680-83baabf4c5b7", + Code = "1", + IsDeleted = 0ul, + Remark = "男性", + Sort = 100, + Status = 0, + TypeId = "301ed120-dfc5-4d7c-af59-b56a519581c9", + Value = "男" + }, + new + { + Id = "46ba4c21-cbde-4561-8e57-19ed0f752c17", + Code = "2", + IsDeleted = 0ul, + Remark = "女性", + Sort = 100, + Status = 0, + TypeId = "301ed120-dfc5-4d7c-af59-b56a519581c9", + Value = "女" + }, + new + { + Id = "150e04a6-3bf5-4604-98d5-14fbd1608bc5", + Code = "3", + IsDeleted = 0ul, + Remark = "未知性别", + Sort = 100, + Status = 0, + TypeId = "301ed120-dfc5-4d7c-af59-b56a519581c9", + Value = "未知" + }, + new + { + Id = "b6ad194b-ccfb-4ee7-b402-7b78e8bb8680", + Code = "DEFAULT", + IsDeleted = 0ul, + Remark = "默认常量,都以XIAONUO_开头的", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "默认常量" + }, + new + { + Id = "e2271e0a-17a3-41f3-81fa-dbe895ce0466", + Code = "ALIYUN_SMS", + IsDeleted = 0ul, + Remark = "阿里云短信配置", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "阿里云短信" + }, + new + { + Id = "5e61f455-1975-438b-bd17-85a1f89abe84", + Code = "TENCENT_SMS", + IsDeleted = 0ul, + Remark = "腾讯云短信", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "腾讯云短信" + }, + new + { + Id = "9cba05e7-495a-43fb-b86b-fa459da5b04d", + Code = "EMAIL", + IsDeleted = 0ul, + Remark = "邮件配置", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "邮件配置" + }, + new + { + Id = "81d87a9c-a4ee-46dc-be69-71dcccb14d9d", + Code = "FILE_PATH", + IsDeleted = 0ul, + Remark = "文件上传路径", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "文件上传路径" + }, + new + { + Id = "fdf38fa8-3d1e-4a43-84bc-785c0a394160", + Code = "OAUTH", + IsDeleted = 0ul, + Remark = "Oauth配置", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "Oauth配置" + }, + new + { + Id = "e3c9ebce-bdae-45a3-92b1-fc2e35a23242", + Code = "0", + IsDeleted = 0ul, + Remark = "正常", + Sort = 100, + Status = 0, + TypeId = "b0cfa91c-1189-4f39-bc5a-f035885d0604", + Value = "正常" + }, + new + { + Id = "22492650-a92b-43f0-9954-3d3891ec6e45", + Code = "1", + IsDeleted = 0ul, + Remark = "停用", + Sort = 100, + Status = 0, + TypeId = "b0cfa91c-1189-4f39-bc5a-f035885d0604", + Value = "停用" + }, + new + { + Id = "297030a2-88d9-4646-b7c1-a17c9a8c0b98", + Code = "2", + IsDeleted = 0ul, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = "b0cfa91c-1189-4f39-bc5a-f035885d0604", + Value = "删除" + }, + new + { + Id = "1159fc34-ef51-4e0f-b55b-0220d2445a1e", + Code = "N", + IsDeleted = 0ul, + Remark = "否", + Sort = 100, + Status = 0, + TypeId = "f2f0e8bf-04da-4a2f-9fb8-1d6549227302", + Value = "否" + }, + new + { + Id = "7d3115a8-938a-4d09-a2c9-21ad65b8b65a", + Code = "Y", + IsDeleted = 0ul, + Remark = "是", + Sort = 100, + Status = 0, + TypeId = "f2f0e8bf-04da-4a2f-9fb8-1d6549227302", + Value = "是" + }, + new + { + Id = "8204daac-b2ea-41f6-ab52-ef299a05fd94", + Code = "1", + IsDeleted = 0ul, + Remark = "登录", + Sort = 100, + Status = 0, + TypeId = "2cecf329-cf95-44eb-a8d7-3fb77b13e093", + Value = "登录" + }, + new + { + Id = "934099f4-c1a6-4f63-8cff-a42356369dd9", + Code = "2", + IsDeleted = 0ul, + Remark = "登出", + Sort = 100, + Status = 0, + TypeId = "2cecf329-cf95-44eb-a8d7-3fb77b13e093", + Value = "登出" + }, + new + { + Id = "a8cd8263-4397-4d68-91db-d92330c67632", + Code = "0", + IsDeleted = 0ul, + Remark = "目录", + Sort = 100, + Status = 0, + TypeId = "e973d383-c28e-42e0-9e23-5f2bd592fef5", + Value = "目录" + }, + new + { + Id = "bb082602-57ea-4941-b68b-64460e7f63b6", + Code = "1", + IsDeleted = 0ul, + Remark = "菜单", + Sort = 100, + Status = 0, + TypeId = "e973d383-c28e-42e0-9e23-5f2bd592fef5", + Value = "菜单" + }, + new + { + Id = "a4cba529-769a-4309-add6-b15b25ebf05a", + Code = "2", + IsDeleted = 0ul, + Remark = "按钮", + Sort = 100, + Status = 0, + TypeId = "e973d383-c28e-42e0-9e23-5f2bd592fef5", + Value = "按钮" + }, + new + { + Id = "7ec98dee-8dc9-47fe-9276-f3312ed5dd24", + Code = "0", + IsDeleted = 0ul, + Remark = "未发送", + Sort = 100, + Status = 0, + TypeId = "058db370-3718-42c3-8ba7-095341b1fe13", + Value = "未发送" + }, + new + { + Id = "83cf4407-dbe1-4da2-883d-a3e16a780f37", + Code = "1", + IsDeleted = 0ul, + Remark = "发送成功", + Sort = 100, + Status = 0, + TypeId = "058db370-3718-42c3-8ba7-095341b1fe13", + Value = "发送成功" + }, + new + { + Id = "e1e71562-015e-466b-b98b-29f4b8966bce", + Code = "2", + IsDeleted = 0ul, + Remark = "发送失败", + Sort = 100, + Status = 0, + TypeId = "058db370-3718-42c3-8ba7-095341b1fe13", + Value = "发送失败" + }, + new + { + Id = "13e71f10-539b-4016-9acf-e3541c0f04db", + Code = "3", + IsDeleted = 0ul, + Remark = "失效", + Sort = 100, + Status = 0, + TypeId = "058db370-3718-42c3-8ba7-095341b1fe13", + Value = "失效" + }, + new + { + Id = "f965b257-b2ff-4a18-9084-6e805547e9e6", + Code = "0", + IsDeleted = 0ul, + Remark = "无", + Sort = 100, + Status = 0, + TypeId = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Value = "无" + }, + new + { + Id = "75c40b12-07d1-4828-9b6c-132f4bca194c", + Code = "1", + IsDeleted = 0ul, + Remark = "组件", + Sort = 100, + Status = 0, + TypeId = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Value = "组件" + }, + new + { + Id = "be3197fd-2fba-4e79-b252-793f05e51a21", + Code = "2", + IsDeleted = 0ul, + Remark = "内链", + Sort = 100, + Status = 0, + TypeId = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Value = "内链" + }, + new + { + Id = "2a10adc6-b286-4fad-9719-7e7321c7a93e", + Code = "3", + IsDeleted = 0ul, + Remark = "外链", + Sort = 100, + Status = 0, + TypeId = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Value = "外链" + }, + new + { + Id = "d3984ed0-29d5-416e-87c6-75364010677b", + Code = "1", + IsDeleted = 0ul, + Remark = "系统权重", + Sort = 100, + Status = 0, + TypeId = "b3235678-f7fe-442b-8fba-e792a89b78f2", + Value = "系统权重" + }, + new + { + Id = "f4771570-e4a5-416f-b82f-1e3082c35ee8", + Code = "2", + IsDeleted = 0ul, + Remark = "业务权重", + Sort = 100, + Status = 0, + TypeId = "b3235678-f7fe-442b-8fba-e792a89b78f2", + Value = "业务权重" + }, + new + { + Id = "a2d6bdfe-ee61-4425-94c9-7ece3de080fa", + Code = "1", + IsDeleted = 0ul, + Remark = "全部数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "全部数据" + }, + new + { + Id = "d0b25877-165e-41b8-9034-7a8fea7e5776", + Code = "2", + IsDeleted = 0ul, + Remark = "本部门及以下数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "本部门及以下数据" + }, + new + { + Id = "375362c8-d694-40d9-8c55-07669e472460", + Code = "3", + IsDeleted = 0ul, + Remark = "本部门数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "本部门数据" + }, + new + { + Id = "70afe4c1-3495-483a-bdd0-3d4ea45136b3", + Code = "4", + IsDeleted = 0ul, + Remark = "仅本人数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "仅本人数据" + }, + new + { + Id = "6f395e69-8add-40ae-a378-0881d64a4413", + Code = "5", + IsDeleted = 0ul, + Remark = "自定义数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "自定义数据" + }, + new + { + Id = "a819d549-6107-43a2-99d2-377cf0a5681a", + Code = "1", + IsDeleted = 0ul, + Remark = "app", + Sort = 100, + Status = 0, + TypeId = "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", + Value = "app" + }, + new + { + Id = "b1e821b3-4e7b-4e60-a67f-a40d327ab6d6", + Code = "2", + IsDeleted = 0ul, + Remark = "pc", + Sort = 100, + Status = 0, + TypeId = "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", + Value = "pc" + }, + new + { + Id = "2bce5da0-b386-4412-935d-d081b7cf4391", + Code = "3", + IsDeleted = 0ul, + Remark = "其他", + Sort = 100, + Status = 0, + TypeId = "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", + Value = "其他" + }, + new + { + Id = "35aac71b-9939-4b2e-8533-d087618c1dca", + Code = "0", + IsDeleted = 0ul, + Remark = "其它", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "其它" + }, + new + { + Id = "e7585292-d6c6-475f-bf87-8ad473ce6be4", + Code = "1", + IsDeleted = 0ul, + Remark = "增加", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "增加" + }, + new + { + Id = "387d403c-6af3-4bda-af05-d60472823480", + Code = "2", + IsDeleted = 0ul, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "删除" + }, + new + { + Id = "4656bf7b-df6a-4c71-b963-18d8af3f93a7", + Code = "3", + IsDeleted = 0ul, + Remark = "编辑", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "编辑" + }, + new + { + Id = "9edba767-7008-4623-8dbf-75417f1a0c82", + Code = "4", + IsDeleted = 0ul, + Remark = "更新", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "更新" + }, + new + { + Id = "d1334517-ddfa-47f3-b053-88ea999babc7", + Code = "5", + IsDeleted = 0ul, + Remark = "查询", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "查询" + }, + new + { + Id = "fe6e46ee-208b-446f-8aaa-05bd5eaa459b", + Code = "6", + IsDeleted = 0ul, + Remark = "详情", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "详情" + }, + new + { + Id = "bf8f818f-060b-4815-8fe9-11bb356cb2e6", + Code = "7", + IsDeleted = 0ul, + Remark = "树", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "树" + }, + new + { + Id = "2b9cf0b8-74ba-4b36-8504-275a2387729a", + Code = "8", + IsDeleted = 0ul, + Remark = "导入", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "导入" + }, + new + { + Id = "db13458a-22b4-4f5e-b6f9-c3c9e1400909", + Code = "9", + IsDeleted = 0ul, + Remark = "导出", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "导出" + }, + new + { + Id = "e02d9274-aa68-4e2c-9211-b226f1e6423e", + Code = "10", + IsDeleted = 0ul, + Remark = "授权", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "授权" + }, + new + { + Id = "023244cd-eb32-4a19-bb3c-97301be1e769", + Code = "11", + IsDeleted = 0ul, + Remark = "强退", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "强退" + }, + new + { + Id = "beb773cd-a22a-44e2-ac4b-5ab6f21aa3c4", + Code = "12", + IsDeleted = 0ul, + Remark = "清空", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "清空" + }, + new + { + Id = "b6f55ff4-6b6a-452a-b372-32ac2f1f2b30", + Code = "13", + IsDeleted = 0ul, + Remark = "修改状态", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "修改状态" + }, + new + { + Id = "f86e19a0-8ba8-4588-91f6-be2af525f490", + Code = "1", + IsDeleted = 0ul, + Remark = "阿里云", + Sort = 100, + Status = 0, + TypeId = "b924e0c1-3f23-4e37-9f27-90e945381304", + Value = "阿里云" + }, + new + { + Id = "91c522b5-4f6f-48a5-ba79-962d56821bdc", + Code = "2", + IsDeleted = 0ul, + Remark = "腾讯云", + Sort = 100, + Status = 0, + TypeId = "b924e0c1-3f23-4e37-9f27-90e945381304", + Value = "腾讯云" + }, + new + { + Id = "cc64be62-3213-4442-a98a-c508bc35104b", + Code = "3", + IsDeleted = 0ul, + Remark = "minio", + Sort = 100, + Status = 0, + TypeId = "b924e0c1-3f23-4e37-9f27-90e945381304", + Value = "minio" + }, + new + { + Id = "cdc4a9ee-7436-4807-87cd-4350a72745b0", + Code = "4", + IsDeleted = 0ul, + Remark = "本地", + Sort = 100, + Status = 0, + TypeId = "b924e0c1-3f23-4e37-9f27-90e945381304", + Value = "本地" + }, + new + { + Id = "76e885e8-1b40-45b6-bb0f-5519c6839df2", + Code = "1", + IsDeleted = 0ul, + Remark = "运行", + Sort = 100, + Status = 0, + TypeId = "0f1b8660-d932-4a53-a681-a38bebae91e0", + Value = "运行" + }, + new + { + Id = "6e3591ec-2902-4bf3-b5a2-7ebc94ebc08f", + Code = "2", + IsDeleted = 0ul, + Remark = "停止", + Sort = 100, + Status = 0, + TypeId = "0f1b8660-d932-4a53-a681-a38bebae91e0", + Value = "停止" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysDictType", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_dict_type"); + + b + .HasComment("字典类型表"); + + b.HasData( + new + { + Id = "b0cfa91c-1189-4f39-bc5a-f035885d0604", + Code = "common_status", + IsDeleted = 0ul, + Name = "通用状态", + Remark = "通用状态", + Sort = 100, + Status = 0 + }, + new + { + Id = "301ed120-dfc5-4d7c-af59-b56a519581c9", + Code = "sex", + IsDeleted = 0ul, + Name = "性别", + Remark = "性别字典", + Sort = 100, + Status = 0 + }, + new + { + Id = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Code = "consts_type", + IsDeleted = 0ul, + Name = "常量的分类", + Remark = "常量的分类,用于区别一组配置", + Sort = 100, + Status = 0 + }, + new + { + Id = "f2f0e8bf-04da-4a2f-9fb8-1d6549227302", + Code = "yes_or_no", + IsDeleted = 0ul, + Name = "是否", + Remark = "是否", + Sort = 100, + Status = 0 + }, + new + { + Id = "2cecf329-cf95-44eb-a8d7-3fb77b13e093", + Code = "vis_type", + IsDeleted = 0ul, + Name = "访问类型", + Remark = "访问类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "e973d383-c28e-42e0-9e23-5f2bd592fef5", + Code = "menu_type", + IsDeleted = 0ul, + Name = "菜单类型", + Remark = "菜单类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "058db370-3718-42c3-8ba7-095341b1fe13", + Code = "send_type", + IsDeleted = 0ul, + Name = "发送类型", + Remark = "发送类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Code = "open_type", + IsDeleted = 0ul, + Name = "打开方式", + Remark = "打开方式", + Sort = 100, + Status = 0 + }, + new + { + Id = "b3235678-f7fe-442b-8fba-e792a89b78f2", + Code = "menu_weight", + IsDeleted = 0ul, + Name = "菜单权重", + Remark = "菜单权重", + Sort = 100, + Status = 0 + }, + new + { + Id = "a2068ed1-62a6-463c-b720-06111d994079", + Code = "data_scope_type", + IsDeleted = 0ul, + Name = "数据范围类型", + Remark = "数据范围类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", + Code = "sms_send_source", + IsDeleted = 0ul, + Name = "短信发送来源", + Remark = "短信发送来源", + Sort = 100, + Status = 0 + }, + new + { + Id = "8461bd1d-311b-487e-b579-d6049c6fb191", + Code = "op_type", + IsDeleted = 0ul, + Name = "操作类型", + Remark = "操作类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "b924e0c1-3f23-4e37-9f27-90e945381304", + Code = "file_storage_location", + IsDeleted = 0ul, + Name = "文件存储位置", + Remark = "文件存储位置", + Sort = 100, + Status = 0 + }, + new + { + Id = "0f1b8660-d932-4a53-a681-a38bebae91e0", + Code = "run_status", + IsDeleted = 0ul, + Name = "运行状态", + Remark = "定时任务运行状态", + Sort = 100, + Status = 0 + }, + new + { + Id = "d5b311fd-4b60-4b51-9156-b0e6d6cfa4d1", + Code = "notice_type", + IsDeleted = 0ul, + Name = "通知公告类型", + Remark = "通知公告类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Code = "notice_status", + IsDeleted = 0ul, + Name = "通知公告状态", + Remark = "通知公告状态", + Sort = 100, + Status = 0 + }, + new + { + Id = "80aea9e7-ad1b-4f57-b4db-9d15813707bd", + Code = "yes_true_false", + IsDeleted = 0ul, + Name = "是否boolean", + Remark = "是否boolean", + Sort = 100, + Status = 0 + }, + new + { + Id = "430d0538-054a-4b37-a459-1095d0ccf4ae", + Code = "code_gen_create_type", + IsDeleted = 0ul, + Name = "代码生成方式", + Remark = "代码生成方式", + Sort = 100, + Status = 0 + }, + new + { + Id = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Code = "request_type", + IsDeleted = 0ul, + Name = "请求方式", + Remark = "请求方式", + Sort = 100, + Status = 0 + }, + new + { + Id = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Code = "code_gen_effect_type", + IsDeleted = 0ul, + Name = "代码生成作用类型", + Remark = "代码生成作用类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Code = "code_gen_query_type", + IsDeleted = 0ul, + Name = "代码生成查询类型", + Remark = "代码生成查询类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "28f653d4-e573-4f54-8e5c-4e308780145a", + Code = "code_gen_net_type", + IsDeleted = 0ul, + Name = "代码生成.NET类型", + Remark = "代码生成.NET类型", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysEmp", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("用户Id"); + + b.Property("JobNum") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("工号"); + + b.Property("OrgId") + .HasColumnType("varchar(36)") + .HasColumnName("OrgId") + .HasComment("机构Id"); + + b.Property("OrgName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("机构名称"); + + b.HasKey("Id"); + + b.ToTable("sys_emp"); + + b + .HasComment("员工表"); + + b.HasData( + new + { + Id = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + JobNum = "D1001", + OrgId = "12d888de-f55d-4c88-b0a0-7c3510664d97", + OrgName = "华夏集团" + }, + new + { + Id = "5398fb9a-2209-4ce7-a2c1-b6a983e502b5", + JobNum = "D1002", + OrgId = "12d888de-f55d-4c88-b0a0-7c3510664d97", + OrgName = "华夏集团" + }, + new + { + Id = "16a74726-e156-499f-9942-0e0e24ad0c3f", + JobNum = "D1003", + OrgId = "12d888de-f55d-4c88-b0a0-7c3510664d97", + OrgName = "华夏集团" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysEmpExtOrgPos", b => + { + b.Property("SysEmpId") + .HasColumnType("varchar(36)") + .HasColumnName("SysEmpId") + .HasComment("员工Id"); + + b.Property("SysOrgId") + .HasColumnType("varchar(36)") + .HasColumnName("SysOrgId") + .HasComment("机构Id"); + + b.Property("SysPosId") + .HasColumnType("varchar(36)") + .HasColumnName("SysPosId") + .HasComment("职位Id"); + + b.HasKey("SysEmpId", "SysOrgId", "SysPosId"); + + b.HasIndex("SysOrgId"); + + b.HasIndex("SysPosId"); + + b.ToTable("sys_emp_ext_org_pos"); + + b + .HasComment("员工附属机构职位表"); + + b.HasData( + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysOrgId = "12d888de-f55d-4c88-b0a0-7c3510664d97", + SysPosId = "269236c4-d74e-4e54-9d50-f6f61580a197" + }, + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysOrgId = "8a2271d6-5bda-4544-bdd3-27e53a8b418e", + SysPosId = "46c68a62-f119-4ff7-b621-0bbd77504538" + }, + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysOrgId = "127c0a5d-43ac-4370-b313-082361885aca", + SysPosId = "5bd8c466-2bca-4386-a551-daac78e3cee8" + }, + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysOrgId = "f236ab2d-e1b5-4e9d-844f-a59ec32c20e4", + SysPosId = "d89a3afe-e6ba-4018-bdae-3c98bb47ad66" + }, + new + { + SysEmpId = "16a74726-e156-499f-9942-0e0e24ad0c3f", + SysOrgId = "f236ab2d-e1b5-4e9d-844f-a59ec32c20e4", + SysPosId = "269236c4-d74e-4e54-9d50-f6f61580a197" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysEmpPos", b => + { + b.Property("SysEmpId") + .HasColumnType("varchar(36)") + .HasColumnName("SysEmpId") + .HasComment("员工Id"); + + b.Property("SysPosId") + .HasColumnType("varchar(36)") + .HasColumnName("SysPosId") + .HasComment("职位Id"); + + b.HasKey("SysEmpId", "SysPosId"); + + b.HasIndex("SysPosId"); + + b.ToTable("sys_emp_pos"); + + b + .HasComment("员工职位表"); + + b.HasData( + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysPosId = "269236c4-d74e-4e54-9d50-f6f61580a197" + }, + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysPosId = "46c68a62-f119-4ff7-b621-0bbd77504538" + }, + new + { + SysEmpId = "5398fb9a-2209-4ce7-a2c1-b6a983e502b5", + SysPosId = "5bd8c466-2bca-4386-a551-daac78e3cee8" + }, + new + { + SysEmpId = "16a74726-e156-499f-9942-0e0e24ad0c3f", + SysPosId = "269236c4-d74e-4e54-9d50-f6f61580a197" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysFile", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("FileBucket") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件仓库"); + + b.Property("FileLocation") + .HasColumnType("int") + .HasComment("文件存储位置"); + + b.Property("FileObjectName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("存储到bucket的名称"); + + b.Property("FileOriginName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件名称"); + + b.Property("FilePath") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("存储路径"); + + b.Property("FileSizeInfo") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件大小信息"); + + b.Property("FileSizeKb") + .HasColumnType("bigint") + .HasComment("文件大小kb"); + + b.Property("FileSuffix") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件后缀"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_file"); + + b + .HasComment("文件信息表"); + }); + + modelBuilder.Entity("Ewide.Core.SysLogAudit", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("ColumnName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列名"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("操作时间"); + + b.Property("NewValue") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("新值"); + + b.Property("OldValue") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("旧值"); + + b.Property("Operate") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作方式"); + + b.Property("TableName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("表名"); + + b.Property("UserId") + .HasColumnType("varchar(36)") + .HasColumnName("UserId") + .HasComment("操作人Id"); + + b.Property("UserName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作人名称"); + + b.HasKey("Id"); + + b.ToTable("sys_log_audit"); + + b + .HasComment("审计日志表"); + }); + + modelBuilder.Entity("Ewide.Core.SysLogOp", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("Account") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作人"); + + b.Property("Browser") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("浏览器"); + + b.Property("ClassName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("类名称"); + + b.Property("ElapsedTime") + .HasColumnType("bigint") + .HasComment("耗时"); + + b.Property("Ip") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("IP"); + + b.Property("Location") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("地址"); + + b.Property("Message") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("具体消息"); + + b.Property("MethodName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("方法名称"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("OpTime") + .HasColumnType("datetime") + .HasComment("操作时间"); + + b.Property("OpType") + .HasColumnType("int") + .HasComment("操作类型"); + + b.Property("Os") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作系统"); + + b.Property("Param") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求参数"); + + b.Property("ReqMethod") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求方式"); + + b.Property("Result") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("返回结果"); + + b.Property("Success") + .HasColumnType("tinyint(1)") + .HasComment("是否执行成功"); + + b.Property("Url") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求地址"); + + b.HasKey("Id"); + + b.ToTable("sys_log_op"); + + b + .HasComment("操作日志表"); + }); + + modelBuilder.Entity("Ewide.Core.SysLogVis", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("Account") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("访问人"); + + b.Property("Browser") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("浏览器"); + + b.Property("Ip") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("IP"); + + b.Property("Location") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("地址"); + + b.Property("Message") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("具体消息"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Os") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作系统"); + + b.Property("Success") + .HasColumnType("tinyint(1)") + .HasComment("是否执行成功"); + + b.Property("VisTime") + .HasColumnType("datetime") + .HasComment("访问时间"); + + b.Property("VisType") + .HasColumnType("int") + .HasComment("访问类型"); + + b.HasKey("Id"); + + b.ToTable("sys_log_vis"); + + b + .HasComment("访问日志表"); + }); + + modelBuilder.Entity("Ewide.Core.SysMenu", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Application") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("应用分类"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Component") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("组件地址"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Icon") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Link") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("内链地址"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("OpenType") + .HasColumnType("int") + .HasComment("打开方式"); + + b.Property("Permission") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("权限标识"); + + b.Property("Pid") + .HasColumnType("varchar(36)") + .HasColumnName("Pid") + .HasComment("父Id"); + + b.Property("Pids") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("父Ids"); + + b.Property("Redirect") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("重定向地址"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Router") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("路由地址"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int"); + + b.Property("Type") + .HasColumnType("int") + .HasComment("菜单类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Visible") + .HasColumnType("bit") + .HasColumnName("Visible") + .HasComment("是否可见"); + + b.Property("VisibleParent") + .HasColumnType("bit") + .HasColumnName("VisibleParent") + .HasComment("关联菜单显示"); + + b.Property("Weight") + .HasColumnType("int") + .HasComment("权重"); + + b.HasKey("Id"); + + b.ToTable("sys_menu"); + + b + .HasComment("菜单表"); + + b.HasData( + new + { + Id = "83ce02c9-b37f-4885-96e3-9b34371edb2e", + Application = "system", + Code = "system_index", + Component = "RouteView", + Icon = "home", + IsDeleted = 0ul, + Name = "主控面板", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Redirect = "/analysis", + Router = "/", + Sort = 1, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "914a520d-9e4f-465b-ae05-7248b37d4be1", + Application = "system", + Code = "system_index_dashboard", + Component = "system/dashboard/Analysis", + IsDeleted = 0ul, + Name = "分析页", + OpenType = 0, + Pid = "83ce02c9-b37f-4885-96e3-9b34371edb2e", + Pids = "[00000000-0000-0000-0000-000000000000],[83ce02c9-b37f-4885-96e3-9b34371edb2e],", + Router = "analysis", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "72981ad9-9036-4aa7-b8f4-dc407eda50b4", + Application = "system", + Code = "system_index_workplace", + Component = "system/dashboard/Workplace", + IsDeleted = 0ul, + Name = "工作台", + OpenType = 0, + Pid = "83ce02c9-b37f-4885-96e3-9b34371edb2e", + Pids = "[00000000-0000-0000-0000-000000000000],[83ce02c9-b37f-4885-96e3-9b34371edb2e],", + Router = "workplace", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", + Application = "system", + Code = "sys_mgr", + Component = "PageView", + Icon = "team", + IsDeleted = 0ul, + Name = "组织架构", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/sys", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Application = "system", + Code = "sys_user_mgr", + Component = "system/user/index", + IsDeleted = 0ul, + Name = "用户管理", + OpenType = 1, + Pid = "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],", + Router = "/mgr_user", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "bff7e542-6463-4f82-a03d-b1022e60d4b6", + Application = "system", + Code = "sys_user_mgr_page", + IsDeleted = 0ul, + Name = "用户查询", + OpenType = 0, + Permission = "sysUser:page", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "936440c7-93ef-4d2f-adff-6151f4317355", + Application = "system", + Code = "sys_user_mgr_edit", + IsDeleted = 0ul, + Name = "用户编辑", + OpenType = 0, + Permission = "sysUser:edit", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "281888e3-d183-4711-ba27-298ef6e64659", + Application = "system", + Code = "sys_user_mgr_add", + IsDeleted = 0ul, + Name = "用户增加", + OpenType = 0, + Permission = "sysUser:add", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e4aff800-d34a-416b-bd6e-dcebaa1dd436", + Application = "system", + Code = "sys_user_mgr_delete", + IsDeleted = 0ul, + Name = "用户删除", + OpenType = 0, + Permission = "sysUser:delete", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "7a266494-e17b-480d-8f50-cc234e6fe424", + Application = "system", + Code = "sys_user_mgr_detail", + IsDeleted = 0ul, + Name = "用户详情", + OpenType = 0, + Permission = "sysUser:detail", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "0d93f763-20d3-4c95-add3-3d94770b110e", + Application = "system", + Code = "sys_user_mgr_export", + IsDeleted = 0ul, + Name = "用户导出", + OpenType = 0, + Permission = "sysUser:export", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "17d047c3-6e95-4f7d-93db-97817d886fa2", + Application = "system", + Code = "sys_user_mgr_selector", + IsDeleted = 0ul, + Name = "用户选择器", + OpenType = 0, + Permission = "sysUser:selector", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "5fc44256-2e56-4805-9382-b5504ca5b6cb", + Application = "system", + Code = "sys_user_mgr_grant_role", + IsDeleted = 0ul, + Name = "用户授权角色", + OpenType = 0, + Permission = "sysUser:grantRole", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ceff7899-6779-4708-b9ed-a2d5b488cff2", + Application = "system", + Code = "sys_user_mgr_own_role", + IsDeleted = 0ul, + Name = "用户拥有角色", + OpenType = 0, + Permission = "sysUser:ownRole", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "38ba9ccc-eb96-4a60-a5ab-f6ea013f8291", + Application = "system", + Code = "sys_user_mgr_grant_data", + IsDeleted = 0ul, + Name = "用户授权数据", + OpenType = 0, + Permission = "sysUser:grantData", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "cf2f8faf-b280-456c-8865-64115e04019f", + Application = "system", + Code = "sys_user_mgr_own_data", + IsDeleted = 0ul, + Name = "用户拥有数据", + OpenType = 0, + Permission = "sysUser:ownData", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "711563e5-fed6-44d6-bcf3-138c73cfbfca", + Application = "system", + Code = "sys_user_mgr_update_info", + IsDeleted = 0ul, + Name = "用户更新信息", + OpenType = 0, + Permission = "sysUser:updateInfo", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "306fe9bf-3132-4011-9f3f-1a2f4ead7734", + Application = "system", + Code = "sys_user_mgr_update_pwd", + IsDeleted = 0ul, + Name = "用户修改密码", + OpenType = 0, + Permission = "sysUser:updatePwd", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "791b0d88-7e25-490f-a94f-a2e32bb3b6e6", + Application = "system", + Code = "sys_user_mgr_change_status", + IsDeleted = 0ul, + Name = "用户修改状态", + OpenType = 0, + Permission = "sysUser:changeStatus", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "9d681aac-528a-46b0-9718-ffc4abe9c29e", + Application = "system", + Code = "sys_user_mgr_update_avatar", + IsDeleted = 0ul, + Name = "用户修改头像", + OpenType = 0, + Permission = "sysUser:updateAvatar", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "471b5259-5f55-4643-841c-f07089cfafdf", + Application = "system", + Code = "sys_user_mgr_reset_pwd", + IsDeleted = 0ul, + Name = "用户重置密码", + OpenType = 0, + Permission = "sysUser:resetPwd", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "471d3098-90a4-47e1-bd07-5d3ed8d21fb0", + Application = "system", + Code = "sys_user_mgr_login", + IsDeleted = 0ul, + Name = "用户登录信息", + OpenType = 0, + Permission = "getLoginUser", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 1, + Type = 2, + Visible = 0ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Application = "system", + Code = "sys_org_mgr", + Component = "system/org/index", + IsDeleted = 0ul, + Name = "机构管理", + OpenType = 1, + Pid = "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],", + Router = "/org", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "b7c34c9b-933e-4c48-b1d0-af15a1f7da1f", + Application = "system", + Code = "sys_org_mgr_page", + IsDeleted = 0ul, + Name = "机构查询", + OpenType = 0, + Permission = "sysOrg:page", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "917064b2-c715-4fa4-9b2d-20a11b784ed1", + Application = "system", + Code = "sys_org_mgr_list", + IsDeleted = 0ul, + Name = "机构列表", + OpenType = 0, + Permission = "sysOrg:list", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "d7c18d60-f28f-4a57-90b3-26fc95249ae0", + Application = "system", + Code = "sys_org_mgr_add", + IsDeleted = 0ul, + Name = "机构增加", + OpenType = 0, + Permission = "sysOrg:add", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e65eb1e3-cc9e-4309-8c7a-9ac41765b239", + Application = "system", + Code = "sys_org_mgr_edit", + IsDeleted = 0ul, + Name = "机构编辑", + OpenType = 0, + Permission = "sysOrg:edit", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "c2450c4c-89c6-46e8-8f89-11331790cbe3", + Application = "system", + Code = "sys_org_mgr_delete", + IsDeleted = 0ul, + Name = "机构删除", + OpenType = 0, + Permission = "sysOrg:delete", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "695a6018-82c3-466e-a2a1-dab16039bfdb", + Application = "system", + Code = "sys_org_mgr_detail", + IsDeleted = 0ul, + Name = "机构详情", + OpenType = 0, + Permission = "sysOrg:detail", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "2d153046-279b-43be-8f57-46875118fd2c", + Application = "system", + Code = "sys_org_mgr_tree", + IsDeleted = 0ul, + Name = "机构树", + OpenType = 0, + Permission = "sysOrg:tree", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Application = "system", + Code = "sys_pos_mgr", + Component = "system/pos/index", + IsDeleted = 0ul, + Name = "职位管理", + OpenType = 1, + Pid = "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],", + Router = "/pos", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "d2436601-bc48-4610-ba67-5b666f8ce33a", + Application = "system", + Code = "sys_pos_mgr_page", + IsDeleted = 0ul, + Name = "职位查询", + OpenType = 0, + Permission = "sysPos:page", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1305efaa-b81a-475f-9dde-8f6549ca7743", + Application = "system", + Code = "sys_pos_mgr_list", + IsDeleted = 0ul, + Name = "职位列表", + OpenType = 0, + Permission = "sysPos:list", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "c227e732-f231-4488-89b0-d1c9dad78950", + Application = "system", + Code = "sys_pos_mgr_add", + IsDeleted = 0ul, + Name = "职位增加", + OpenType = 0, + Permission = "sysPos:add", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "9dafbe04-83c9-482c-9c83-81f4da045da5", + Application = "system", + Code = "sys_pos_mgr_edit", + IsDeleted = 0ul, + Name = "职位编辑", + OpenType = 0, + Permission = "sysPos:edit", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "031df05e-b7c6-4ecd-aff2-f189c994e86d", + Application = "system", + Code = "sys_pos_mgr_delete", + IsDeleted = 0ul, + Name = "职位删除", + OpenType = 0, + Permission = "sysPos:delete", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "fe5ee8a1-2145-43c6-bdeb-518f3a9c127d", + Application = "system", + Code = "sys_pos_mgr_detail", + IsDeleted = 0ul, + Name = "职位详情", + OpenType = 0, + Permission = "sysPos:detail", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", + Application = "system", + Code = "auth_manager", + Component = "PageView", + Icon = "safety-certificate", + IsDeleted = 0ul, + Name = "权限管理", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/auth", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Application = "system", + Code = "sys_app_mgr", + Component = "system/app/index", + IsDeleted = 0ul, + Name = "应用管理", + OpenType = 1, + Pid = "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],", + Router = "/app", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "dbaa7a6d-234f-4cc9-977f-4544b8bb45b8", + Application = "system", + Code = "sys_app_mgr_page", + IsDeleted = 0ul, + Name = "应用查询", + OpenType = 0, + Permission = "sysApp:page", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ab7b2b41-b0bc-4b9c-9017-f5c6918e393e", + Application = "system", + Code = "sys_app_mgr_list", + IsDeleted = 0ul, + Name = "应用列表", + OpenType = 0, + Permission = "sysApp:list", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f4e1d63b-5d92-46eb-82aa-267335a5a3f3", + Application = "system", + Code = "sys_app_mgr_add", + IsDeleted = 0ul, + Name = "应用增加", + OpenType = 0, + Permission = "sysApp:add", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f33a3791-1c01-4d30-bcc3-d9fdf5246376", + Application = "system", + Code = "sys_app_mgr_edit", + IsDeleted = 0ul, + Name = "应用编辑", + OpenType = 0, + Permission = "sysApp:edit", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e0a6cf90-0a8b-44e4-a32f-5f43ef996b82", + Application = "system", + Code = "sys_app_mgr_delete", + IsDeleted = 0ul, + Name = "应用删除", + OpenType = 0, + Permission = "sysApp:delete", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "a0abe974-5ae9-440b-9d16-2412eab52d70", + Application = "system", + Code = "sys_app_mgr_detail", + IsDeleted = 0ul, + Name = "应用详情", + OpenType = 0, + Permission = "sysApp:detail", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f640e243-b439-4109-8aea-c66205ef6b12", + Application = "system", + Code = "sys_app_mgr_set_as_default", + IsDeleted = 0ul, + Name = "设为默认应用", + OpenType = 0, + Permission = "sysApp:setAsDefault", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Application = "system", + Code = "sys_menu_mgr", + Component = "system/menu/index", + IsDeleted = 0ul, + Name = "菜单管理", + OpenType = 1, + Pid = "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],", + Router = "/menu", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e9982e73-1833-4674-9403-ee3dee2efdf7", + Application = "system", + Code = "sys_menu_mgr_list", + IsDeleted = 0ul, + Name = "菜单列表", + OpenType = 0, + Permission = "sysMenu:list", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "758e15e6-75a6-4b72-8f94-5da379e53354", + Application = "system", + Code = "sys_menu_mgr_add", + IsDeleted = 0ul, + Name = "菜单增加", + OpenType = 0, + Permission = "sysMenu:add", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "07139c19-6b39-49f5-9e22-c4dc7e9d947b", + Application = "system", + Code = "sys_menu_mgr_edit", + IsDeleted = 0ul, + Name = "菜单编辑", + OpenType = 0, + Permission = "sysMenu:edit", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "857fb581-78ff-4884-a6fb-8dfb4951fef9", + Application = "system", + Code = "sys_menu_mgr_delete", + IsDeleted = 0ul, + Name = "菜单删除", + OpenType = 0, + Permission = "sysMenu:delete", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "cd43a8ee-9f98-4355-bf81-ba40f388b23f", + Application = "system", + Code = "sys_menu_mgr_detail", + IsDeleted = 0ul, + Name = "菜单详情", + OpenType = 0, + Permission = "sysMenu:detail", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ec318997-596d-403a-91be-f303b234b02d", + Application = "system", + Code = "sys_menu_mgr_grant_tree", + IsDeleted = 0ul, + Name = "菜单授权树", + OpenType = 0, + Permission = "sysMenu:treeForGrant", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "3892ef5d-39b2-4a4d-8047-cb96542fb54f", + Application = "system", + Code = "sys_menu_mgr_tree", + IsDeleted = 0ul, + Name = "菜单树", + OpenType = 0, + Permission = "sysMenu:tree", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "00831a3b-d080-411f-afb9-9f415334b192", + Application = "system", + Code = "sys_menu_mgr_change", + IsDeleted = 0ul, + Name = "菜单切换", + OpenType = 0, + Permission = "sysMenu:change", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Application = "system", + Code = "sys_role_mgr", + Component = "system/role/index", + IsDeleted = 0ul, + Name = "角色管理", + OpenType = 1, + Pid = "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],", + Router = "/role", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4241f4a0-89ab-4a6a-80bb-2830f855d3be", + Application = "system", + Code = "sys_role_mgr_page", + IsDeleted = 0ul, + Name = "角色查询", + OpenType = 0, + Permission = "sysRole:page", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "6a48beb1-c828-43d6-af3d-3e18ef163070", + Application = "system", + Code = "sys_role_mgr_add", + IsDeleted = 0ul, + Name = "角色增加", + OpenType = 0, + Permission = "sysRole:add", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1198a602-a23d-4a06-aa9a-76aaf5f065a7", + Application = "system", + Code = "sys_role_mgr_edit", + IsDeleted = 0ul, + Name = "角色编辑", + OpenType = 0, + Permission = "sysRole:edit", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e7708eeb-2c87-4c3d-bc71-c395e5d708db", + Application = "system", + Code = "sys_role_mgr_delete", + IsDeleted = 0ul, + Name = "角色删除", + OpenType = 0, + Permission = "sysRole:delete", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "63ab477f-88fb-4f4b-9dcd-0cb83ac767f6", + Application = "system", + Code = "sys_role_mgr_detail", + IsDeleted = 0ul, + Name = "角色详情", + OpenType = 0, + Permission = "sysRole:detail", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "2622348c-dd8f-4ade-a350-de0a8f01e1f6", + Application = "system", + Code = "sys_role_mgr_drop_down", + IsDeleted = 0ul, + Name = "角色下拉", + OpenType = 0, + Permission = "sysRole:dropDown", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "73d84863-b381-40be-84bc-ec8381fa6c0a", + Application = "system", + Code = "sys_role_mgr_grant_menu", + IsDeleted = 0ul, + Name = "角色授权菜单", + OpenType = 0, + Permission = "sysRole:grantMenu", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "bbc5e792-3d72-4d0d-8ddb-25cf2c4e1374", + Application = "system", + Code = "sys_role_mgr_own_menu", + IsDeleted = 0ul, + Name = "角色拥有菜单", + OpenType = 0, + Permission = "sysRole:ownMenu", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "19234814-6007-484c-818c-88a664a2a339", + Application = "system", + Code = "sys_role_mgr_grant_data", + IsDeleted = 0ul, + Name = "角色授权数据", + OpenType = 0, + Permission = "sysRole:grantData", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "19e5c5f6-b598-4c42-8eed-3d46fb11b465", + Application = "system", + Code = "sys_role_mgr_own_data", + IsDeleted = 0ul, + Name = "角色拥有数据", + OpenType = 0, + Permission = "sysRole:ownData", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Application = "system", + Code = "system_tools", + Component = "PageView", + Icon = "euro", + IsDeleted = 0ul, + Name = "开发管理", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/tools", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Application = "system", + Code = "system_tools_config", + Component = "system/config/index", + IsDeleted = 0ul, + Name = "系统配置", + OpenType = 1, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/config", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "c14c82bd-632d-4cc9-9236-37aa64b15ecf", + Application = "system", + Code = "system_tools_config_page", + IsDeleted = 0ul, + Name = "配置查询", + OpenType = 0, + Permission = "sysConfig:page", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "78d31d68-9c9b-4e02-94c9-8a74eea4c1fb", + Application = "system", + Code = "system_tools_config_list", + IsDeleted = 0ul, + Name = "配置列表", + OpenType = 0, + Permission = "sysConfig:list", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "fc91afb5-2b9e-428b-b5ff-b0ef35dd5336", + Application = "system", + Code = "system_tools_config_add", + IsDeleted = 0ul, + Name = "配置增加", + OpenType = 0, + Permission = "sysConfig:add", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1efb72e8-3449-490a-92e0-308b124c338f", + Application = "system", + Code = "system_tools_config_edit", + IsDeleted = 0ul, + Name = "配置编辑", + OpenType = 0, + Permission = "sysConfig:edit", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "5760230f-e6fc-4c3d-ba38-1c8a5a923eb3", + Application = "system", + Code = "system_tools_config_delete", + IsDeleted = 0ul, + Name = "配置删除", + OpenType = 0, + Permission = "sysConfig:delete", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "6bfc0c53-5d6c-437c-9757-bc79e664d0f5", + Application = "system", + Code = "system_tools_config_detail", + IsDeleted = 0ul, + Name = "配置详情", + OpenType = 0, + Permission = "sysConfig:detail", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f7fe47a3-86b2-4660-9920-0c9836755666", + Application = "system", + Code = "sys_app_mgr_set_as_default", + IsDeleted = 0ul, + Name = "设为默认应用", + OpenType = 0, + Permission = "sysApp:setAsDefault", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "cde43456-baae-4e9b-b6f9-b0ea9ab49adb", + Application = "system", + Code = "sys_email_mgr", + Component = "system/email/index", + IsDeleted = 0ul, + Name = "邮件发送", + OpenType = 1, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/email", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4d4cf5b3-bd4c-4f17-9fb2-47b28b00681f", + Application = "system", + Code = "sys_email_mgr_send_email", + IsDeleted = 0ul, + Name = "发送文本邮件", + OpenType = 0, + Permission = "email:sendEmail", + Pid = "cde43456-baae-4e9b-b6f9-b0ea9ab49adb", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[cde43456-baae-4e9b-b6f9-b0ea9ab49adb],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "51e45073-1461-4b3b-ae06-d0d3dcf222e0", + Application = "system", + Code = "sys_email_mgr_send_email_html", + IsDeleted = 0ul, + Name = "发送html邮件", + OpenType = 0, + Permission = "email:sendEmailHtml", + Pid = "cde43456-baae-4e9b-b6f9-b0ea9ab49adb", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[cde43456-baae-4e9b-b6f9-b0ea9ab49adb],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e571a1c9-8b43-459f-9dc6-1dcf967627b7", + Application = "system", + Code = "sys_sms_mgr", + Component = "system/sms/index", + IsDeleted = 0ul, + Name = "短信管理", + OpenType = 1, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/sms", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "2afa4925-b927-457e-88a1-d215b7d75fb6", + Application = "system", + Code = "sys_sms_mgr_page", + IsDeleted = 0ul, + Name = "短信发送查询", + OpenType = 0, + Permission = "sms:page", + Pid = "e571a1c9-8b43-459f-9dc6-1dcf967627b7", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[e571a1c9-8b43-459f-9dc6-1dcf967627b7],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "97c1b073-5e19-4542-89e2-d8da44d0f1df", + Application = "system", + Code = "sys_sms_mgr_send_login_message", + IsDeleted = 0ul, + Name = "发送验证码短信", + OpenType = 0, + Permission = "sms:sendLoginMessage", + Pid = "e571a1c9-8b43-459f-9dc6-1dcf967627b7", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[e571a1c9-8b43-459f-9dc6-1dcf967627b7],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "d2454bd2-f300-4b28-95c0-12432c28cbdf", + Application = "system", + Code = "sys_sms_mgr_validate_message", + IsDeleted = 0ul, + Name = "验证短信验证码", + OpenType = 0, + Permission = "sms:validateMessage", + Pid = "e571a1c9-8b43-459f-9dc6-1dcf967627b7", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[e571a1c9-8b43-459f-9dc6-1dcf967627b7],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Application = "system", + Code = "sys_dict_mgr", + Component = "system/dict/index", + IsDeleted = 0ul, + Name = "字典管理", + OpenType = 1, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/dict", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "70c5e8c5-6104-4e53-99c0-4743e557456b", + Application = "system", + Code = "sys_dict_mgr_dict_type_page", + IsDeleted = 0ul, + Name = "字典类型查询", + OpenType = 0, + Permission = "sysDictType:page", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1bd1d982-e05a-4bdc-a4e0-752d94f3196c", + Application = "system", + Code = "sys_dict_mgr_dict_type_list", + IsDeleted = 0ul, + Name = "字典类型列表", + OpenType = 0, + Permission = "sysDictType:list", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "bd09b023-0884-4f31-8cf7-f66f789fa3db", + Application = "system", + Code = "sys_dict_mgr_dict_type_add", + IsDeleted = 0ul, + Name = "字典类型增加", + OpenType = 0, + Permission = "sysDictType:add", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1f7a41ff-5a46-449c-81f3-1618dfdcb4cd", + Application = "system", + Code = "sys_dict_mgr_dict_type_delete", + IsDeleted = 0ul, + Name = "字典类型删除", + OpenType = 0, + Permission = "sysDictType:delete", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "2381cde4-2174-47e7-a1e5-e58da70e7a11", + Application = "system", + Code = "sys_dict_mgr_dict_type_edit", + IsDeleted = 0ul, + Name = "字典类型编辑", + OpenType = 0, + Permission = "sysDictType:edit", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "8f7d3c74-8800-4922-9662-ac6af378c882", + Application = "system", + Code = "sys_dict_mgr_dict_type_detail", + IsDeleted = 0ul, + Name = "字典类型详情", + OpenType = 0, + Permission = "sysDictType:detail", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4f87b6de-be62-4398-b680-1f8611f2cd70", + Application = "system", + Code = "sys_dict_mgr_dict_type_drop_down", + IsDeleted = 0ul, + Name = "字典类型下拉", + OpenType = 0, + Permission = "sysDictType:dropDown", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "07c799b2-e8e9-4955-83da-97560f161d87", + Application = "system", + Code = "sys_dict_mgr_dict_type_change_status", + IsDeleted = 0ul, + Name = "字典类型修改状态", + OpenType = 0, + Permission = "sysDictType:changeStatus", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "29be8e3c-c2bb-4162-b282-fdf58c218b9d", + Application = "system", + Code = "sys_dict_mgr_dict_page", + IsDeleted = 0ul, + Name = "字典值查询", + OpenType = 0, + Permission = "sysDictData:page", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "b8cbc4e1-ac10-4cda-b1e4-f816a2632d02", + Application = "system", + Code = "sys_dict_mgr_dict_list", + IsDeleted = 0ul, + Name = "字典值列表", + OpenType = 0, + Permission = "sysDictData:list", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "54e97bde-94d6-42df-89e3-4c3ace153b22", + Application = "system", + Code = "sys_dict_mgr_dict_add", + IsDeleted = 0ul, + Name = "字典值增加", + OpenType = 0, + Permission = "sysDictData:add", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "be98da08-a3b0-463c-8208-05d843620258", + Application = "system", + Code = "sys_dict_mgr_dict_delete", + IsDeleted = 0ul, + Name = "字典值删除", + OpenType = 0, + Permission = "sysDictData:delete", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "38809fc3-163f-4fe9-a488-c9bb5bce752a", + Application = "system", + Code = "sys_dict_mgr_dict_edit", + IsDeleted = 0ul, + Name = "字典值编辑", + OpenType = 0, + Permission = "sysDictData:edit", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "fc511b42-f0a1-489b-8418-7ef94b0fb374", + Application = "system", + Code = "sys_role_mgr_grant_data", + IsDeleted = 0ul, + Name = "字典值详情", + OpenType = 0, + Permission = "sysDictData:detail", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "200428b3-1605-4c70-b840-e691e302ae69", + Application = "system", + Code = "sys_dict_mgr_dict_change_status", + IsDeleted = 0ul, + Name = "字典值修改状态", + OpenType = 0, + Permission = "sysDictData:changeStatus", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "d40f424d-d5fc-4b86-a2bd-3a5a76076bc1", + Application = "system", + Code = "sys_swagger_mgr", + Component = "Iframe", + IsDeleted = 0ul, + Link = "http://127.0.0.1:5566/", + Name = "接口文档", + OpenType = 2, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/swagger", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "eec4563e-9307-4ccd-ac3a-93598badb195", + Application = "system", + Code = "sys_log_mgr", + Component = "PageView", + Icon = "read", + IsDeleted = 0ul, + Name = "日志管理", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/log", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "322b2cb6-df29-483b-b011-54dce1532fae", + Application = "system", + Code = "sys_log_mgr_vis_log", + Component = "system/log/vislog/index", + IsDeleted = 0ul, + Name = "访问日志", + OpenType = 1, + Pid = "eec4563e-9307-4ccd-ac3a-93598badb195", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],", + Router = "/vislog", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "122641c1-ab6d-4f91-9527-16fc8fea9708", + Application = "system", + Code = "sys_log_mgr_vis_log_page", + IsDeleted = 0ul, + Name = "访问日志查询", + OpenType = 0, + Permission = "sysVisLog:page", + Pid = "322b2cb6-df29-483b-b011-54dce1532fae", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[322b2cb6-df29-483b-b011-54dce1532fae],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f2367804-6382-4e72-8282-e4f6f988ecd1", + Application = "system", + Code = "sys_log_mgr_vis_log_delete", + IsDeleted = 0ul, + Name = "访问日志清空", + OpenType = 0, + Permission = "sysVisLog:delete", + Pid = "322b2cb6-df29-483b-b011-54dce1532fae", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[322b2cb6-df29-483b-b011-54dce1532fae],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1a1a13cb-f9a9-4ffe-924d-d523db79f7bf", + Application = "system", + Code = "sys_log_mgr_op_log", + Component = "system/log/oplog/index", + IsDeleted = 0ul, + Name = "操作日志", + OpenType = 1, + Pid = "eec4563e-9307-4ccd-ac3a-93598badb195", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],", + Router = "/oplog", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "7f44f49e-6458-4149-bbcd-9a937f552cec", + Application = "system", + Code = "sys_log_mgr_op_log_page", + IsDeleted = 0ul, + Name = "操作日志查询", + OpenType = 0, + Permission = "sysOpLog:page", + Pid = "1a1a13cb-f9a9-4ffe-924d-d523db79f7bf", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[1a1a13cb-f9a9-4ffe-924d-d523db79f7bf],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "263e0c00-2796-411c-9f50-0aa361f7781c", + Application = "system", + Code = "sys_log_mgr_op_log_delete", + IsDeleted = 0ul, + Name = "操作日志清空", + OpenType = 0, + Permission = "sysOpLog:delete", + Pid = "1a1a13cb-f9a9-4ffe-924d-d523db79f7bf", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[1a1a13cb-f9a9-4ffe-924d-d523db79f7bf],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", + Application = "system", + Code = "sys_monitor_mgr", + Component = "PageView", + Icon = "deployment-unit", + IsDeleted = 0ul, + Name = "系统监控", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/monitor", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "c1e70042-fe3f-4efc-a6cc-86de8507f948", + Application = "system", + Code = "sys_monitor_mgr_machine_monitor", + Component = "system/machine/index", + IsDeleted = 0ul, + Name = "服务监控", + OpenType = 1, + Pid = "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],", + Router = "/machine", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "444f3658-defe-47a7-880e-bf0af8b66591", + Application = "system", + Code = "sys_monitor_mgr_machine_monitor_query", + IsDeleted = 0ul, + Name = "服务监控查询", + OpenType = 0, + Permission = "sysMachine:query", + Pid = "c1e70042-fe3f-4efc-a6cc-86de8507f948", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],[c1e70042-fe3f-4efc-a6cc-86de8507f948],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "49a8b476-327b-4f33-87b8-2d9bc50dc390", + Application = "system", + Code = "sys_monitor_mgr_online_user", + Component = "system/onlineUser/index", + IsDeleted = 0ul, + Name = "在线用户", + OpenType = 1, + Pid = "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],", + Router = "/onlineUser", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4785eb5a-678a-4f9c-b07c-3b92acdd6de0", + Application = "system", + Code = "sys_monitor_mgr_online_user_list", + IsDeleted = 0ul, + Name = "在线用户列表", + OpenType = 0, + Permission = "sysOnlineUser:list", + Pid = "49a8b476-327b-4f33-87b8-2d9bc50dc390", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],[49a8b476-327b-4f33-87b8-2d9bc50dc390],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4dbf6765-ac79-4708-a9d5-16a4d4b09164", + Application = "system", + Code = "sys_monitor_mgr_online_user_force_exist", + IsDeleted = 0ul, + Name = "在线用户强退", + OpenType = 0, + Permission = "sysOnlineUser:forceExist", + Pid = "49a8b476-327b-4f33-87b8-2d9bc50dc390", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],[49a8b476-327b-4f33-87b8-2d9bc50dc390],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "31c2af01-b856-4a1d-a131-cdf8e847b1a4", + Application = "system", + Code = "sys_monitor_mgr_druid", + Component = "Iframe", + IsDeleted = 0ul, + Link = "http://localhost:82/druid/login.html", + Name = "数据监控", + OpenType = 2, + Pid = "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],", + Router = "/druid", + Sort = 100, + Status = 0, + Type = 1, + Visible = 0ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "d4cac841-99e5-4014-af17-2986c9340306", + Application = "system", + Code = "sys_notice", + Component = "PageView", + Icon = "sound", + IsDeleted = 0ul, + Name = "通知公告", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/notice", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Application = "system", + Code = "sys_notice_mgr", + Component = "system/notice/index", + IsDeleted = 0ul, + Name = "公告管理", + OpenType = 1, + Pid = "d4cac841-99e5-4014-af17-2986c9340306", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],", + Router = "/notice", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "54584ab7-25d1-45b7-b3d4-76ba21511f97", + Application = "system", + Code = "sys_notice_mgr_page", + IsDeleted = 0ul, + Name = "公告查询", + OpenType = 0, + Permission = "sysNotice:page", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f27c8431-7da5-4ffe-a8f3-b511cf44c0c8", + Application = "system", + Code = "sys_notice_mgr_add", + IsDeleted = 0ul, + Name = "公告增加", + OpenType = 0, + Permission = "sysNotice:add", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f84c1f3a-3a51-4be2-97c9-7543b044e457", + Application = "system", + Code = "sys_notice_mgr_edit", + IsDeleted = 0ul, + Name = "公告编辑", + OpenType = 0, + Permission = "sysNotice:edit", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "a8abcb85-ad3b-47b9-8c9b-e7d1876b90cf", + Application = "system", + Code = "sys_notice_mgr_delete", + IsDeleted = 0ul, + Name = "公告删除", + OpenType = 0, + Permission = "sysNotice:delete", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "fe9cbb41-7b05-4f32-b960-87a1ef146166", + Application = "system", + Code = "sys_notice_mgr_detail", + IsDeleted = 0ul, + Name = "公告查看", + OpenType = 0, + Permission = "sysNotice:detail", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "3e547bb0-4cf5-4cf0-8386-48d2f3c12dcb", + Application = "system", + Code = "sys_notice_mgr_changeStatus", + IsDeleted = 0ul, + Name = "公告修改状态", + OpenType = 0, + Permission = "sysNotice:changeStatus", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ac3065ff-d239-4e0e-86e5-d72cc658224c", + Application = "system", + Code = "sys_notice_mgr_received", + Component = "system/noticeReceived/index", + IsDeleted = 0ul, + Name = "已收公告", + OpenType = 1, + Pid = "d4cac841-99e5-4014-af17-2986c9340306", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],", + Router = "/noticeReceived", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e2d4b13b-eb3e-4ead-8fb8-4c61a3004726", + Application = "system", + Code = "sys_notice_mgr_received_page", + IsDeleted = 0ul, + Name = "已收公告查询", + OpenType = 0, + Permission = "sysNotice:received", + Pid = "ac3065ff-d239-4e0e-86e5-d72cc658224c", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[ac3065ff-d239-4e0e-86e5-d72cc658224c],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "05326e62-f496-4950-8a29-40e8a479424f", + Application = "system", + Code = "sys_file_mgr", + Component = "PageView", + Icon = "file", + IsDeleted = 0ul, + Name = "文件管理", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/file", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "0af2a460-bbb0-472c-b027-8532970425df", + Application = "system", + Code = "sys_file_mgr_sys_file", + Component = "system/file/index", + IsDeleted = 0ul, + Name = "系统文件", + OpenType = 1, + Pid = "05326e62-f496-4950-8a29-40e8a479424f", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],", + Router = "/file", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "c7bac800-b922-4173-bd8d-9888b4eab1d4", + Application = "system", + Code = "sys_file_mgr_sys_file_page", + IsDeleted = 0ul, + Name = "文件查询", + OpenType = 0, + Permission = "sysFileInfo:page", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f47e1fa7-6329-4d67-8fe6-36ca06aad54b", + Application = "system", + Code = "sys_file_mgr_sys_file_list", + IsDeleted = 0ul, + Name = "文件列表", + OpenType = 0, + Permission = "sysFileInfo:list", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "cca0a2ee-cfb9-4996-affb-dc8d8168ac10", + Application = "system", + Code = "sys_file_mgr_sys_file_delete", + IsDeleted = 0ul, + Name = "文件删除", + OpenType = 0, + Permission = "sysFileInfo:delete", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "eb738eaa-5eed-466d-b422-4eb6f4662dd9", + Application = "system", + Code = "sys_file_mgr_sys_file_detail", + IsDeleted = 0ul, + Name = "文件详情", + OpenType = 0, + Permission = "sysFileInfo:detail", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "69b97ace-d849-4e52-8fc2-9da7d93e325f", + Application = "system", + Code = "sys_file_mgr_sys_file_upload", + IsDeleted = 0ul, + Name = "文件上传", + OpenType = 0, + Permission = "sysFileInfo:upload", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "e286d53d-bf3c-4711-b0a3-15cfad0a7521", + Application = "system", + Code = "sys_file_mgr_sys_file_download", + IsDeleted = 0ul, + Name = "文件下载", + OpenType = 0, + Permission = "sysFileInfo:download", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1975891b-7940-44a8-a513-9f2e8b05dda1", + Application = "system", + Code = "sys_file_mgr_sys_file_preview", + IsDeleted = 0ul, + Name = "图片预览", + OpenType = 0, + Permission = "sysFileInfo:preview", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "ba03cfd5-5d72-465f-87b6-71134da68fab", + Application = "system", + Code = "sys_timers", + Component = "PageView", + Icon = "dashboard", + IsDeleted = 0ul, + Name = "定时任务", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/timers", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Application = "system", + Code = "sys_timers_mgr", + Component = "system/timers/index", + IsDeleted = 0ul, + Name = "任务管理", + OpenType = 1, + Pid = "ba03cfd5-5d72-465f-87b6-71134da68fab", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],", + Router = "/timers", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "db62154a-470e-43c8-8959-a686b954fe7d", + Application = "system", + Code = "sys_timers_mgr_page", + IsDeleted = 0ul, + Name = "定时任务查询", + OpenType = 0, + Permission = "sysTimers:page", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "dc07cd9f-4a53-40d9-988e-70290a146eff", + Application = "system", + Code = "sys_timers_mgr_list", + IsDeleted = 0ul, + Name = "定时任务列表", + OpenType = 0, + Permission = "sysTimers:list", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "1e562d31-c2f8-4af8-be4b-47e3b251d9a3", + Application = "system", + Code = "sys_timers_mgr_detail", + IsDeleted = 0ul, + Name = "定时任务详情", + OpenType = 0, + Permission = "sysTimers:detail", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f27ba442-7d6f-499f-8053-a737adc3492a", + Application = "system", + Code = "sys_timers_mgr_add", + IsDeleted = 0ul, + Name = "定时任务增加", + OpenType = 0, + Permission = "sysTimers:add", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "99129601-0be5-43ee-842b-a428603f013b", + Application = "system", + Code = "sys_timers_mgr_delete", + IsDeleted = 0ul, + Name = "定时任务删除", + OpenType = 0, + Permission = "sysTimers:delete", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "5e118fc0-f580-4d06-a89d-f321a84e5654", + Application = "system", + Code = "sys_timers_mgr_edit", + IsDeleted = 0ul, + Name = "定时任务编辑", + OpenType = 0, + Permission = "sysTimers:edit", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "4272f2e4-4a8b-45bb-b688-2b9471c35e83", + Application = "system", + Code = "sys_timers_mgr_get_action_classes", + IsDeleted = 0ul, + Name = "定时任务可执行列表", + OpenType = 0, + Permission = "sysTimers:getActionClasses", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "54094687-f661-4cba-bdfc-e76f22db8d76", + Application = "system", + Code = "sys_timers_mgr_start", + IsDeleted = 0ul, + Name = "定时任务启动", + OpenType = 0, + Permission = "sysTimers:start", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "6b82d407-d1ea-440e-9245-128ad03dffc0", + Application = "system", + Code = "sys_timers_mgr_stop", + IsDeleted = 0ul, + Name = "定时任务关闭", + OpenType = 0, + Permission = "sysTimers:stop", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "5172265d-eda3-4b8a-a542-d582467a51a1", + Application = "system_tool", + Code = "code_gen", + Component = "gen/codeGenerate/index", + Icon = "thunderbolt", + IsDeleted = 0ul, + Name = "代码生成", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/codeGenerate/index", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "cf51df0a-8e0b-4252-ba06-9646cad648d1", + Application = "system_tool", + Code = "form_design", + Component = "system/formDesign/index", + Icon = "robot", + IsDeleted = 0ul, + Name = "表单设计", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/formDesign/index", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "f4cf2a3d-0714-4ca4-a691-0b363c172f82", + Application = "advanced", + Code = "sys_tenant", + Component = "PageView", + Icon = "switcher", + IsDeleted = 0ul, + Name = "SaaS租户", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/tenant", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Application = "advanced", + Code = "sys_tenant_mgr", + Component = "system/tenant/index", + IsDeleted = 0ul, + Name = "租户管理", + OpenType = 1, + Pid = "f4cf2a3d-0714-4ca4-a691-0b363c172f82", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],", + Router = "/tenant", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "8985ec0a-5060-4812-bf47-4f3102948066", + Application = "advanced", + Code = "sys_tenant_mgr_page", + IsDeleted = 0ul, + Name = "租户查询", + OpenType = 0, + Permission = "sysTenant:page", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "d9584afb-18de-4f7e-b992-c21ad77b1aae", + Application = "advanced", + Code = "sys_tenant_mgr_detail", + IsDeleted = 0ul, + Name = "租户详情", + OpenType = 0, + Permission = "sysTenant:detail", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "01ae6b95-9c1e-4882-a9ac-ebb9f1868c54", + Application = "advanced", + Code = "sys_tenant_mgr_add", + IsDeleted = 0ul, + Name = "租户增加", + OpenType = 0, + Permission = "sysTenant:add", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "59e9f6da-151a-4201-bea1-00ef06fe5842", + Application = "advanced", + Code = "sys_tenant_mgr_delete", + IsDeleted = 0ul, + Name = "租户删除", + OpenType = 0, + Permission = "sysTenant:delete", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }, + new + { + Id = "220b6a86-e65d-469b-8aa0-46c4f5e77ab8", + Application = "advanced", + Code = "sys_tenant_mgr_edit", + IsDeleted = 0ul, + Name = "租户编辑", + OpenType = 0, + Permission = "sysTenant:edit", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + VisibleParent = 0ul, + Weight = 1 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysNotice", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("CancelTime") + .HasColumnType("datetime") + .HasComment("撤回时间"); + + b.Property("Content") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("内容"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("PublicOrgId") + .HasColumnType("varchar(36)") + .HasColumnName("PublicOrgId") + .HasComment("发布机构Id"); + + b.Property("PublicOrgName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("发布机构名称"); + + b.Property("PublicTime") + .HasColumnType("datetime") + .HasComment("发布时间"); + + b.Property("PublicUserId") + .HasColumnType("varchar(36)") + .HasColumnName("PublicUserId") + .HasComment("发布人Id"); + + b.Property("PublicUserName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("发布人姓名"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("Title") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("标题"); + + b.Property("Type") + .HasColumnType("int") + .HasComment("类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_notice"); + + b + .HasComment("通知公告表"); + }); + + modelBuilder.Entity("Ewide.Core.SysNoticeUser", b => + { + b.Property("NoticeId") + .HasColumnType("varchar(36)") + .HasColumnName("NoticeId") + .HasComment("通知公告Id"); + + b.Property("ReadStatus") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("ReadTime") + .HasColumnType("datetime") + .HasComment("阅读时间"); + + b.Property("UserId") + .HasColumnType("varchar(36)") + .HasColumnName("UserId") + .HasComment("用户Id"); + + b.ToTable("sys_notice_user"); + + b + .HasComment("通知公告用户表"); + }); + + modelBuilder.Entity("Ewide.Core.SysOauthUser", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("AccessToken") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Token"); + + b.Property("Avatar") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("头像"); + + b.Property("Blog") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("用户网址"); + + b.Property("Company") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("所在公司"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Email") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("邮箱"); + + b.Property("Gender") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("性别"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Location") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("位置"); + + b.Property("NickName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("昵称"); + + b.Property("Phone") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Source") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("用户来源"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Uuid") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("UUID"); + + b.HasKey("Id"); + + b.ToTable("sys_oauth_user"); + + b + .HasComment("Oauth登录用户表"); + }); + + modelBuilder.Entity("Ewide.Core.SysOrg", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("AreaCode") + .HasColumnType("varchar(50) CHARACTER SET utf8mb4"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Contacts") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("联系人"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Pid") + .HasColumnType("varchar(36)") + .HasColumnName("Pid") + .HasComment("父Id"); + + b.Property("Pids") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Pids"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("Tel") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.HasIndex("AreaCode"); + + b.ToTable("sys_org"); + + b + .HasComment("组织机构表"); + + b.HasData( + new + { + Id = "12d888de-f55d-4c88-b0a0-7c3510664d97", + Code = "hxjt", + IsDeleted = 0ul, + Name = "华夏集团", + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Remark = "华夏集团", + Sort = 100, + Status = 0 + }, + new + { + Id = "8a2271d6-5bda-4544-bdd3-27e53a8b418e", + Code = "hxjt_bj", + IsDeleted = 0ul, + Name = "华夏集团北京分公司", + Pid = "12d888de-f55d-4c88-b0a0-7c3510664d97", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],", + Remark = "华夏集团北京分公司", + Sort = 100, + Status = 0 + }, + new + { + Id = "127c0a5d-43ac-4370-b313-082361885aca", + Code = "hxjt_cd", + IsDeleted = 0ul, + Name = "华夏集团成都分公司", + Pid = "12d888de-f55d-4c88-b0a0-7c3510664d97", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],", + Remark = "华夏集团成都分公司", + Sort = 100, + Status = 0 + }, + new + { + Id = "f236ab2d-e1b5-4e9d-844f-a59ec32c20e4", + Code = "hxjt_bj_yfb", + IsDeleted = 0ul, + Name = "研发部", + Pid = "8a2271d6-5bda-4544-bdd3-27e53a8b418e", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[8a2271d6-5bda-4544-bdd3-27e53a8b418e],", + Remark = "华夏集团北京分公司研发部", + Sort = 100, + Status = 0 + }, + new + { + Id = "07322be0-2015-41f2-859e-132b5e142fca", + Code = "hxjt_bj_qhb", + IsDeleted = 0ul, + Name = "企划部", + Pid = "8a2271d6-5bda-4544-bdd3-27e53a8b418e", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[8a2271d6-5bda-4544-bdd3-27e53a8b418e],", + Remark = "华夏集团北京分公司企划部", + Sort = 100, + Status = 0 + }, + new + { + Id = "49dc3f25-873d-4998-9767-46978d79d8e6", + Code = "hxjt_cd_scb", + IsDeleted = 0ul, + Name = "市场部", + Pid = "127c0a5d-43ac-4370-b313-082361885aca", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[127c0a5d-43ac-4370-b313-082361885aca],", + Remark = "华夏集团成都分公司市场部", + Sort = 100, + Status = 0 + }, + new + { + Id = "56b7a823-cc62-492b-a91b-0b053ef2683b", + Code = "hxjt_cd_cwb", + IsDeleted = 0ul, + Name = "财务部", + Pid = "127c0a5d-43ac-4370-b313-082361885aca", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[127c0a5d-43ac-4370-b313-082361885aca],", + Remark = "华夏集团成都分公司财务部", + Sort = 100, + Status = 0 + }, + new + { + Id = "e9f97d63-a585-40ff-bf0c-7406e785f660", + Code = "hxjt_cd_scb_2b", + IsDeleted = 0ul, + Name = "市场部二部", + Pid = "49dc3f25-873d-4998-9767-46978d79d8e6", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[127c0a5d-43ac-4370-b313-082361885aca],[49dc3f25-873d-4998-9767-46978d79d8e6],", + Remark = "华夏集团成都分公司市场部二部", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysPos", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_pos"); + + b + .HasComment("职位表"); + + b.HasData( + new + { + Id = "269236c4-d74e-4e54-9d50-f6f61580a197", + Code = "zjl", + IsDeleted = 0ul, + Name = "总经理", + Remark = "总经理", + Sort = 100, + Status = 0 + }, + new + { + Id = "46c68a62-f119-4ff7-b621-0bbd77504538", + Code = "fzjl", + IsDeleted = 0ul, + Name = "副总经理", + Remark = "副总经理", + Sort = 101, + Status = 0 + }, + new + { + Id = "5bd8c466-2bca-4386-a551-daac78e3cee8", + Code = "bmjl", + IsDeleted = 0ul, + Name = "部门经理", + Remark = "部门经理", + Sort = 102, + Status = 0 + }, + new + { + Id = "d89a3afe-e6ba-4018-bdae-3c98bb47ad66", + Code = "gzry", + IsDeleted = 0ul, + Name = "工作人员", + Remark = "工作人员", + Sort = 103, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysRole", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("DataScopeType") + .HasColumnType("int") + .HasComment("数据范围类型"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_role"); + + b + .HasComment("角色表"); + + b.HasData( + new + { + Id = "6dfe9189-ce10-434e-a7a7-5cdc46e85047", + Code = "sys_manager_role", + DataScopeType = 1, + IsDeleted = 0ul, + Name = "系统管理员", + Remark = "系统管理员", + Sort = 100, + Status = 0 + }, + new + { + Id = "cd187ebd-ab3d-4768-9669-85e2219c2910", + Code = "common_role", + DataScopeType = 5, + IsDeleted = 0ul, + Name = "普通用户", + Remark = "普通用户", + Sort = 101, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleArea", b => + { + b.Property("SysRoleId") + .HasColumnType("varchar(36)") + .HasComment("角色Id"); + + b.Property("AreaCode") + .HasColumnType("varchar(50) CHARACTER SET utf8mb4") + .HasComment("系统使用的区域代码"); + + b.HasKey("SysRoleId", "AreaCode"); + + b.HasIndex("AreaCode"); + + b.ToTable("sys_role_area"); + + b + .HasComment("角色区域自定义数据"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleDataScope", b => + { + b.Property("SysRoleId") + .HasColumnType("varchar(36)") + .HasColumnName("SysRoleId") + .HasComment("角色Id"); + + b.Property("SysOrgId") + .HasColumnType("varchar(36)") + .HasColumnName("SysOrgId") + .HasComment("机构Id"); + + b.HasKey("SysRoleId", "SysOrgId"); + + b.HasIndex("SysOrgId"); + + b.ToTable("sys_role_data_scope"); + + b + .HasComment("角色数据范围表"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleMenu", b => + { + b.Property("SysRoleId") + .HasColumnType("varchar(36)") + .HasColumnName("SysRoleId") + .HasComment("角色Id"); + + b.Property("SysMenuId") + .HasColumnType("varchar(36)") + .HasColumnName("SysMenuId") + .HasComment("菜单Id"); + + b.HasKey("SysRoleId", "SysMenuId"); + + b.HasIndex("SysMenuId"); + + b.ToTable("sys_role_menu"); + + b + .HasComment("角色菜单表"); + }); + + modelBuilder.Entity("Ewide.Core.SysTenant", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Connection") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库连接"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Email") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电子邮箱"); + + b.Property("Host") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("主机"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Phone") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Schema") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("架构"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_tenant"); + + b + .HasComment("租户表"); + + b.HasData( + new + { + Id = "506a14b7-882d-4548-96fa-a55dbe79bfa1", + Connection = "Data Source=./Ewide.db", + CreatedTime = new DateTime(2021, 4, 3, 0, 0, 0, 0, DateTimeKind.Unspecified), + Email = "zuohuaijun@163.com", + Host = "localhost:5566", + IsDeleted = 0ul, + Name = "默认租户", + Phone = "18020030720" + }, + new + { + Id = "eed8c4a6-70d8-49fd-9566-21a6966bb702", + Connection = "Data Source=./Dilon_1.db", + CreatedTime = new DateTime(2021, 4, 3, 0, 0, 0, 0, DateTimeKind.Unspecified), + Host = "localhost:5588", + IsDeleted = 0ul, + Name = "其他租户" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysTimer", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("BeginTime") + .HasColumnType("datetime") + .HasComment("开始时间"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Cron") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Cron表达式"); + + b.Property("EndTime") + .HasColumnType("datetime") + .HasComment("结束时间"); + + b.Property("Headers") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Headers"); + + b.Property("Interval") + .HasColumnType("int") + .HasComment("执行间隔时间"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("JobGroup") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("任务分组"); + + b.Property("JobName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("任务名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("RequestParameters") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求参数"); + + b.Property("RequestType") + .HasColumnType("int") + .HasComment("请求类型"); + + b.Property("RequestUrl") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求url"); + + b.Property("RunNumber") + .HasColumnType("int") + .HasComment("执行次数"); + + b.Property("TriggerType") + .HasColumnType("int") + .HasComment("触发器类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_timer"); + + b + .HasComment("定时任务表"); + + b.HasData( + new + { + Id = "971bc338-0c03-46d4-8113-c7738d54ea18", + BeginTime = new DateTime(2021, 3, 21, 0, 0, 0, 0, DateTimeKind.Local), + Interval = 30, + IsDeleted = 0ul, + JobGroup = "默认分组", + JobName = "百度api", + RequestType = 2, + RequestUrl = "https://www.baidu.com", + TriggerType = 1 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysUser", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Account") + .IsRequired() + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("账号"); + + b.Property("AdminType") + .HasColumnType("int") + .HasComment("管理员类型-超级管理员_1、非管理员_2"); + + b.Property("Avatar") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("头像"); + + b.Property("Birthday") + .HasColumnType("datetime") + .HasComment("生日"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Email") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("邮箱"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("LastLoginIp") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("最后登录IP"); + + b.Property("LastLoginTime") + .HasColumnType("datetime") + .HasComment("最后登录时间"); + + b.Property("Name") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("姓名"); + + b.Property("NickName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("昵称"); + + b.Property("Password") + .IsRequired() + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("密码"); + + b.Property("Phone") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("手机"); + + b.Property("SecurityLevel") + .HasColumnType("int") + .HasComment("密码安全级别"); + + b.Property("Sex") + .HasColumnType("int") + .HasComment("性别-男_1、女_2"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态-正常_0、停用_1、删除_2"); + + b.Property("Tel") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_user"); + + b + .HasComment("用户表"); + + b.HasData( + new + { + Id = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + Account = "superAdmin", + AdminType = 1, + Birthday = new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), + IsDeleted = 0ul, + LastLoginTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), + Name = "superAdmin", + Password = "e10adc3949ba59abbe56e057f20f883e", + Phone = "18020030720", + SecurityLevel = 1, + Sex = 1, + Status = 0 + }, + new + { + Id = "5398fb9a-2209-4ce7-a2c1-b6a983e502b5", + Account = "admin", + AdminType = 1, + Birthday = new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), + IsDeleted = 0ul, + LastLoginTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), + Name = "admin", + Password = "e10adc3949ba59abbe56e057f20f883e", + Phone = "18020030720", + SecurityLevel = 1, + Sex = 2, + Status = 0 + }, + new + { + Id = "16a74726-e156-499f-9942-0e0e24ad0c3f", + Account = "zuohuaijun", + AdminType = 2, + Birthday = new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), + IsDeleted = 0ul, + LastLoginTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), + Name = "zuohuaijun", + Password = "e10adc3949ba59abbe56e057f20f883e", + Phone = "18020030720", + SecurityLevel = 1, + Sex = 1, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysUserArea", b => + { + b.Property("SysUserId") + .HasColumnType("varchar(36)") + .HasColumnName("SysUserId") + .HasComment("用户Id"); + + b.Property("AreaCode") + .HasMaxLength(10) + .HasColumnType("varchar(10) CHARACTER SET utf8mb4") + .HasComment("系统使用的区域代码"); + + b.HasKey("SysUserId", "AreaCode"); + + b.HasIndex("AreaCode"); + + b.ToTable("sys_user_area"); + + b + .HasComment("用户授权区域信息"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserDataScope", b => + { + b.Property("SysUserId") + .HasColumnType("varchar(36)") + .HasColumnName("SysUserId") + .HasComment("用户Id"); + + b.Property("SysOrgId") + .HasColumnType("varchar(36)") + .HasColumnName("SysOrgId") + .HasComment("机构Id"); + + b.HasKey("SysUserId", "SysOrgId"); + + b.HasIndex("SysOrgId"); + + b.ToTable("sys_user_data_scope"); + + b + .HasComment("用户数据范围表"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserRole", b => + { + b.Property("SysUserId") + .HasColumnType("varchar(36)") + .HasColumnName("SysUserId") + .HasComment("用户Id"); + + b.Property("SysRoleId") + .HasColumnType("varchar(36)") + .HasColumnName("SysRoleId") + .HasComment("角色Id"); + + b.HasKey("SysUserId", "SysRoleId"); + + b.HasIndex("SysRoleId"); + + b.ToTable("sys_user_role"); + + b + .HasComment("用户角色表"); + }); + + modelBuilder.Entity("Ewide.Core.SysDictData", b => + { + b.HasOne("Ewide.Core.SysDictType", "SysDictType") + .WithMany("SysDictDatas") + .HasForeignKey("TypeId"); + + b.Navigation("SysDictType"); + }); + + modelBuilder.Entity("Ewide.Core.SysEmpExtOrgPos", b => + { + b.HasOne("Ewide.Core.SysEmp", "SysEmp") + .WithMany() + .HasForeignKey("SysEmpId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysOrg", "SysOrg") + .WithMany() + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysPos", "SysPos") + .WithMany() + .HasForeignKey("SysPosId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysEmp"); + + b.Navigation("SysOrg"); + + b.Navigation("SysPos"); + }); + + modelBuilder.Entity("Ewide.Core.SysEmpPos", b => + { + b.HasOne("Ewide.Core.SysEmp", "SysEmp") + .WithMany("SysEmpPos") + .HasForeignKey("SysEmpId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysPos", "SysPos") + .WithMany("SysEmpPos") + .HasForeignKey("SysPosId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysEmp"); + + b.Navigation("SysPos"); + }); + + modelBuilder.Entity("Ewide.Core.SysOrg", b => + { + b.HasOne("Ewide.Core.SysAreaCode", "Area") + .WithMany("SysOrgs") + .HasForeignKey("AreaCode"); + + b.Navigation("Area"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleArea", b => + { + b.HasOne("Ewide.Core.SysAreaCode", "Area") + .WithMany("SysRoleAreas") + .HasForeignKey("AreaCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysRole", "SysRole") + .WithMany("SysRoleAreas") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Area"); + + b.Navigation("SysRole"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleDataScope", b => + { + b.HasOne("Ewide.Core.SysOrg", "SysOrg") + .WithMany("SysRoleDataScopes") + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysRole", "SysRole") + .WithMany("SysRoleDataScopes") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysOrg"); + + b.Navigation("SysRole"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleMenu", b => + { + b.HasOne("Ewide.Core.SysMenu", "SysMenu") + .WithMany("SysRoleMenus") + .HasForeignKey("SysMenuId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysRole", "SysRole") + .WithMany("SysRoleMenus") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysMenu"); + + b.Navigation("SysRole"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserArea", b => + { + b.HasOne("Ewide.Core.SysAreaCode", "Area") + .WithMany("SysUserAreas") + .HasForeignKey("AreaCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysUser", "SysUser") + .WithMany("SysUserAreas") + .HasForeignKey("SysUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Area"); + + b.Navigation("SysUser"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserDataScope", b => + { + b.HasOne("Ewide.Core.SysOrg", "SysOrg") + .WithMany("SysUserDataScopes") + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysUser", "SysUser") + .WithMany("SysUserDataScopes") + .HasForeignKey("SysUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysOrg"); + + b.Navigation("SysUser"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserRole", b => + { + b.HasOne("Ewide.Core.SysRole", "SysRole") + .WithMany("SysUserRoles") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysUser", "SysUser") + .WithMany("SysUserRoles") + .HasForeignKey("SysUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysRole"); + + b.Navigation("SysUser"); + }); + + modelBuilder.Entity("Ewide.Core.SysAreaCode", b => + { + b.Navigation("SysOrgs"); + + b.Navigation("SysRoleAreas"); + + b.Navigation("SysUserAreas"); + }); + + modelBuilder.Entity("Ewide.Core.SysDictType", b => + { + b.Navigation("SysDictDatas"); + }); + + modelBuilder.Entity("Ewide.Core.SysEmp", b => + { + b.Navigation("SysEmpPos"); + }); + + modelBuilder.Entity("Ewide.Core.SysMenu", b => + { + b.Navigation("SysRoleMenus"); + }); + + modelBuilder.Entity("Ewide.Core.SysOrg", b => + { + b.Navigation("SysRoleDataScopes"); + + b.Navigation("SysUserDataScopes"); + }); + + modelBuilder.Entity("Ewide.Core.SysPos", b => + { + b.Navigation("SysEmpPos"); + }); + + modelBuilder.Entity("Ewide.Core.SysRole", b => + { + b.Navigation("SysRoleAreas"); + + b.Navigation("SysRoleDataScopes"); + + b.Navigation("SysRoleMenus"); + + b.Navigation("SysUserRoles"); + }); + + modelBuilder.Entity("Ewide.Core.SysUser", b => + { + b.Navigation("SysUserAreas"); + + b.Navigation("SysUserDataScopes"); + + b.Navigation("SysUserRoles"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/Api/Ewide.EntityFramework.Core/dbsettings.Development.json b/Api/Ewide.EntityFramework.Core/dbsettings.Development.json deleted file mode 100644 index ef06ef9..0000000 --- a/Api/Ewide.EntityFramework.Core/dbsettings.Development.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ConnectionStrings": { - "DefaultConnection": "Data Source=localhost;Port=3306;Database=ewide;User ID=root;Password=root;pooling=true;sslmode=none;CharSet=utf8;" - } -} \ No newline at end of file diff --git a/Web/.env.development b/Web/.env.development index f425a8b..21dabe6 100644 --- a/Web/.env.development +++ b/Web/.env.development @@ -1,3 +1,3 @@ -VUE_APP_NODE_ENV=development -VUE_APP_BASE_URL=http://localhost:5566 +VUE_APP_NODE_ENV=development +VUE_APP_BASE_URL=http://localhost:5566 VUE_APP_DEV_KEY=CJm9dFWx4IIGXHm^R1e@Y&mp*n8MQXfDKjDYP6ZVGqEAZQiC9LvX9jq8@uaMTT@T \ No newline at end of file diff --git a/Web/.env.production b/Web/.env.production index 1d6037e..d4173eb 100644 --- a/Web/.env.production +++ b/Web/.env.production @@ -1,3 +1,3 @@ -VUE_APP_NODE_ENV=production -VUE_APP_BASE_URL=http://localhost:60161 +VUE_APP_NODE_ENV=production +VUE_APP_BASE_URL=http://localhost:60161 VUE_APP_DEV_KEY=%0!qF2BpcVorlNceu#kP4SVS1bPiMUqI71%rITatPIosNOCrot@mV7PJ&br$CVvF \ No newline at end of file diff --git a/Web/src/assets/style/app.less b/Web/src/assets/style/app.less index 6eafc94..7919e32 100644 --- a/Web/src/assets/style/app.less +++ b/Web/src/assets/style/app.less @@ -1,33 +1,33 @@ -@import './extend.less'; -@import './lib/visibility.less'; -@import './lib/container.less'; -@import './lib/align.less'; -@import './lib/font-size.less'; -@import './lib/text-color.less'; -@import './lib/margin.less'; -@import './lib/width-height.less'; -@import './lib/scrollbar.less'; -@import './main.less'; -@import './frame/dark.less'; -@import './frame/light.less'; -.yo-nav-theme--dark { - .dark(); -} -.yo-nav-theme--light { - .light(); -} -@import './lib/button.less'; -@import './lib/card.less'; -@import './lib/table.less'; -@import './lib/list.less'; -@import './lib/form.less'; -@import './lib/description.less'; -@import './lib/select.less'; -@import './lib/cascader.less'; -@import './lib/dropdown.less'; -@import './lib/modal.less'; -@import './lib/tree-layout.less'; -@import './lib/authority-view.less'; -@import './lib/icon-selector.less'; -@import './theme/primary.less'; -// @import './lib/font-weight.less'; +@import './extend.less'; +@import './lib/visibility.less'; +@import './lib/container.less'; +@import './lib/align.less'; +@import './lib/font-size.less'; +@import './lib/text-color.less'; +@import './lib/margin.less'; +@import './lib/width-height.less'; +@import './lib/scrollbar.less'; +@import './main.less'; +@import './frame/dark.less'; +@import './frame/light.less'; +.yo-nav-theme--dark { + .dark(); +} +.yo-nav-theme--light { + .light(); +} +@import './lib/button.less'; +@import './lib/card.less'; +@import './lib/table.less'; +@import './lib/list.less'; +@import './lib/form.less'; +@import './lib/description.less'; +@import './lib/select.less'; +@import './lib/cascader.less'; +@import './lib/dropdown.less'; +@import './lib/modal.less'; +@import './lib/tree-layout.less'; +@import './lib/authority-view.less'; +@import './lib/icon-selector.less'; +@import './theme/primary.less'; +// @import './lib/font-weight.less'; diff --git a/Web/src/assets/style/extend.less b/Web/src/assets/style/extend.less index e1be7b4..a1febd0 100644 --- a/Web/src/assets/style/extend.less +++ b/Web/src/assets/style/extend.less @@ -1,3 +1,3 @@ -@import '~ant-design-vue/dist/antd.less'; -@padding-xxs: 4px; -@padding-xl: 32px; +@import '~ant-design-vue/dist/antd.less'; +@padding-xxs: 4px; +@padding-xl: 32px; diff --git a/Web/src/assets/style/frame/dark.less b/Web/src/assets/style/frame/dark.less index edb8dc2..609ac60 100644 --- a/Web/src/assets/style/frame/dark.less +++ b/Web/src/assets/style/frame/dark.less @@ -1,18 +1,18 @@ -@import (reference) '~@/assets/style/main.less'; -@layout-header-background: #1c2127; -.dark { - .main(@nav-background: @layout-header-background; - @nav-box-shadow-color: fade(@black, 25%); - @nav-scrollbar-background: fade(@white, 50%); - @nav-app-color: fade(@white, 35%); - @logo-color: @white; - @logo-box-shadow: none; - @header-action-color: fade(@white, 60%); - @header-action-hover-color: @white; - @header-action-hover-background: fade(@white, 20%); - @header-search-color: @white; - @header-search-background: fade(@white, 15%); - @header-search-focus-background: fade(@white, 30%); - @header-search-icon-color: fade(@white, 60%); - @header-search-icon-hover-color: @white); -} +@import (reference) '~@/assets/style/main.less'; +@layout-header-background: #1c2127; +.dark { + .main(@nav-background: @layout-header-background; + @nav-box-shadow-color: fade(@black, 25%); + @nav-scrollbar-background: fade(@white, 50%); + @nav-app-color: fade(@white, 35%); + @logo-color: @white; + @logo-box-shadow: none; + @header-action-color: fade(@white, 60%); + @header-action-hover-color: @white; + @header-action-hover-background: fade(@white, 20%); + @header-search-color: @white; + @header-search-background: fade(@white, 15%); + @header-search-focus-background: fade(@white, 30%); + @header-search-icon-color: fade(@white, 60%); + @header-search-icon-hover-color: @white); +} diff --git a/Web/src/assets/style/frame/light.less b/Web/src/assets/style/frame/light.less index 57a78ce..0aee719 100644 --- a/Web/src/assets/style/frame/light.less +++ b/Web/src/assets/style/frame/light.less @@ -1,17 +1,17 @@ -@import (reference) '~@/assets/style/main.less'; -.light { - .main(@nav-background: @white; - @nav-box-shadow-color: fade(@black, 5%); - @nav-scrollbar-background: fade(@black, 30%); - @nav-app-color: fade(@black, 35%); - @logo-color: @black; - @logo-box-shadow: inset -1px -1px 1px @border-color-split; - @header-action-color: fade(@black, 35%); - @header-action-hover-color: @icon-color-hover; - @header-action-hover-background: fade(@black, 5%); - @header-search-color: @black; - @header-search-background: @white; - @header-search-focus-background: fade(@black, 5%); - @header-search-icon-color: fade(@black, 45%); - @header-search-icon-hover-color: fade(@black, 80%)); -} +@import (reference) '~@/assets/style/main.less'; +.light { + .main(@nav-background: @white; + @nav-box-shadow-color: fade(@black, 5%); + @nav-scrollbar-background: fade(@black, 30%); + @nav-app-color: fade(@black, 35%); + @logo-color: @black; + @logo-box-shadow: inset -1px -1px 1px @border-color-split; + @header-action-color: fade(@black, 35%); + @header-action-hover-color: @icon-color-hover; + @header-action-hover-background: fade(@black, 5%); + @header-search-color: @black; + @header-search-background: @white; + @header-search-focus-background: fade(@black, 5%); + @header-search-icon-color: fade(@black, 45%); + @header-search-icon-hover-color: fade(@black, 80%)); +} diff --git a/Web/src/assets/style/lib/align.less b/Web/src/assets/style/lib/align.less index 865f994..50f0bda 100644 --- a/Web/src/assets/style/lib/align.less +++ b/Web/src/assets/style/lib/align.less @@ -1,9 +1,9 @@ -.text-left { - text-align: left !important; -} -.text-center { - text-align: center !important; -} -.text-right { - text-align: right !important; -} +.text-left { + text-align: left !important; +} +.text-center { + text-align: center !important; +} +.text-right { + text-align: right !important; +} diff --git a/Web/src/assets/style/lib/authority-view.less b/Web/src/assets/style/lib/authority-view.less index d48f0d4..516091e 100644 --- a/Web/src/assets/style/lib/authority-view.less +++ b/Web/src/assets/style/lib/authority-view.less @@ -1,24 +1,24 @@ -@import (reference) '~@/assets/style/extend.less'; -.yo-authority-view { - .ant-descriptions-item-label { - width: 150px; - } - .ant-descriptions { - margin-bottom: @padding-sm; - &:last-child { - margin-bottom: 0; - } - } - .ant-descriptions-item-content { - padding: @padding-sm @padding-md; - >.yo-authority-view--checkbox { - display: inline-block; - - width: 150px; - margin: @padding-xxs 0; - .ant-checkbox-wrapper { - margin: 0; - } - } - } -} +@import (reference) '~@/assets/style/extend.less'; +.yo-authority-view { + .ant-descriptions-item-label { + width: 150px; + } + .ant-descriptions { + margin-bottom: @padding-sm; + &:last-child { + margin-bottom: 0; + } + } + .ant-descriptions-item-content { + padding: @padding-sm @padding-md; + >.yo-authority-view--checkbox { + display: inline-block; + + width: 150px; + margin: @padding-xxs 0; + .ant-checkbox-wrapper { + margin: 0; + } + } + } +} diff --git a/Web/src/assets/style/lib/card.less b/Web/src/assets/style/lib/card.less index 823348b..6de7b77 100644 --- a/Web/src/assets/style/lib/card.less +++ b/Web/src/assets/style/lib/card.less @@ -1,4 +1,4 @@ -@import (reference) '~@/assets/style/extend.less'; -.ant-card { - margin-bottom: @padding-md; -} +@import (reference) '~@/assets/style/extend.less'; +.ant-card { + margin-bottom: @padding-md; +} diff --git a/Web/src/assets/style/lib/container.less b/Web/src/assets/style/lib/container.less index 4af89bf..162aff0 100644 --- a/Web/src/assets/style/lib/container.less +++ b/Web/src/assets/style/lib/container.less @@ -1,39 +1,39 @@ -@import (reference) '~@/assets/style/extend.less'; -@container-width: 1400px; -.container-base { - margin: 0 auto; - padding: 0 @padding-md; -} -.container { - width: @container-width; - -.container-base(); -} -@media (max-width: 1400px) { - .container { - width: auto; - } -} -.container-md { - width: @container-width - 200px; - -.container-base(); -} -.container-sm { - width: @container-width - 400px; - -.container-base(); -} -.container-xs { - width: @container-width - 600px; - -.container-base(); -} -.container-xxs { - width: @container-width - 700px; - -.container-base(); -} -.container-fluid { - .container-base(); -} +@import (reference) '~@/assets/style/extend.less'; +@container-width: 1400px; +.container-base { + margin: 0 auto; + padding: 0 @padding-md; +} +.container { + width: @container-width; + +.container-base(); +} +@media (max-width: 1400px) { + .container { + width: auto; + } +} +.container-md { + width: @container-width - 200px; + +.container-base(); +} +.container-sm { + width: @container-width - 400px; + +.container-base(); +} +.container-xs { + width: @container-width - 600px; + +.container-base(); +} +.container-xxs { + width: @container-width - 700px; + +.container-base(); +} +.container-fluid { + .container-base(); +} diff --git a/Web/src/assets/style/lib/dropdown.less b/Web/src/assets/style/lib/dropdown.less index 9927f9c..7d50748 100644 --- a/Web/src/assets/style/lib/dropdown.less +++ b/Web/src/assets/style/lib/dropdown.less @@ -1,6 +1,6 @@ -@import (reference) '~@/assets/style/extend.less'; -.ant-dropdown-trigger { - .anticon-down { - transform: scaleY(.75); - } -} +@import (reference) '~@/assets/style/extend.less'; +.ant-dropdown-trigger { + .anticon-down { + transform: scaleY(.75); + } +} diff --git a/Web/src/assets/style/lib/font-size.less b/Web/src/assets/style/lib/font-size.less index 06b98ff..08c8ffc 100644 --- a/Web/src/assets/style/lib/font-size.less +++ b/Web/src/assets/style/lib/font-size.less @@ -1,25 +1,25 @@ -@import (reference) '~@/assets/style/extend.less'; -h1, -.h1 { - font-size: 36px; -} -h2, -.h2 { - font-size: 32px; -} -h3, -.h3 { - font-size: 24px; -} -h4, -.h4 { - font-size: 18px; -} -h5, -.h5 { - font-size: 14px; -} -h6, -.h6 { - font-size: 12px; -} +@import (reference) '~@/assets/style/extend.less'; +h1, +.h1 { + font-size: 36px; +} +h2, +.h2 { + font-size: 32px; +} +h3, +.h3 { + font-size: 24px; +} +h4, +.h4 { + font-size: 18px; +} +h5, +.h5 { + font-size: 14px; +} +h6, +.h6 { + font-size: 12px; +} diff --git a/Web/src/assets/style/lib/font-weight.less b/Web/src/assets/style/lib/font-weight.less index 02f6b16..0999834 100644 --- a/Web/src/assets/style/lib/font-weight.less +++ b/Web/src/assets/style/lib/font-weight.less @@ -1,24 +1,24 @@ -@import (reference) '~@/assets/style/extend.less'; -body { - font-weight: 100; -} -h1, -h2, -h3, -h4, -h5, -h6 { - font-weight: 300; -} - -@btn-font-weight: 100; -.ant-card-meta-title { - font-weight: inherit; -} -.ant-table-thead { - >tr { - >th { - font-weight: 500; - } - } -} +@import (reference) '~@/assets/style/extend.less'; +body { + font-weight: 100; +} +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: 300; +} + +@btn-font-weight: 100; +.ant-card-meta-title { + font-weight: inherit; +} +.ant-table-thead { + >tr { + >th { + font-weight: 500; + } + } +} diff --git a/Web/src/assets/style/lib/form.less b/Web/src/assets/style/lib/form.less index 763bf54..e47c00b 100644 --- a/Web/src/assets/style/lib/form.less +++ b/Web/src/assets/style/lib/form.less @@ -1,284 +1,284 @@ -@import (reference) '~@/assets/style/extend.less'; -.yo-form { - &--fixed { - width: 660px; - margin: 0 auto; - } - .h1, - .h2, - .h3, - .h4, - .h5, - .h6 { - color: darken(@white, 40%); - } - .h3 { - font-size: 16px; - } - .h4 { - font-size: 15px; - } - .yo-form-group { - margin-bottom: @padding-md; - } - .ant-form-item { - display: flex; - justify-content: space-between; - - margin-bottom: -1px; - padding: @padding-xs @padding-md; - - border: @border-width-base @border-style-base @border-color-split; - background-color: @white; - - @box-shadow-focused: 0 0 0 2px fade(@primary-color, 50%); - @control-background: lighten(@black, 95%) !important; - &::before, - &::after { - content: none; - } - .ant-form-item-control { - text-align: right; - } - .ant-input, - .ant-input-number, - .ant-mentions, - .ant-select-selection, - .ant-input-group-addon, - .ant-cascader-picker, - .ant-cascader-input.ant-input { - z-index: 1; - - text-align: left; - - color: lighten(@black, 10%); - border: 0; - background-color: @control-background; - } - .ant-mentions { - textarea { - background-color: lighten(@black, 95%); - } - } - .focus { - z-index: 2 !important; - - box-shadow: @box-shadow-focused; - } - .ant-input { - &:focus { - .focus(); - } - } - .ant-input-number-focused, - .ant-mentions-focused { - .focus(); - } - .ant-select-focused, - .ant-select-open { - z-index: 2; - .ant-select-selection { - .focus(); - } - } - .ant-cascader-picker:focus { - .ant-cascader-input { - .focus(); - } - } - .ant-input-group { - .ant-row-flex { - .ant-select { - width: 100%; - } - } - .ant-input-group-addon { - z-index: 0; - } - } - .ant-cascader-picker-clear { - background-color: @control-background; - } - } - .ant-form-item-label { - overflow: hidden; - flex: 1 1 auto; - - margin-right: @padding-md; - - text-align: left; - text-overflow: ellipsis; - >label { - color: lighten(@black, 10%); - &::after { - content: none; - } - } - } - .ant-form-item-control-wrapper { - flex: 0 0 61.8%; - - width: 61.8%; - min-width: 220px; - } - .yo-form--fluid { - .ant-form-item-control-wrapper { - flex: 0 0 100%; - - width: 100%; - } - } - .yo-form--short { - .ant-form-item-control-wrapper { - flex: 0 0 38.2%; - - width: 38.2%; - } - } - .ant-form-explain { - font-size: @font-size-base - 1px; - - margin-top: @padding-xs; - margin-bottom: @padding-xxs; - margin-left: -61.8%; - - transition: none; - animation: none; - text-align: left; - - opacity: 1; - color: fade(darken(@primary-color, 38.2%), 61.8%); - } - .has-error { - .ant-form-explain { - color: @error-color; - } - } - // 上下布局 - .yo-form--vertical { - display: block; - .ant-form-item-control { - text-align: left; - } - &-radio { - .ant-radio-wrapper { - line-height: @padding-lg; - - display: block; - - margin-right: 0; - +.ant-radio-wrapper { - margin-top: @padding-sm; - } - } - } - .ant-form-item-control-wrapper { - margin-left: @padding-lg; - } - .ant-form-explain { - margin-left: 0; - } - } - .yo-form-link { - display: flex; - align-items: center; - - margin-bottom: -1px; - padding: @padding-md; - - cursor: pointer; - - border: @border-width-base @border-style-base @border-color-split; - background-color: @white; - &:hover { - background-color: darken(@white, 1%); - } - &:active { - background-color: darken(@white, 3%); - } - &--title { - font-size: @font-size-base + 1px; - - flex: 1; - } - &--content { - flex: 1; - - text-align: right; - - color: fade(@black, 35%); - } - &--right-icon { - margin-left: @padding-xs; - - color: fade(@black, 50%); - } - } -} -.yo-modal-form { - .ant-modal-body { - padding: 0; - } - .yo-form { - h1, - h2, - h3, - h4, - h5 { - margin-top: @padding-sm; - padding: 0 @padding-md; - } - .yo-form-group { - margin-bottom: 0; - } - .ant-form-item { - border-right: 0; - border-left: 0; - &:first-child { - margin-top: -1px; - } - } - } -} -.yo-drawer-form { - .ant-drawer-wrapper-body { - display: flex; - flex-direction: column; - } - .ant-drawer-header { - flex: 0 0 auto; - } - .ant-drawer-body { - position: relative; - - flex: 1 1 100%; - - padding: 0; - } - .yo-drawer-form--body { - position: absolute; - top: 0; - bottom: @border-width-base + 20px + @padding-md * 2; - - overflow: auto; - - width: 100%; - padding: @padding-lg; - } - .ant-drawer-footer { - position: absolute; - left: 0; - bottom: 0; - - width: 100%; - padding: 10px @padding-md; - - text-align: right; - - border-top: @border-width-base @border-style-base @border-color-split; - background: @white; - button+button { - margin-left: @padding-xs; - } - } -} +@import (reference) '~@/assets/style/extend.less'; +.yo-form { + &--fixed { + width: 660px; + margin: 0 auto; + } + .h1, + .h2, + .h3, + .h4, + .h5, + .h6 { + color: darken(@white, 40%); + } + .h3 { + font-size: 16px; + } + .h4 { + font-size: 15px; + } + .yo-form-group { + margin-bottom: @padding-md; + } + .ant-form-item { + display: flex; + justify-content: space-between; + + margin-bottom: -1px; + padding: @padding-xs @padding-md; + + border: @border-width-base @border-style-base @border-color-split; + background-color: @white; + + @box-shadow-focused: 0 0 0 2px fade(@primary-color, 50%); + @control-background: lighten(@black, 95%) !important; + &::before, + &::after { + content: none; + } + .ant-form-item-control { + text-align: right; + } + .ant-input, + .ant-input-number, + .ant-mentions, + .ant-select-selection, + .ant-input-group-addon, + .ant-cascader-picker, + .ant-cascader-input.ant-input { + z-index: 1; + + text-align: left; + + color: lighten(@black, 10%); + border: 0; + background-color: @control-background; + } + .ant-mentions { + textarea { + background-color: lighten(@black, 95%); + } + } + .focus { + z-index: 2 !important; + + box-shadow: @box-shadow-focused; + } + .ant-input { + &:focus { + .focus(); + } + } + .ant-input-number-focused, + .ant-mentions-focused { + .focus(); + } + .ant-select-focused, + .ant-select-open { + z-index: 2; + .ant-select-selection { + .focus(); + } + } + .ant-cascader-picker:focus { + .ant-cascader-input { + .focus(); + } + } + .ant-input-group { + .ant-row-flex { + .ant-select { + width: 100%; + } + } + .ant-input-group-addon { + z-index: 0; + } + } + .ant-cascader-picker-clear { + background-color: @control-background; + } + } + .ant-form-item-label { + overflow: hidden; + flex: 1 1 auto; + + margin-right: @padding-md; + + text-align: left; + text-overflow: ellipsis; + >label { + color: lighten(@black, 10%); + &::after { + content: none; + } + } + } + .ant-form-item-control-wrapper { + flex: 0 0 61.8%; + + width: 61.8%; + min-width: 220px; + } + .yo-form--fluid { + .ant-form-item-control-wrapper { + flex: 0 0 100%; + + width: 100%; + } + } + .yo-form--short { + .ant-form-item-control-wrapper { + flex: 0 0 38.2%; + + width: 38.2%; + } + } + .ant-form-explain { + font-size: @font-size-base - 1px; + + margin-top: @padding-xs; + margin-bottom: @padding-xxs; + margin-left: -61.8%; + + transition: none; + animation: none; + text-align: left; + + opacity: 1; + color: fade(darken(@primary-color, 38.2%), 61.8%); + } + .has-error { + .ant-form-explain { + color: @error-color; + } + } + // 上下布局 + .yo-form--vertical { + display: block; + .ant-form-item-control { + text-align: left; + } + &-radio { + .ant-radio-wrapper { + line-height: @padding-lg; + + display: block; + + margin-right: 0; + +.ant-radio-wrapper { + margin-top: @padding-sm; + } + } + } + .ant-form-item-control-wrapper { + margin-left: @padding-lg; + } + .ant-form-explain { + margin-left: 0; + } + } + .yo-form-link { + display: flex; + align-items: center; + + margin-bottom: -1px; + padding: @padding-md; + + cursor: pointer; + + border: @border-width-base @border-style-base @border-color-split; + background-color: @white; + &:hover { + background-color: darken(@white, 1%); + } + &:active { + background-color: darken(@white, 3%); + } + &--title { + font-size: @font-size-base + 1px; + + flex: 1; + } + &--content { + flex: 1; + + text-align: right; + + color: fade(@black, 35%); + } + &--right-icon { + margin-left: @padding-xs; + + color: fade(@black, 50%); + } + } +} +.yo-modal-form { + .ant-modal-body { + padding: 0; + } + .yo-form { + h1, + h2, + h3, + h4, + h5 { + margin-top: @padding-sm; + padding: 0 @padding-md; + } + .yo-form-group { + margin-bottom: 0; + } + .ant-form-item { + border-right: 0; + border-left: 0; + &:first-child { + margin-top: -1px; + } + } + } +} +.yo-drawer-form { + .ant-drawer-wrapper-body { + display: flex; + flex-direction: column; + } + .ant-drawer-header { + flex: 0 0 auto; + } + .ant-drawer-body { + position: relative; + + flex: 1 1 100%; + + padding: 0; + } + .yo-drawer-form--body { + position: absolute; + top: 0; + bottom: @border-width-base + 20px + @padding-md * 2; + + overflow: auto; + + width: 100%; + padding: @padding-lg; + } + .ant-drawer-footer { + position: absolute; + left: 0; + bottom: 0; + + width: 100%; + padding: 10px @padding-md; + + text-align: right; + + border-top: @border-width-base @border-style-base @border-color-split; + background: @white; + button+button { + margin-left: @padding-xs; + } + } +} diff --git a/Web/src/assets/style/lib/list.less b/Web/src/assets/style/lib/list.less index 3343e02..324a1ce 100644 --- a/Web/src/assets/style/lib/list.less +++ b/Web/src/assets/style/lib/list.less @@ -1,28 +1,28 @@ -@import (reference) '~@/assets/style/extend.less'; -.ant-list-bordered { - border-color: @border-color-split; - background-color: @white; -} -.yo-list { - &-content--h { - display: flex; - align-items: center; - &--item { - min-width: 120px; - margin-left: @padding-xl; - >span { - line-height: 20px; - - color: lighten(@black, 70%); - } - >p { - line-height: 22px; - - margin-top: @padding-xxs; - margin-bottom: 0; - - color: lighten(@black, 30%); - } - } - } -} +@import (reference) '~@/assets/style/extend.less'; +.ant-list-bordered { + border-color: @border-color-split; + background-color: @white; +} +.yo-list { + &-content--h { + display: flex; + align-items: center; + &--item { + min-width: 120px; + margin-left: @padding-xl; + >span { + line-height: 20px; + + color: lighten(@black, 70%); + } + >p { + line-height: 22px; + + margin-top: @padding-xxs; + margin-bottom: 0; + + color: lighten(@black, 30%); + } + } + } +} diff --git a/Web/src/assets/style/lib/margin.less b/Web/src/assets/style/lib/margin.less index 8f5e8bb..c54f2e2 100644 --- a/Web/src/assets/style/lib/margin.less +++ b/Web/src/assets/style/lib/margin.less @@ -1,68 +1,68 @@ -@import (reference) '~@/assets/style/extend.less'; -@margin-padding-position: ~'', ~'-top', ~'-left', ~'-right', ~'-bottom'; -@margin-padding-position-name: ~'', ~'t', ~'l', ~'r', ~'b'; - -.margin-padding (@i) when (@i <=length(@margin-padding-position)) { - @position: extract(@margin-padding-position, @i); - @name: extract(@margin-padding-position-name, @i); - - .m@{name}-xl { - margin@{position}: @padding-xl !important; - } - - .m@{name}-lg { - margin@{position}: @padding-lg !important; - } - - .m@{name}-md { - margin@{position}: @padding-md !important; - } - - .m@{name}-sm { - margin@{position}: @padding-sm !important; - } - - .m@{name}-xs { - margin@{position}: @padding-xs !important; - } - - .m@{name}-xxs { - margin@{position}: @padding-xxs !important; - } - - .p@{name}-xl { - padding@{position}: @padding-xl !important; - } - - .p@{name}-lg { - padding@{position}: @padding-lg !important; - } - - .p@{name}-md { - padding@{position}: @padding-md !important; - } - - .p@{name}-sm { - padding@{position}: @padding-sm !important; - } - - .p@{name}-xs { - padding@{position}: @padding-xs !important; - } - - .p@{name}-xxs { - padding@{position}: @padding-xxs !important; - } - - .m@{name}-none { - margin@{position}: 0 !important; - } - - .p@{name}-none { - padding@{position}: 0 !important; - } - - .margin-padding(@i + 1); -} - +@import (reference) '~@/assets/style/extend.less'; +@margin-padding-position: ~'', ~'-top', ~'-left', ~'-right', ~'-bottom'; +@margin-padding-position-name: ~'', ~'t', ~'l', ~'r', ~'b'; + +.margin-padding (@i) when (@i <=length(@margin-padding-position)) { + @position: extract(@margin-padding-position, @i); + @name: extract(@margin-padding-position-name, @i); + + .m@{name}-xl { + margin@{position}: @padding-xl !important; + } + + .m@{name}-lg { + margin@{position}: @padding-lg !important; + } + + .m@{name}-md { + margin@{position}: @padding-md !important; + } + + .m@{name}-sm { + margin@{position}: @padding-sm !important; + } + + .m@{name}-xs { + margin@{position}: @padding-xs !important; + } + + .m@{name}-xxs { + margin@{position}: @padding-xxs !important; + } + + .p@{name}-xl { + padding@{position}: @padding-xl !important; + } + + .p@{name}-lg { + padding@{position}: @padding-lg !important; + } + + .p@{name}-md { + padding@{position}: @padding-md !important; + } + + .p@{name}-sm { + padding@{position}: @padding-sm !important; + } + + .p@{name}-xs { + padding@{position}: @padding-xs !important; + } + + .p@{name}-xxs { + padding@{position}: @padding-xxs !important; + } + + .m@{name}-none { + margin@{position}: 0 !important; + } + + .p@{name}-none { + padding@{position}: 0 !important; + } + + .margin-padding(@i + 1); +} + .margin-padding(1); \ No newline at end of file diff --git a/Web/src/assets/style/lib/scrollbar.less b/Web/src/assets/style/lib/scrollbar.less index a6b92a7..6d1fbbf 100644 --- a/Web/src/assets/style/lib/scrollbar.less +++ b/Web/src/assets/style/lib/scrollbar.less @@ -1,14 +1,14 @@ -@import (reference) '~@/assets/style/extend.less'; -::-webkit-scrollbar { - width: 7px; - height: 7px; - - background-color: lighten(@primary-color, 35%); -} -::-webkit-scrollbar-thumb { - border-radius: @border-radius-base; - background-color: fade(@primary-color, 70%); -} -::-webkit-scrollbar-thumb:active { - background-color: @primary-color; -} +@import (reference) '~@/assets/style/extend.less'; +::-webkit-scrollbar { + width: 7px; + height: 7px; + + background-color: lighten(@primary-color, 35%); +} +::-webkit-scrollbar-thumb { + border-radius: @border-radius-base; + background-color: fade(@primary-color, 70%); +} +::-webkit-scrollbar-thumb:active { + background-color: @primary-color; +} diff --git a/Web/src/assets/style/lib/select.less b/Web/src/assets/style/lib/select.less index 28419d2..294a80b 100644 --- a/Web/src/assets/style/lib/select.less +++ b/Web/src/assets/style/lib/select.less @@ -1,6 +1,6 @@ -@import (reference) '~@/assets/style/extend.less'; -.ant-select-arrow { - .anticon-down { - transform: scaleY(.75); - } -} +@import (reference) '~@/assets/style/extend.less'; +.ant-select-arrow { + .anticon-down { + transform: scaleY(.75); + } +} diff --git a/Web/src/assets/style/lib/table.less b/Web/src/assets/style/lib/table.less index 6dae04c..48ca825 100644 --- a/Web/src/assets/style/lib/table.less +++ b/Web/src/assets/style/lib/table.less @@ -1,162 +1,162 @@ -@import (reference) '~@/assets/style/extend.less'; - -.yo-query-bar { - margin-bottom: @padding-md; -} - -.yo-action-bar { - display: flex; - justify-content: space-between; - - margin-bottom: @padding-md; - - &--actions { - - >.ant-btn, - >.ant-btn-group { - - +.ant-btn, - +.ant-btn-group { - margin-left: @padding-xs; - } - } - } -} - -.ant-table { - background-color: @white; -} - -.ant-table-small { - >.ant-table-content { - >.ant-table-body { - margin: 0; - - >table { - >.ant-table-thead { - >tr { - >th { - background-color: @table-selected-row-bg; - } - } - } - } - } - } -} - -.ant-table-thead { - >tr { - >th { - font-weight: bold; - } - } -} - -.yo-table { - .border-right-none() { - border-right-width: 0 !important; - - &:last-child { - border-right-width: 1px !important; - } - } - - .ant-table-content { - .ant-table-body { - overflow-x: auto !important; - - >table { - >.ant-table-thead { - >tr { - >th { - .border-right-none(); - } - } - } - - >.ant-table-tbody { - >tr { - >td { - .border-right-none(); - } - } - } - } - } - - .ant-table-fixed-left { - .ant-table-thead { - >tr { - >th { - border-right-width: 0 !important; - } - } - } - - .ant-table-tbody { - >tr { - >td { - border-right-width: 0 !important; - } - } - } - } - - .ant-table-fixed-right { - .ant-table-fixed { - border-left-width: 0 !important; - } - - .ant-table-thead { - >tr { - >th { - .border-right-none(); - } - } - } - - .ant-table-tbody { - >tr { - >td { - .border-right-none(); - } - } - } - } - } -} - -.yo-table-actions { - display: inline-block; - - vertical-align: middle; - - &--inner { - display: flex; - align-items: center; - - height: 18px; - - } -} - -.yo-table--column-setting { - width: 240px; - - .ant-dropdown-menu-item { - display: flex; - justify-content: space-between; - align-items: center; - } - - .anticon-pushpin { - color: darken(@white, 40%); - transition: @animation-duration-slow; - transform: rotate(45deg); - } - - .yo-table--fixed { - transform: rotate(-45deg); - } +@import (reference) '~@/assets/style/extend.less'; + +.yo-query-bar { + margin-bottom: @padding-md; +} + +.yo-action-bar { + display: flex; + justify-content: space-between; + + margin-bottom: @padding-md; + + &--actions { + + >.ant-btn, + >.ant-btn-group { + + +.ant-btn, + +.ant-btn-group { + margin-left: @padding-xs; + } + } + } +} + +.ant-table { + background-color: @white; +} + +.ant-table-small { + >.ant-table-content { + >.ant-table-body { + margin: 0; + + >table { + >.ant-table-thead { + >tr { + >th { + background-color: @table-selected-row-bg; + } + } + } + } + } + } +} + +.ant-table-thead { + >tr { + >th { + font-weight: bold; + } + } +} + +.yo-table { + .border-right-none() { + border-right-width: 0 !important; + + &:last-child { + border-right-width: 1px !important; + } + } + + .ant-table-content { + .ant-table-body { + overflow-x: auto !important; + + >table { + >.ant-table-thead { + >tr { + >th { + .border-right-none(); + } + } + } + + >.ant-table-tbody { + >tr { + >td { + .border-right-none(); + } + } + } + } + } + + .ant-table-fixed-left { + .ant-table-thead { + >tr { + >th { + border-right-width: 0 !important; + } + } + } + + .ant-table-tbody { + >tr { + >td { + border-right-width: 0 !important; + } + } + } + } + + .ant-table-fixed-right { + .ant-table-fixed { + border-left-width: 0 !important; + } + + .ant-table-thead { + >tr { + >th { + .border-right-none(); + } + } + } + + .ant-table-tbody { + >tr { + >td { + .border-right-none(); + } + } + } + } + } +} + +.yo-table-actions { + display: inline-block; + + vertical-align: middle; + + &--inner { + display: flex; + align-items: center; + + height: 18px; + + } +} + +.yo-table--column-setting { + width: 240px; + + .ant-dropdown-menu-item { + display: flex; + justify-content: space-between; + align-items: center; + } + + .anticon-pushpin { + color: darken(@white, 40%); + transition: @animation-duration-slow; + transform: rotate(45deg); + } + + .yo-table--fixed { + transform: rotate(-45deg); + } } \ No newline at end of file diff --git a/Web/src/assets/style/lib/tree-layout.less b/Web/src/assets/style/lib/tree-layout.less index 8974a44..e1f3c1b 100644 --- a/Web/src/assets/style/lib/tree-layout.less +++ b/Web/src/assets/style/lib/tree-layout.less @@ -1,69 +1,69 @@ -@import (reference) '~@/assets/style/extend.less'; -.yo-tree-layout { - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - .ant-layout-sider { - background-color: @white; - .ant-layout-header { - height: @layout-header-height - 20px; - - background-color: @white; - .header-actions { - >.ant-input-search { - .ant-input { - color: @black; - background-color: @white; - &:focus { - background-color: fade(@black, 5%); - } - } - .anticon-search { - color: fade(@black, 45%); - } - } - } - } - .swiper-container { - position: absolute; - top: @layout-header-height; - left: 0; - bottom: 0; - - width: 100%; - .swiper-slide { - height: auto; - min-height: 100%; - } - .swiper-scrollbar { - transition: @animation-duration-slow opacity; - - opacity: 0; - } - &:hover { - .swiper-scrollbar { - opacity: 1; - } - } - } - } - &--bar { - line-height: 20px; - - height: 20px; - padding: 0 @padding-md; - - text-align: right; - >.anticon { - cursor: pointer; - - color: fade(@black, 50%); - &:hover { - color: fade(@black, 80%); - } - } - } -} +@import (reference) '~@/assets/style/extend.less'; +.yo-tree-layout { + position: absolute; + top: 0; + left: 0; + + width: 100%; + height: 100%; + .ant-layout-sider { + background-color: @white; + .ant-layout-header { + height: @layout-header-height - 20px; + + background-color: @white; + .header-actions { + >.ant-input-search { + .ant-input { + color: @black; + background-color: @white; + &:focus { + background-color: fade(@black, 5%); + } + } + .anticon-search { + color: fade(@black, 45%); + } + } + } + } + .swiper-container { + position: absolute; + top: @layout-header-height; + left: 0; + bottom: 0; + + width: 100%; + .swiper-slide { + height: auto; + min-height: 100%; + } + .swiper-scrollbar { + transition: @animation-duration-slow opacity; + + opacity: 0; + } + &:hover { + .swiper-scrollbar { + opacity: 1; + } + } + } + } + &--bar { + line-height: 20px; + + height: 20px; + padding: 0 @padding-md; + + text-align: right; + >.anticon { + cursor: pointer; + + color: fade(@black, 50%); + &:hover { + color: fade(@black, 80%); + } + } + } +} diff --git a/Web/src/assets/style/lib/visibility.less b/Web/src/assets/style/lib/visibility.less index 4597c9a..f1b8864 100644 --- a/Web/src/assets/style/lib/visibility.less +++ b/Web/src/assets/style/lib/visibility.less @@ -1,22 +1,22 @@ -@import (reference) '~@/assets/style/extend.less'; -.hide { - visibility: hidden !important; -} -.hidden { - display: none !important; -} -.block { - display: block; -} -.inline-block { - display: inline-block; -} -.inline { - display: inline; -} -.inline-flex { - display: inline-flex; -} -.flex { - display: flex; -} +@import (reference) '~@/assets/style/extend.less'; +.hide { + visibility: hidden !important; +} +.hidden { + display: none !important; +} +.block { + display: block; +} +.inline-block { + display: inline-block; +} +.inline { + display: inline; +} +.inline-flex { + display: inline-flex; +} +.flex { + display: flex; +} diff --git a/Web/src/assets/style/lib/width-height.less b/Web/src/assets/style/lib/width-height.less index 8e4055a..b226176 100644 --- a/Web/src/assets/style/lib/width-height.less +++ b/Web/src/assets/style/lib/width-height.less @@ -1,25 +1,25 @@ -@import (reference) '~@/assets/style/extend.less'; -.w-100-p { - width: 100%; -} -.w-100 { - width: 100px; -} -.w-200 { - width: 200px; -} -.w-300 { - width: 300px; -} -.h-100-p { - height: 100%; -} -.h-100 { - height: 100px; -} -.h-200 { - height: 200px; -} -.h-300 { - height: 300px; -} +@import (reference) '~@/assets/style/extend.less'; +.w-100-p { + width: 100%; +} +.w-100 { + width: 100px; +} +.w-200 { + width: 200px; +} +.w-300 { + width: 300px; +} +.h-100-p { + height: 100%; +} +.h-100 { + height: 100px; +} +.h-200 { + height: 200px; +} +.h-300 { + height: 300px; +} diff --git a/Web/src/assets/style/main.less b/Web/src/assets/style/main.less index 849aa4d..96c1c07 100644 --- a/Web/src/assets/style/main.less +++ b/Web/src/assets/style/main.less @@ -1,565 +1,565 @@ -@import (reference) './extend.less'; -@import (reference) './lib/container.less'; - -.main(@nav-background: @layout-header-background, - @nav-box-shadow-color: fade(@black, 25%), - @nav-scrollbar-background: fade(@white, 30%), - @nav-app-color: fade(@white, 35%), - @logo-color: @white, - @logo-box-shadow: none, - @header-action-color: fade(@white, 60%), - @header-action-hover-color: @white, - @header-action-hover-background: fade(@white, 20%), - @header-search-color: @white, - @header-search-background: fade(@white, 15%), - @header-search-focus-background: fade(@white, 30%), - @header-search-icon-color: fade(@white, 60%), - @header-search-icon-hover-color: @white, -) { - .ant-layout-header { - .header-actions { - display: flex; - .header-action { - display: inline-block; - - padding: 0 @padding-md; - - cursor: pointer; - transition: @animation-duration-slow; - transition-property: background-color; - .anticon { - font-size: @font-size-base + 6px; - - transition: @animation-duration-slow; - transition-property: color; - } - &:active { - box-shadow: inset 1px 1px 10px rgba(0, 0, 0, .05); - } - } - >.ant-input-search, - >.ant-select-auto-complete { - display: flex; - align-items: center; - - margin: 5px @padding-md; - .ant-input { - height: 34px; - padding: 5px 30px 5px 11px; - - transition: @animation-duration-slow; - transition-property: background-color; - - border-color: transparent; - &:focus { - box-shadow: none; - } - } - .ant-select-selection { - background-color: transparent; - } - } - } - .user-container { - z-index: 10; - - width: 32px + @padding-sm * 2; - height: @layout-header-height - 24px; - margin: 2px 0; - - transition: @animation-duration-slow; - .user-container-inner { - position: relative; - - transition: @animation-duration-slow; - - border-radius: @border-radius-base; - } - .user { - &--base { - line-height: @layout-header-height - 24px; - - position: relative; - - display: flex; - overflow: hidden; - align-items: center; - - width: 100%; - height: @layout-header-height - 24px; - padding: 0 @padding-sm; - - transition: @animation-duration-slow; - } - &--avatar { - box-shadow: 0 0 0 2px @white; - } - &--name { - font-weight: bolder; - - position: absolute; - left: 32px + @padding-sm * 2; - - transition: @animation-duration-slow; - - opacity: 0; - } - &--dropdown { - width: 200px; - - transition: @animation-duration-base; - transform: scaleY(0); - transform-origin: top; - - opacity: 0; - .ant-dropdown-menu { - box-shadow: none; - } - } - } - &.open { - width: 200px; - .user-container-inner { - background-color: @white; - box-shadow: @box-shadow-base; - } - .user { - &--name { - opacity: 1; - } - } - } - &.drop { - .user { - &--dropdown { - transform: scaleY(1); - - opacity: 1; - } - } - } - } - } - .ant-layout-content { - position: relative; - >.ant-tabs { - position: absolute; - top: 0; - left: 0; - bottom: 0; - - display: flex; - flex-direction: column; - - width: 100%; - >.ant-tabs-bar { - z-index: 5; - - margin-bottom: 0; - - border-bottom: 0; - background-color: @white; - box-shadow: 0 2px 12px fade(@black, 8%); - &::before { - content: none; - } - .ant-tabs-nav-container { - height: 30px; - margin-bottom: 0; - } - .ant-tabs-tab { - line-height: 30px; - - height: 30px; - margin-right: 0; - padding: 0; - - transition: none; - - border: 0; - background-color: transparent; - &:hover { - color: @black; - } - &.ant-tabs-tab-active { - color: @white; - border-color: darken(@primary-color, 10%); - background-color: @primary-color; - .ant-tabs-close-x { - color: fade(@white, 70%); - &:hover { - color: @white; - } - } - } - +.ant-tabs-tab { - margin-left: 0; - } - .ant-dropdown-trigger { - padding: 0 @padding-md * 2 0 @padding-md; - } - .ant-tabs-tab-unclosable { - .ant-dropdown-trigger { - padding: 0 @padding-lg 0 @padding-md; - } - } - .ant-tabs-close-x { - position: absolute; - top: 9px; - right: 9px; - - margin: 0; - - transition: none; - } - } - } - >.ant-tabs-content { - position: relative; - - height: 100%; - >.ant-tabs-tabpane { - position: absolute; - top: 0; - left: 0; - - overflow-x: hidden; - overflow-y: auto; - - width: 100%; - height: 100%; - >.ant-spin { - position: absolute; - top: 0; - left: 0; - - display: flex; - overflow: auto; - align-items: center; - justify-content: center; - - width: 100%; - height: 100%; - } - } - } - } - } - .ant-layout-sider { - .ant-menu-inline { - border-right: 0; - } - } - .yo-nav { - padding-top: @padding-lg; - padding-bottom: @padding-lg; - &--row { - padding: 1px 0; - - column-gap: @padding-md; - column-count: 3; - } - &--col { - break-inside: avoid; - } - &--sub-item { - } - &--item-group { - font-size: @font-size-base; - line-height: 1.5; - - margin-bottom: @padding-xs; - padding-top: @padding-xs * 2; - - color: fade(@black, 35%); - border: @border-width-base @border-style-base transparent; - } - &--item { - font-size: @font-size-base; - line-height: 1.5; - - position: relative; - - margin-bottom: @padding-xs; - padding: @padding-xs @padding-sm; - - cursor: pointer; - transition: @animation-duration-fast; - - border: @border-width-base @border-style-base @border-color-split; - border-radius: @border-radius-base; - background-color: @white; - &:hover { - color: @white; - border-color: @primary-color; - background-color: @primary-color; - } - } - } - .yo-layout--left-menu, - .yo-layout--right-menu { - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - .ant-layout-header { - line-height: @layout-header-height - 20px; - - z-index: 6; - - height: @layout-header-height - 20px; - padding: 0; - - background-color: @white; - >section { - display: flex; - justify-content: space-between; - } - .header-actions { - .header-action { - line-height: @layout-header-height - 16px; - - height: @layout-header-height - 20px; - .anticon { - color: fade(@black, 35%); - } - &:hover { - background-color: fade(@black, 5%); - .anticon { - color: @icon-color-hover; - } - } - } - >.ant-input-search, - >.ant-select-auto-complete { - .ant-input { - &:focus { - background-color: fade(@black, 5%); - } - } - } - } - } - >section { - >.ant-layout-sider { - height: 100%; - - background-color: @nav-background; - .ant-layout-sider-children { - display: flex; - flex-direction: column; - } - .logo { - font-size: @font-size-lg * 1.5; - font-weight: 500; - line-height: @layout-header-height + 10px; - - z-index: 11; - - display: flex; - overflow: hidden; - align-items: center; - flex: 0 0 @layout-header-height + 10px; - - height: @layout-header-height + 10px; - padding: 0 @padding-md 0 @padding-lg; - - color: @logo-color; - background-color: @nav-background; - box-shadow: @logo-box-shadow; - img { - max-height: 100%; - } - span { - margin-left: @padding-sm; - - transition: @animation-duration-slow; - transition-property: opacity; - } - } - &.ant-layout-sider-collapsed { - .logo { - span { - opacity: 0; - } - } - } - .yo-sider-nav { - position: relative; - z-index: 10; - - flex: 1 1 100%; - - box-shadow: 2px 0 8px @nav-box-shadow-color; - &--app { - font-size: @font-size-sm; - - margin-top: @padding-sm; - padding: 0 @padding-md; - - color: @nav-app-color; - } - } - .swiper-container { - position: absolute; - top: 0; - left: 0; - bottom: 0; - - width: 100%; - .swiper-scrollbar { - transition: @animation-duration-slow; - transition-property: opacity; - - opacity: 0; - } - .swiper-scrollbar-drag { - background-color: @nav-scrollbar-background; - } - &:hover { - .swiper-scrollbar { - opacity: 1; - } - } - } - .swiper-slide { - height: auto; - min-height: 100%; - >.ant-spin-nested-loading { - height: 100%; - .ant-spin-blur { - &::after { - opacity: 0; - } - } - } - } - } - } - } - .yo-layout--top-nav { - position: absolute; - top: 0; - left: 0; - - display: flex; - flex-direction: column; - - width: 100%; - min-width: @container-width; - height: 100%; - .ant-layout-header { - flex: 0 0 @layout-header-height; - - padding: 0; - - background-color: @nav-background; - section { - display: flex; - justify-content: space-between; - - height: 100%; - } - .header-actions { - .header-action { - .anticon { - color: @header-action-color; - } - &:hover { - background-color: @header-action-hover-background; - .anticon { - color: @header-action-hover-color; - } - } - } - >.ant-input-search, - >.ant-select-auto-complete { - .ant-input { - color: @header-search-color; - background-color: @header-search-background; - &:focus { - background-color: @header-search-focus-background; - } - } - .anticon-search { - color: @header-search-icon-color; - &:hover { - color: @header-search-icon-hover-color; - } - } - } - } - .user-container { - margin: 12px 0; - } - .logo { - font-size: @font-size-lg * 1.5; - font-weight: 500; - line-height: @layout-header-height; - - display: flex; - overflow: hidden; - align-items: center; - - height: @layout-header-height; - margin-right: @padding-lg; - - color: @logo-color; - img { - max-height: 100%; - } - span { - margin-left: @padding-sm; - } - } - .ant-menu-horizontal { - line-height: @layout-header-height; - - border-bottom: 0; - >.ant-menu-submenu { - top: 0; - - border-bottom: 0; - } - } - .header-actions { - .header-action { - line-height: @layout-header-height - 16px; - - margin: 10px 0; - } - } - } - &--container { - .ant-layout-header { - .ant-menu-horizontal { - width: 400px; - } - } - .ant-layout-content { - >.ant-tabs { - >.ant-tabs-bar { - .ant-tabs-nav-container { - width: @container-width - @padding-md * 2; - margin: 0 auto; - } - } - } - } - } - &--container-fluid { - .ant-layout-header { - .ant-menu-horizontal { - width: 800px; - } - @media (max-width: 1400px) { - .ant-menu-horizontal { - width: 600px; - } - } - } - } - } -} +@import (reference) './extend.less'; +@import (reference) './lib/container.less'; + +.main(@nav-background: @layout-header-background, + @nav-box-shadow-color: fade(@black, 25%), + @nav-scrollbar-background: fade(@white, 30%), + @nav-app-color: fade(@white, 35%), + @logo-color: @white, + @logo-box-shadow: none, + @header-action-color: fade(@white, 60%), + @header-action-hover-color: @white, + @header-action-hover-background: fade(@white, 20%), + @header-search-color: @white, + @header-search-background: fade(@white, 15%), + @header-search-focus-background: fade(@white, 30%), + @header-search-icon-color: fade(@white, 60%), + @header-search-icon-hover-color: @white, +) { + .ant-layout-header { + .header-actions { + display: flex; + .header-action { + display: inline-block; + + padding: 0 @padding-md; + + cursor: pointer; + transition: @animation-duration-slow; + transition-property: background-color; + .anticon { + font-size: @font-size-base + 6px; + + transition: @animation-duration-slow; + transition-property: color; + } + &:active { + box-shadow: inset 1px 1px 10px rgba(0, 0, 0, .05); + } + } + >.ant-input-search, + >.ant-select-auto-complete { + display: flex; + align-items: center; + + margin: 5px @padding-md; + .ant-input { + height: 34px; + padding: 5px 30px 5px 11px; + + transition: @animation-duration-slow; + transition-property: background-color; + + border-color: transparent; + &:focus { + box-shadow: none; + } + } + .ant-select-selection { + background-color: transparent; + } + } + } + .user-container { + z-index: 10; + + width: 32px + @padding-sm * 2; + height: @layout-header-height - 24px; + margin: 2px 0; + + transition: @animation-duration-slow; + .user-container-inner { + position: relative; + + transition: @animation-duration-slow; + + border-radius: @border-radius-base; + } + .user { + &--base { + line-height: @layout-header-height - 24px; + + position: relative; + + display: flex; + overflow: hidden; + align-items: center; + + width: 100%; + height: @layout-header-height - 24px; + padding: 0 @padding-sm; + + transition: @animation-duration-slow; + } + &--avatar { + box-shadow: 0 0 0 2px @white; + } + &--name { + font-weight: bolder; + + position: absolute; + left: 32px + @padding-sm * 2; + + transition: @animation-duration-slow; + + opacity: 0; + } + &--dropdown { + width: 200px; + + transition: @animation-duration-base; + transform: scaleY(0); + transform-origin: top; + + opacity: 0; + .ant-dropdown-menu { + box-shadow: none; + } + } + } + &.open { + width: 200px; + .user-container-inner { + background-color: @white; + box-shadow: @box-shadow-base; + } + .user { + &--name { + opacity: 1; + } + } + } + &.drop { + .user { + &--dropdown { + transform: scaleY(1); + + opacity: 1; + } + } + } + } + } + .ant-layout-content { + position: relative; + >.ant-tabs { + position: absolute; + top: 0; + left: 0; + bottom: 0; + + display: flex; + flex-direction: column; + + width: 100%; + >.ant-tabs-bar { + z-index: 5; + + margin-bottom: 0; + + border-bottom: 0; + background-color: @white; + box-shadow: 0 2px 12px fade(@black, 8%); + &::before { + content: none; + } + .ant-tabs-nav-container { + height: 30px; + margin-bottom: 0; + } + .ant-tabs-tab { + line-height: 30px; + + height: 30px; + margin-right: 0; + padding: 0; + + transition: none; + + border: 0; + background-color: transparent; + &:hover { + color: @black; + } + &.ant-tabs-tab-active { + color: @white; + border-color: darken(@primary-color, 10%); + background-color: @primary-color; + .ant-tabs-close-x { + color: fade(@white, 70%); + &:hover { + color: @white; + } + } + } + +.ant-tabs-tab { + margin-left: 0; + } + .ant-dropdown-trigger { + padding: 0 @padding-md * 2 0 @padding-md; + } + .ant-tabs-tab-unclosable { + .ant-dropdown-trigger { + padding: 0 @padding-lg 0 @padding-md; + } + } + .ant-tabs-close-x { + position: absolute; + top: 9px; + right: 9px; + + margin: 0; + + transition: none; + } + } + } + >.ant-tabs-content { + position: relative; + + height: 100%; + >.ant-tabs-tabpane { + position: absolute; + top: 0; + left: 0; + + overflow-x: hidden; + overflow-y: auto; + + width: 100%; + height: 100%; + >.ant-spin { + position: absolute; + top: 0; + left: 0; + + display: flex; + overflow: auto; + align-items: center; + justify-content: center; + + width: 100%; + height: 100%; + } + } + } + } + } + .ant-layout-sider { + .ant-menu-inline { + border-right: 0; + } + } + .yo-nav { + padding-top: @padding-lg; + padding-bottom: @padding-lg; + &--row { + padding: 1px 0; + + column-gap: @padding-md; + column-count: 3; + } + &--col { + break-inside: avoid; + } + &--sub-item { + } + &--item-group { + font-size: @font-size-base; + line-height: 1.5; + + margin-bottom: @padding-xs; + padding-top: @padding-xs * 2; + + color: fade(@black, 35%); + border: @border-width-base @border-style-base transparent; + } + &--item { + font-size: @font-size-base; + line-height: 1.5; + + position: relative; + + margin-bottom: @padding-xs; + padding: @padding-xs @padding-sm; + + cursor: pointer; + transition: @animation-duration-fast; + + border: @border-width-base @border-style-base @border-color-split; + border-radius: @border-radius-base; + background-color: @white; + &:hover { + color: @white; + border-color: @primary-color; + background-color: @primary-color; + } + } + } + .yo-layout--left-menu, + .yo-layout--right-menu { + position: absolute; + top: 0; + left: 0; + + width: 100%; + height: 100%; + .ant-layout-header { + line-height: @layout-header-height - 20px; + + z-index: 6; + + height: @layout-header-height - 20px; + padding: 0; + + background-color: @white; + >section { + display: flex; + justify-content: space-between; + } + .header-actions { + .header-action { + line-height: @layout-header-height - 16px; + + height: @layout-header-height - 20px; + .anticon { + color: fade(@black, 35%); + } + &:hover { + background-color: fade(@black, 5%); + .anticon { + color: @icon-color-hover; + } + } + } + >.ant-input-search, + >.ant-select-auto-complete { + .ant-input { + &:focus { + background-color: fade(@black, 5%); + } + } + } + } + } + >section { + >.ant-layout-sider { + height: 100%; + + background-color: @nav-background; + .ant-layout-sider-children { + display: flex; + flex-direction: column; + } + .logo { + font-size: @font-size-lg * 1.5; + font-weight: 500; + line-height: @layout-header-height + 10px; + + z-index: 11; + + display: flex; + overflow: hidden; + align-items: center; + flex: 0 0 @layout-header-height + 10px; + + height: @layout-header-height + 10px; + padding: 0 @padding-md 0 @padding-lg; + + color: @logo-color; + background-color: @nav-background; + box-shadow: @logo-box-shadow; + img { + max-height: 100%; + } + span { + margin-left: @padding-sm; + + transition: @animation-duration-slow; + transition-property: opacity; + } + } + &.ant-layout-sider-collapsed { + .logo { + span { + opacity: 0; + } + } + } + .yo-sider-nav { + position: relative; + z-index: 10; + + flex: 1 1 100%; + + box-shadow: 2px 0 8px @nav-box-shadow-color; + &--app { + font-size: @font-size-sm; + + margin-top: @padding-sm; + padding: 0 @padding-md; + + color: @nav-app-color; + } + } + .swiper-container { + position: absolute; + top: 0; + left: 0; + bottom: 0; + + width: 100%; + .swiper-scrollbar { + transition: @animation-duration-slow; + transition-property: opacity; + + opacity: 0; + } + .swiper-scrollbar-drag { + background-color: @nav-scrollbar-background; + } + &:hover { + .swiper-scrollbar { + opacity: 1; + } + } + } + .swiper-slide { + height: auto; + min-height: 100%; + >.ant-spin-nested-loading { + height: 100%; + .ant-spin-blur { + &::after { + opacity: 0; + } + } + } + } + } + } + } + .yo-layout--top-nav { + position: absolute; + top: 0; + left: 0; + + display: flex; + flex-direction: column; + + width: 100%; + min-width: @container-width; + height: 100%; + .ant-layout-header { + flex: 0 0 @layout-header-height; + + padding: 0; + + background-color: @nav-background; + section { + display: flex; + justify-content: space-between; + + height: 100%; + } + .header-actions { + .header-action { + .anticon { + color: @header-action-color; + } + &:hover { + background-color: @header-action-hover-background; + .anticon { + color: @header-action-hover-color; + } + } + } + >.ant-input-search, + >.ant-select-auto-complete { + .ant-input { + color: @header-search-color; + background-color: @header-search-background; + &:focus { + background-color: @header-search-focus-background; + } + } + .anticon-search { + color: @header-search-icon-color; + &:hover { + color: @header-search-icon-hover-color; + } + } + } + } + .user-container { + margin: 12px 0; + } + .logo { + font-size: @font-size-lg * 1.5; + font-weight: 500; + line-height: @layout-header-height; + + display: flex; + overflow: hidden; + align-items: center; + + height: @layout-header-height; + margin-right: @padding-lg; + + color: @logo-color; + img { + max-height: 100%; + } + span { + margin-left: @padding-sm; + } + } + .ant-menu-horizontal { + line-height: @layout-header-height; + + border-bottom: 0; + >.ant-menu-submenu { + top: 0; + + border-bottom: 0; + } + } + .header-actions { + .header-action { + line-height: @layout-header-height - 16px; + + margin: 10px 0; + } + } + } + &--container { + .ant-layout-header { + .ant-menu-horizontal { + width: 400px; + } + } + .ant-layout-content { + >.ant-tabs { + >.ant-tabs-bar { + .ant-tabs-nav-container { + width: @container-width - @padding-md * 2; + margin: 0 auto; + } + } + } + } + } + &--container-fluid { + .ant-layout-header { + .ant-menu-horizontal { + width: 800px; + } + @media (max-width: 1400px) { + .ant-menu-horizontal { + width: 600px; + } + } + } + } + } +} diff --git a/Web/src/assets/style/theme/primary.less b/Web/src/assets/style/theme/primary.less index 87163a1..62bffef 100644 --- a/Web/src/assets/style/theme/primary.less +++ b/Web/src/assets/style/theme/primary.less @@ -1,4 +1,4 @@ -@import '~@/assets/style/app.less'; -@primary-color: #007bff; -@font-size-base: 13px; -@border-radius-base: 0; +@import '~@/assets/style/app.less'; +@primary-color: #007bff; +@font-size-base: 13px; +@border-radius-base: 0; diff --git a/Web/src/common/api/index.js b/Web/src/common/api/index.js index dbb9ed3..ddb2d84 100644 --- a/Web/src/common/api/index.js +++ b/Web/src/common/api/index.js @@ -1,169 +1,169 @@ -/** - * api - * v1.2 - */ - -import axios from 'axios' -import { token } from '@/common/token' -import status from './status' -const STATUS = status -import app from '@/main' - -axios.defaults.baseURL = '/api' - -/** - * 最终直接根据url名称调用接口方法 - * 例如 - * import { api } from '@/api' - * api.getItemGroupType(parmas).then(...) - */ -import urls from './requests' -import { settings } from 'nprogress' - -const initInstance = (options) => { - const instance = axios - .create({ - headers: { - Authorization: 'Bearer ' + token.value - }, - ...options - }) - - instance.interceptors.response.use((res) => { - if (res.data.status === STATUS.Unauthorized) { - handlerUnauthorized() - } - return res - }, (err) => { - return Promise.reject(err) - }) - return instance -} - -const errerCodes = [STATUS.BadRequest, STATUS.InternalServerError, STATUS.Forbidden] - -const errorNotification = ({ code, message }) => { - switch (message.constructor) { - case Array: - message.map(p => { - setTimeout(() => { - app.$notification.error({ - duration: 30, - message: p.field, - description: p.messages.join('/'), - }) - }) - }) - break - default: - app.$notification.error({ - duration: 30, - message: code || '错误', - description: message, - }) - break - } -} - -const handlerUnauthorized = () => { - token.value = '' - app.$router.replace({ - path: '/login' - }).catch(() => { }) -} - -const api = {} - -for (let key in urls) { - - const item = urls[key] - let url = '', - method = 'post', - options = {} - if (item.constructor === String) { - url = item - } else if (item.constructor === Array) { - url = item[0] - if (item[1]) { - method = item[1].toLowerCase() - } - if (item[2]) { - options = item[2] - } - } else if (item.constructor === Object) { - url = item.url - if (item.method) { - method = item.method.toLowerCase() - } - } - - api[`${key}Await`] = function (params = {}) { - if (method === 'post') { - return initInstance(options).post(url, params) - } else { - return initInstance(options).get(url, { - params - }) - } - } - - api[key] = function (params = {}) { - return new Promise((reslove, reject) => { - api[`${key}Await`](params) - .then((res) => { - const { data } = res - if (errerCodes.indexOf(data.code) >= 0) { - errorNotification(data) - reject([ArrayBuffer, Blob].indexOf(data.constructor) > -1 ? res : data) - } else if (data.code === STATUS.Unauthorized) { - handlerUnauthorized() - } else { - reslove([ArrayBuffer, Blob].indexOf(data.constructor) > -1 ? res : data) - } - }) - .catch(({ response }) => { - if (process.env.VUE_APP_NODE_ENV === 'development') { - const { data, status } = response - if (data.constructor === String) { - errorNotification({ - message: data, - code: status - }) - } else { - errorNotification(data) - } - if (data.code === STATUS.Unauthorized) { - handlerUnauthorized() - } - reject(data) - } else { - errorNotification({ - message: '系统发生错误,请联系管理员' - }) - } - }) - }) - } - - api[key].prototype.name = key -} - -/** - * 并发请求,与axios.all方式相同 - * 但是使用的接口函数为this.$api.[接口名]E - */ -api.$queue = function (queue) { - return new Promise((reslove) => { - axios.all(queue).then((results) => { - const res = results.map(p => p.data) - reslove(res) - }) - }) -} - -export { - axios, - urls, - api, - STATUS -} +/** + * api + * v1.2 + */ + +import axios from 'axios' +import { token } from '@/common/token' +import status from './status' +const STATUS = status +import app from '@/main' + +axios.defaults.baseURL = '/api' + +/** + * 最终直接根据url名称调用接口方法 + * 例如 + * import { api } from '@/api' + * api.getItemGroupType(parmas).then(...) + */ +import urls from './requests' +import { settings } from 'nprogress' + +const initInstance = (options) => { + const instance = axios + .create({ + headers: { + Authorization: 'Bearer ' + token.value + }, + ...options + }) + + instance.interceptors.response.use((res) => { + if (res.data.status === STATUS.Unauthorized) { + handlerUnauthorized() + } + return res + }, (err) => { + return Promise.reject(err) + }) + return instance +} + +const errerCodes = [STATUS.BadRequest, STATUS.InternalServerError, STATUS.Forbidden] + +const errorNotification = ({ code, message }) => { + switch (message.constructor) { + case Array: + message.map(p => { + setTimeout(() => { + app.$notification.error({ + duration: 30, + message: p.field, + description: p.messages.join('/'), + }) + }) + }) + break + default: + app.$notification.error({ + duration: 30, + message: code || '错误', + description: message, + }) + break + } +} + +const handlerUnauthorized = () => { + token.value = '' + app.$router.replace({ + path: '/login' + }).catch(() => { }) +} + +const api = {} + +for (let key in urls) { + + const item = urls[key] + let url = '', + method = 'post', + options = {} + if (item.constructor === String) { + url = item + } else if (item.constructor === Array) { + url = item[0] + if (item[1]) { + method = item[1].toLowerCase() + } + if (item[2]) { + options = item[2] + } + } else if (item.constructor === Object) { + url = item.url + if (item.method) { + method = item.method.toLowerCase() + } + } + + api[`${key}Await`] = function (params = {}) { + if (method === 'post') { + return initInstance(options).post(url, params) + } else { + return initInstance(options).get(url, { + params + }) + } + } + + api[key] = function (params = {}) { + return new Promise((reslove, reject) => { + api[`${key}Await`](params) + .then((res) => { + const { data } = res + if (errerCodes.indexOf(data.code) >= 0) { + errorNotification(data) + reject([ArrayBuffer, Blob].indexOf(data.constructor) > -1 ? res : data) + } else if (data.code === STATUS.Unauthorized) { + handlerUnauthorized() + } else { + reslove([ArrayBuffer, Blob].indexOf(data.constructor) > -1 ? res : data) + } + }) + .catch(({ response }) => { + if (process.env.VUE_APP_NODE_ENV === 'development') { + const { data, status } = response + if (data.constructor === String) { + errorNotification({ + message: data, + code: status + }) + } else { + errorNotification(data) + } + if (data.code === STATUS.Unauthorized) { + handlerUnauthorized() + } + reject(data) + } else { + errorNotification({ + message: '系统发生错误,请联系管理员' + }) + } + }) + }) + } + + api[key].prototype.name = key +} + +/** + * 并发请求,与axios.all方式相同 + * 但是使用的接口函数为this.$api.[接口名]E + */ +api.$queue = function (queue) { + return new Promise((reslove) => { + axios.all(queue).then((results) => { + const res = results.map(p => p.data) + reslove(res) + }) + }) +} + +export { + axios, + urls, + api, + STATUS +} diff --git a/Web/src/common/api/requests/index.js b/Web/src/common/api/requests/index.js index b9bb99e..075fb09 100644 --- a/Web/src/common/api/requests/index.js +++ b/Web/src/common/api/requests/index.js @@ -1,20 +1,20 @@ -/** - * 接口的3种配置方式 - * 1.string - * 如login: '/login'\ - * 将会默认已POST方式请求接口/login - * 2.array - * 如login: ['/login', 'post'] - * 数组[0]必填,为接口地址,[1]选填,为请求方式(不区分大小写),默认为POST - * 3.object - * 如login: { url: '/login', method: 'post' } - * [url]必填,为接口地址,[method]选填,为请求方式(不区分大小写),默认为POST - */ - -import sys from './sys' -import business from './business' - -export default { - ...sys, - ...business +/** + * 接口的3种配置方式 + * 1.string + * 如login: '/login'\ + * 将会默认已POST方式请求接口/login + * 2.array + * 如login: ['/login', 'post'] + * 数组[0]必填,为接口地址,[1]选填,为请求方式(不区分大小写),默认为POST + * 3.object + * 如login: { url: '/login', method: 'post' } + * [url]必填,为接口地址,[method]选填,为请求方式(不区分大小写),默认为POST + */ + +import sys from './sys' +import business from './business' + +export default { + ...sys, + ...business } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/appManage.js b/Web/src/common/api/requests/sys/appManage.js index ae55130..0ce8053 100644 --- a/Web/src/common/api/requests/sys/appManage.js +++ b/Web/src/common/api/requests/sys/appManage.js @@ -1,34 +1,34 @@ -export default { - /** - * 系统应用列表 - */ - getAppPage: ['/sysApp/page', 'post'], - /** - * 系统应用列表 - */ - getAppList: ['/sysApp/list', 'get'], - /** - * 新增系统应用 - */ - sysAppAdd: ['/sysApp/add', 'post'], - /** - * 编辑系统应用 - * - */ - sysAppEdit: ['/sysApp/edit', 'post'], - /** - * 删除系统应用 - */ - sysAppDelete: ['/sysApp/delete', 'post'], - /** - * 设为默认应用 - */ - sysAppSetAsDefault: ['/sysApp/setAsDefault', 'post'], - /** - * 修改应用状态 - */ - sysAppChangeStatus: ['/sysApp/changeStatus', 'post'], -} - - - +export default { + /** + * 系统应用列表 + */ + getAppPage: ['/sysApp/page', 'post'], + /** + * 系统应用列表 + */ + getAppList: ['/sysApp/list', 'get'], + /** + * 新增系统应用 + */ + sysAppAdd: ['/sysApp/add', 'post'], + /** + * 编辑系统应用 + * + */ + sysAppEdit: ['/sysApp/edit', 'post'], + /** + * 删除系统应用 + */ + sysAppDelete: ['/sysApp/delete', 'post'], + /** + * 设为默认应用 + */ + sysAppSetAsDefault: ['/sysApp/setAsDefault', 'post'], + /** + * 修改应用状态 + */ + sysAppChangeStatus: ['/sysApp/changeStatus', 'post'], +} + + + diff --git a/Web/src/common/api/requests/sys/configManage.js b/Web/src/common/api/requests/sys/configManage.js index 33a5c7d..157d026 100644 --- a/Web/src/common/api/requests/sys/configManage.js +++ b/Web/src/common/api/requests/sys/configManage.js @@ -1,26 +1,26 @@ -export default { - /** - * 分页查询配置列表 - */ - sysConfigPage: ['/sysConfig/page', 'post'], - /** - * 添加系统参数配置 - */ - sysConfigAdd: ['/sysConfig/add', 'post'], - /** - * 编辑系统参数配置 - */ - sysConfigEdit: ['/sysConfig/edit', 'post'], - /** - * 删除系统参数配置 - */ - sysConfigDelete: ['/sysConfig/delete', 'post'], - /** - * 获取字典类型下所有字典,举例,返回格式为:[{code:"M",value:"男"},{code:"F",value:"女"}] - */ - sysDictTypeDropDown: ['/sysDictType/dropDown', 'get'], - /** - * 获取系统的所有任务列表 - */ - sysTimersGetActionClasses: ['/sysTimers/getActionClasses', 'get'], +export default { + /** + * 分页查询配置列表 + */ + sysConfigPage: ['/sysConfig/page', 'post'], + /** + * 添加系统参数配置 + */ + sysConfigAdd: ['/sysConfig/add', 'post'], + /** + * 编辑系统参数配置 + */ + sysConfigEdit: ['/sysConfig/edit', 'post'], + /** + * 删除系统参数配置 + */ + sysConfigDelete: ['/sysConfig/delete', 'post'], + /** + * 获取字典类型下所有字典,举例,返回格式为:[{code:"M",value:"男"},{code:"F",value:"女"}] + */ + sysDictTypeDropDown: ['/sysDictType/dropDown', 'get'], + /** + * 获取系统的所有任务列表 + */ + sysTimersGetActionClasses: ['/sysTimers/getActionClasses', 'get'], } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/dictDataManage.js b/Web/src/common/api/requests/sys/dictDataManage.js index a81431a..75cc250 100644 --- a/Web/src/common/api/requests/sys/dictDataManage.js +++ b/Web/src/common/api/requests/sys/dictDataManage.js @@ -1,18 +1,18 @@ -export default { - /** - * 查询系统字典值 - */ - sysDictDataPage: ['/sysDictData/page', 'post'], - /** - * 添加系统字典值 - */ - sysDictDataAdd: ['/sysDictData/add', 'post'], - /** - * 编辑系统字典值 - */ - sysDictDataEdit: ['/sysDictData/edit', 'post'], - /** - * 删除系统字典值 - */ - sysDictDataDelete: ['/sysDictData/delete', 'post'], +export default { + /** + * 查询系统字典值 + */ + sysDictDataPage: ['/sysDictData/page', 'post'], + /** + * 添加系统字典值 + */ + sysDictDataAdd: ['/sysDictData/add', 'post'], + /** + * 编辑系统字典值 + */ + sysDictDataEdit: ['/sysDictData/edit', 'post'], + /** + * 删除系统字典值 + */ + sysDictDataDelete: ['/sysDictData/delete', 'post'], } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/dictManage.js b/Web/src/common/api/requests/sys/dictManage.js index 671cbdc..e0d1269 100644 --- a/Web/src/common/api/requests/sys/dictManage.js +++ b/Web/src/common/api/requests/sys/dictManage.js @@ -1,26 +1,26 @@ -export default { - /** - * 分页查询系统字典类型 - */ - sysDictTypePage: ['/sysDictType/page', 'post'], - /** - * 添加系统字典类型 - */ - sysDictTypeAdd: ['/sysDictType/add', 'post'], - /** - * 编辑系统字典类型 - */ - sysDictTypeEdit: ['/sysDictType/edit', 'post'], - /** - * 删除系统字典类型 - */ - sysDictTypeDelete: ['/sysDictType/delete', 'post'], - /** - * 获取字典类型下所有字典,举例,返回格式为:[{code:"M",value:"男"},{code:"F",value:"女"}] - */ - sysDictTypeDropDown: ['/sysDictType/dropDown', 'get'], - /** - * 获取所有字典,启动时加入缓存使用 - */ - sysDictTypeTree: ['/sysDictType/tree', 'get'], +export default { + /** + * 分页查询系统字典类型 + */ + sysDictTypePage: ['/sysDictType/page', 'post'], + /** + * 添加系统字典类型 + */ + sysDictTypeAdd: ['/sysDictType/add', 'post'], + /** + * 编辑系统字典类型 + */ + sysDictTypeEdit: ['/sysDictType/edit', 'post'], + /** + * 删除系统字典类型 + */ + sysDictTypeDelete: ['/sysDictType/delete', 'post'], + /** + * 获取字典类型下所有字典,举例,返回格式为:[{code:"M",value:"男"},{code:"F",value:"女"}] + */ + sysDictTypeDropDown: ['/sysDictType/dropDown', 'get'], + /** + * 获取所有字典,启动时加入缓存使用 + */ + sysDictTypeTree: ['/sysDictType/tree', 'get'], } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/emailManage.js b/Web/src/common/api/requests/sys/emailManage.js index 42e4071..79dbe1c 100644 --- a/Web/src/common/api/requests/sys/emailManage.js +++ b/Web/src/common/api/requests/sys/emailManage.js @@ -1,10 +1,10 @@ -export default { - /** - * 发送邮件 - */ - emailSendEmail: ['/email/sendEmail', 'post'], - /** - * 发送html邮件 - */ - emailSendEmailHtml: ['/email/sendEmailHtml', 'post'], +export default { + /** + * 发送邮件 + */ + emailSendEmail: ['/email/sendEmail', 'post'], + /** + * 发送html邮件 + */ + emailSendEmailHtml: ['/email/sendEmailHtml', 'post'], } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/fileManage.js b/Web/src/common/api/requests/sys/fileManage.js index f4bcc63..09248db 100644 --- a/Web/src/common/api/requests/sys/fileManage.js +++ b/Web/src/common/api/requests/sys/fileManage.js @@ -1,36 +1,36 @@ -export default { - /** - * 分页查询文件信息表 - */ - sysFileInfoPage: ['/sysFileInfo/page', 'post'], - /** - * 获取全部文件信息表 - */ - sysFileInfoList: ['/sysFileInfo/list', 'get'], - /** - * 上传文件 - */ - sysFileInfoUpload: ['/sysFileInfo/upload', 'post'], - /** - * 下载文件 - */ - sysFileInfoDownload: ['/sysFileInfo/download', 'get', { - responseType: 'blob' - }], - - /** - * 查看图片 - */ - sysFileInfoPreview: ['/sysFileInfo/preview', 'get', { - responseType: 'arraybuffer' - }], - - /** - * 查看详情文件信息表 - */ - sysFileInfoDetail: ['/sysFileInfo/detail', 'get'], - /** - * 删除文件信息表 - */ - sysFileInfoDelete: ['/sysFileInfo/delete', 'post'], +export default { + /** + * 分页查询文件信息表 + */ + sysFileInfoPage: ['/sysFileInfo/page', 'post'], + /** + * 获取全部文件信息表 + */ + sysFileInfoList: ['/sysFileInfo/list', 'get'], + /** + * 上传文件 + */ + sysFileInfoUpload: ['/sysFileInfo/upload', 'post'], + /** + * 下载文件 + */ + sysFileInfoDownload: ['/sysFileInfo/download', 'get', { + responseType: 'blob' + }], + + /** + * 查看图片 + */ + sysFileInfoPreview: ['/sysFileInfo/preview', 'get', { + responseType: 'arraybuffer' + }], + + /** + * 查看详情文件信息表 + */ + sysFileInfoDetail: ['/sysFileInfo/detail', 'get'], + /** + * 删除文件信息表 + */ + sysFileInfoDelete: ['/sysFileInfo/delete', 'post'], } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/logManage.js b/Web/src/common/api/requests/sys/logManage.js index 0a8a79a..5748f97 100644 --- a/Web/src/common/api/requests/sys/logManage.js +++ b/Web/src/common/api/requests/sys/logManage.js @@ -1,23 +1,23 @@ -export default { - - /** - * 查询访问日志 - */ - sysVisLogPage: ['/sysVisLog/page', 'post'], - - /** - * 查询操作日志 - */ - sysOpLogPage: ['/sysOpLog/page', 'post'], - - /** - * 清空访问日志 - */ - sysVisLogDelete: ['/sysVisLog/delete', 'post'], - - /** - * 清空登录日志 - */ - sysOpLogDelete: ['/sysOpLog/delete', 'post'], - +export default { + + /** + * 查询访问日志 + */ + sysVisLogPage: ['/sysVisLog/page', 'post'], + + /** + * 查询操作日志 + */ + sysOpLogPage: ['/sysOpLog/page', 'post'], + + /** + * 清空访问日志 + */ + sysVisLogDelete: ['/sysVisLog/delete', 'post'], + + /** + * 清空登录日志 + */ + sysOpLogDelete: ['/sysOpLog/delete', 'post'], + } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/loginManage.js b/Web/src/common/api/requests/sys/loginManage.js index e2a3432..414bf32 100644 --- a/Web/src/common/api/requests/sys/loginManage.js +++ b/Web/src/common/api/requests/sys/loginManage.js @@ -1,34 +1,34 @@ -export default { - /** - * 登录 - */ - login: ['/login', 'post'], - /** - * 登出 - */ - logout: ['/logout', 'post'], - /** - * 获取登录用户信息 - */ - getLoginUser: ['/getLoginUser', 'get'], - /** - * 获取租户开关 - */ - getTenantOpen: ['/getTenantOpen', 'get'], - /** - * 获取短信验证码 - */ - getSmsCaptcha: ['/getSmsCaptcha', 'get'], - /** - * 获取验证码开关 - */ - getCaptchaOpen: ['/getCaptchaOpen', 'get'], - /** - * 获取验证图片 以及token - */ - reqGet: ['/captcha/get', 'post'], - /** - * 滑动或者点选验证 - */ - reqCheck: ['/captcha/check', 'post'], +export default { + /** + * 登录 + */ + login: ['/login', 'post'], + /** + * 登出 + */ + logout: ['/logout', 'post'], + /** + * 获取登录用户信息 + */ + getLoginUser: ['/getLoginUser', 'get'], + /** + * 获取租户开关 + */ + getTenantOpen: ['/getTenantOpen', 'get'], + /** + * 获取短信验证码 + */ + getSmsCaptcha: ['/getSmsCaptcha', 'get'], + /** + * 获取验证码开关 + */ + getCaptchaOpen: ['/getCaptchaOpen', 'get'], + /** + * 获取验证图片 以及token + */ + reqGet: ['/captcha/get', 'post'], + /** + * 滑动或者点选验证 + */ + reqCheck: ['/captcha/check', 'post'], } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/machineManage.js b/Web/src/common/api/requests/sys/machineManage.js index e935c8d..6da3fd9 100644 --- a/Web/src/common/api/requests/sys/machineManage.js +++ b/Web/src/common/api/requests/sys/machineManage.js @@ -1,10 +1,10 @@ -export default { - /** - * - * 系统属性监控 - * - */ - sysMachineUse:['/sysMachine/use','get'], - sysMachineBase:['/sysMachine/base','get'], - sysMachineNetwork:['/sysMachine/network','get'] +export default { + /** + * + * 系统属性监控 + * + */ + sysMachineUse:['/sysMachine/use','get'], + sysMachineBase:['/sysMachine/base','get'], + sysMachineNetwork:['/sysMachine/network','get'] } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/menuManage.js b/Web/src/common/api/requests/sys/menuManage.js index dd13e2c..d02ffe3 100644 --- a/Web/src/common/api/requests/sys/menuManage.js +++ b/Web/src/common/api/requests/sys/menuManage.js @@ -1,66 +1,66 @@ -export default { -/** - * 获取菜单列表 - * - * @author yubaoshan - * @param parameter - * @returns {*} - */ -getMenuList:['/sysMenu/list','get'], - -/** - * 获取系统菜单树,用于新增,编辑时选择上级节点 - * - * @author yubaoshan - * @date 2020/4/23 12:22 - */ -getMenuTree:['/sysMenu/tree','get'], - -/** - * 增加菜单 - * - * @author yubaoshan - * @date 2020/4/24 23:23 - */ -sysMenuAdd:['/sysMenu/add','post'], - -/** - * 增加菜单 - * - * @author yubaoshan - * @date 2020/4/24 23:23 - */ -sysMenuDelete:['/sysMenu/delete','post'], - -/** - * 查看菜单详情 - * - * @author yubaoshan - * @date 2020/4/25 01:11 - */ -sysMenuDetail:['/sysMenu/detail','post'], - -/** - * 编辑系统菜单 - * - * @author yubaoshan - * @date 2020/4/25 01:11 - */ -sysMenuEdit:['/sysMenu/edit','post'], - -/** - * 获取系统菜单树,用于给角色授权时选择 - * - * @author yubaoshan - * @date 2020/6/2 17:30 - */ -SysMenuTreeForGrant:['/sysMenu/treeForGrant','get'], -/** - * 根据系统切换菜单 - * - * @author yubaoshan - * @date 2020/6/28 15:25 - */ -sysMenuChange:['/sysMenu/change','post'], - +export default { +/** + * 获取菜单列表 + * + * @author yubaoshan + * @param parameter + * @returns {*} + */ +getMenuList:['/sysMenu/list','get'], + +/** + * 获取系统菜单树,用于新增,编辑时选择上级节点 + * + * @author yubaoshan + * @date 2020/4/23 12:22 + */ +getMenuTree:['/sysMenu/tree','get'], + +/** + * 增加菜单 + * + * @author yubaoshan + * @date 2020/4/24 23:23 + */ +sysMenuAdd:['/sysMenu/add','post'], + +/** + * 增加菜单 + * + * @author yubaoshan + * @date 2020/4/24 23:23 + */ +sysMenuDelete:['/sysMenu/delete','post'], + +/** + * 查看菜单详情 + * + * @author yubaoshan + * @date 2020/4/25 01:11 + */ +sysMenuDetail:['/sysMenu/detail','post'], + +/** + * 编辑系统菜单 + * + * @author yubaoshan + * @date 2020/4/25 01:11 + */ +sysMenuEdit:['/sysMenu/edit','post'], + +/** + * 获取系统菜单树,用于给角色授权时选择 + * + * @author yubaoshan + * @date 2020/6/2 17:30 + */ +SysMenuTreeForGrant:['/sysMenu/treeForGrant','get'], +/** + * 根据系统切换菜单 + * + * @author yubaoshan + * @date 2020/6/28 15:25 + */ +sysMenuChange:['/sysMenu/change','post'], + } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/noticeManage.js b/Web/src/common/api/requests/sys/noticeManage.js index 2e5d7fd..72ef3cb 100644 --- a/Web/src/common/api/requests/sys/noticeManage.js +++ b/Web/src/common/api/requests/sys/noticeManage.js @@ -1,38 +1,38 @@ -export default { - /** - * 查询系统通知公告 - */ - sysNoticePage: ['/sysNotice/page', 'post'], - - - /** - * 添加系统通知公告 - */ - sysNoticeAdd: ['/sysNotice/add', 'post'], - - - /** - * 编辑系统通知公告 - */ - sysNoticeEdit: ['/sysNotice/edit', 'post'], - - - /** - * 删除系统通知公告 - */ - sysNoticeDelete: ['/sysNotice/delete', 'post'], - - - /** - * 通知公告详情 - */ - sysNoticeDetail: ['/sysNotice/detail', 'get'], - - - /** - * 修改状态 - */ - sysNoticeChangeStatus: ['/sysNotice/changeStatus', 'post'], - - +export default { + /** + * 查询系统通知公告 + */ + sysNoticePage: ['/sysNotice/page', 'post'], + + + /** + * 添加系统通知公告 + */ + sysNoticeAdd: ['/sysNotice/add', 'post'], + + + /** + * 编辑系统通知公告 + */ + sysNoticeEdit: ['/sysNotice/edit', 'post'], + + + /** + * 删除系统通知公告 + */ + sysNoticeDelete: ['/sysNotice/delete', 'post'], + + + /** + * 通知公告详情 + */ + sysNoticeDetail: ['/sysNotice/detail', 'get'], + + + /** + * 修改状态 + */ + sysNoticeChangeStatus: ['/sysNotice/changeStatus', 'post'], + + } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/noticeReceiveManage.js b/Web/src/common/api/requests/sys/noticeReceiveManage.js index faac3be..5baa7ed 100644 --- a/Web/src/common/api/requests/sys/noticeReceiveManage.js +++ b/Web/src/common/api/requests/sys/noticeReceiveManage.js @@ -1,6 +1,6 @@ -export default { - /** - * 查询我收到的系统通知公告 - */ -sysNoticeReceived:['/sysNotice/received','get'], +export default { + /** + * 查询我收到的系统通知公告 + */ +sysNoticeReceived:['/sysNotice/received','get'], } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/onlineUserManage.js b/Web/src/common/api/requests/sys/onlineUserManage.js index f92e7fe..3eedadf 100644 --- a/Web/src/common/api/requests/sys/onlineUserManage.js +++ b/Web/src/common/api/requests/sys/onlineUserManage.js @@ -1,12 +1,12 @@ -export default{ -/** - * 在线用户列表 - */ -sysOnlineUserList:['/sysOnlineUser/list','get'], - -/** - * 强制下线 - */ -sysOnlineUserForceExist:['/sysOnlineUser/forceExist','post'], - +export default{ +/** + * 在线用户列表 + */ +sysOnlineUserList:['/sysOnlineUser/list','get'], + +/** + * 强制下线 + */ +sysOnlineUserForceExist:['/sysOnlineUser/forceExist','post'], + } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/orgManage.js b/Web/src/common/api/requests/sys/orgManage.js index a6b2ea7..32e01b3 100644 --- a/Web/src/common/api/requests/sys/orgManage.js +++ b/Web/src/common/api/requests/sys/orgManage.js @@ -1,38 +1,38 @@ -export default { - /** - * 获取机构树 - * - */ - getOrgTree: ['/sysOrg/tree', 'get'], - - /** - * 获取机构列表 - * - */ - getOrgList: ['/sysOrg/list', 'get'], - - /** - * 获取机构列表 - * - */ - getOrgPage: ['/sysOrg/page', 'post'], - - /** - * 新增机构 - * - */ - sysOrgAdd: ['/sysOrg/add', 'post'], - - /** - * 编辑机构 - * - */ - sysOrgEdit: ['/sysOrg/edit', 'post'], - - /** - * 删除机构 - * - */ - sysOrgDelete: ['/sysOrg/delete', 'post'], - +export default { + /** + * 获取机构树 + * + */ + getOrgTree: ['/sysOrg/tree', 'get'], + + /** + * 获取机构列表 + * + */ + getOrgList: ['/sysOrg/list', 'get'], + + /** + * 获取机构列表 + * + */ + getOrgPage: ['/sysOrg/page', 'post'], + + /** + * 新增机构 + * + */ + sysOrgAdd: ['/sysOrg/add', 'post'], + + /** + * 编辑机构 + * + */ + sysOrgEdit: ['/sysOrg/edit', 'post'], + + /** + * 删除机构 + * + */ + sysOrgDelete: ['/sysOrg/delete', 'post'], + } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/posManage.js b/Web/src/common/api/requests/sys/posManage.js index 41e0f43..e96ef3c 100644 --- a/Web/src/common/api/requests/sys/posManage.js +++ b/Web/src/common/api/requests/sys/posManage.js @@ -1,32 +1,32 @@ -export default { - /** - * 查询系统职位 - * - */ - sysPosPage: ['/sysPos/page', 'post'], - - /** - * 系统职位列表 - * - */ - sysPosList: ['/sysPos/list', 'get'], - - /** - * 添加系统职位 - * - */ - sysPosAdd: ['/sysPos/add', 'post'], - - /** - * 编辑系统职位 - * - */ - sysPosEdit: ['/sysPos/edit', 'post'], - - /** - * 删除系统职位 - * - */ - sysPosDelete: ['/sysPos/delete', 'post'], - +export default { + /** + * 查询系统职位 + * + */ + sysPosPage: ['/sysPos/page', 'post'], + + /** + * 系统职位列表 + * + */ + sysPosList: ['/sysPos/list', 'get'], + + /** + * 添加系统职位 + * + */ + sysPosAdd: ['/sysPos/add', 'post'], + + /** + * 编辑系统职位 + * + */ + sysPosEdit: ['/sysPos/edit', 'post'], + + /** + * 删除系统职位 + * + */ + sysPosDelete: ['/sysPos/delete', 'post'], + } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/roleManage.js b/Web/src/common/api/requests/sys/roleManage.js index 1610eca..07dafe9 100644 --- a/Web/src/common/api/requests/sys/roleManage.js +++ b/Web/src/common/api/requests/sys/roleManage.js @@ -1,62 +1,62 @@ -export default { - /** - * 获取角色列表 - */ - getRolePage: ['/sysRole/page', 'post'], - - - /** - * 增加角色 - */ - sysRoleAdd: ['/sysRole/add', 'post'], - - - /** - * 编辑角色 - */ - sysRoleEdit: ['/sysRole/edit', 'post'], - - - /** - * 删除角色 - */ - sysRoleDelete: ['/sysRole/delete', 'post'], - - - /** - * 删除角色 - */ - sysRoleDeteil: ['/sysRole/detail', 'get'], - - - /** - * 获取授权角色列表 - */ - sysRoleDropDown: ['/sysRole/dropDown', 'get'], - - - /** - * 拥有菜单 - */ - sysRoleOwnMenu: ['/sysRole/ownMenu', 'get'], - - - /** - * 授权菜单 - */ - sysRoleGrantMenu: ['/sysRole/grantMenu', 'post'], - - - /** - * 拥有数据 - */ - sysRoleOwnData: ['/sysRole/ownData', 'get'], - - - /** - * 授权数据 - */ - sysRoleGrantData: ['/sysRole/grantData', 'post'], - - +export default { + /** + * 获取角色列表 + */ + getRolePage: ['/sysRole/page', 'post'], + + + /** + * 增加角色 + */ + sysRoleAdd: ['/sysRole/add', 'post'], + + + /** + * 编辑角色 + */ + sysRoleEdit: ['/sysRole/edit', 'post'], + + + /** + * 删除角色 + */ + sysRoleDelete: ['/sysRole/delete', 'post'], + + + /** + * 删除角色 + */ + sysRoleDeteil: ['/sysRole/detail', 'get'], + + + /** + * 获取授权角色列表 + */ + sysRoleDropDown: ['/sysRole/dropDown', 'get'], + + + /** + * 拥有菜单 + */ + sysRoleOwnMenu: ['/sysRole/ownMenu', 'get'], + + + /** + * 授权菜单 + */ + sysRoleGrantMenu: ['/sysRole/grantMenu', 'post'], + + + /** + * 拥有数据 + */ + sysRoleOwnData: ['/sysRole/ownData', 'get'], + + + /** + * 授权数据 + */ + sysRoleGrantData: ['/sysRole/grantData', 'post'], + + } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/smsManage.js b/Web/src/common/api/requests/sys/smsManage.js index b8d9708..f52daf7 100644 --- a/Web/src/common/api/requests/sys/smsManage.js +++ b/Web/src/common/api/requests/sys/smsManage.js @@ -1,17 +1,17 @@ -export default { - /** - * 发送记录查询 - */ - smsPage: ['/sms/page', 'get'], - - /** - * 验证短信验证码 - */ - sysSendLoginMessage: ['/sms/sendLoginMessage', 'post'], - - /** - * 验证短信验证码 - */ - sysValidateMessage: ['/sms/validateMessage', 'post'], - +export default { + /** + * 发送记录查询 + */ + smsPage: ['/sms/page', 'get'], + + /** + * 验证短信验证码 + */ + sysSendLoginMessage: ['/sms/sendLoginMessage', 'post'], + + /** + * 验证短信验证码 + */ + sysValidateMessage: ['/sms/validateMessage', 'post'], + } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/tenantManage.js b/Web/src/common/api/requests/sys/tenantManage.js index 300aa29..6c7cf96 100644 --- a/Web/src/common/api/requests/sys/tenantManage.js +++ b/Web/src/common/api/requests/sys/tenantManage.js @@ -1,26 +1,26 @@ -export default { - /** - * 租户列表 - * - */ - sysTenantPage: ['/sysTenant/page', 'post'], - - /** - * 新增租户 - * - */ - sysTenantAdd: ['/sysTenant/add', 'post'], - - /** - * 删除租户 - * - */ - sysTenantDelete: ['/sysTenant/delete', 'post'], - - /** - * 编辑租户 - * - */ - sysTenantEdit: ['/sysTenant/edit', 'post'], - +export default { + /** + * 租户列表 + * + */ + sysTenantPage: ['/sysTenant/page', 'post'], + + /** + * 新增租户 + * + */ + sysTenantAdd: ['/sysTenant/add', 'post'], + + /** + * 删除租户 + * + */ + sysTenantDelete: ['/sysTenant/delete', 'post'], + + /** + * 编辑租户 + * + */ + sysTenantEdit: ['/sysTenant/edit', 'post'], + } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/timersManage.js b/Web/src/common/api/requests/sys/timersManage.js index 30b17c3..09eb850 100644 --- a/Web/src/common/api/requests/sys/timersManage.js +++ b/Web/src/common/api/requests/sys/timersManage.js @@ -1,56 +1,56 @@ -export default { - /** - * 分页查询定时任务 - */ - sysTimersPage: ['/sysTimers/page', 'post'], - - - /** - * 获取全部定时任务 - */ - sysTimersList: ['/sysTimers/list', 'get'], - - - /** - * 查看详情定时任务 - */ - sysTimersDetail: ['/sysTimers/detail', 'get'], - - - /** - * 添加定时任务 - */ - sysTimersAdd: ['/sysTimers/add', 'post'], - - - /** - * 删除定时任务 - */ - sysTimersDelete: ['/sysTimers/delete', 'post'], - - - /** - * 编辑定时任务 - */ - sysTimersEdit: ['/sysTimers/edit', 'post'], - - - /** - * 获取系统的所有任务列表 - */ - sysTimersGetActionClasses: ['/sysTimers/getActionClasses', 'post'], - - - /** - * 启动定时任务 - */ - sysTimersStart: ['/sysTimers/start', 'post'], - - - /** - * 停止定时任务 - */ - sysTimersStop: ['/sysTimers/stop', 'post'], - - +export default { + /** + * 分页查询定时任务 + */ + sysTimersPage: ['/sysTimers/page', 'post'], + + + /** + * 获取全部定时任务 + */ + sysTimersList: ['/sysTimers/list', 'get'], + + + /** + * 查看详情定时任务 + */ + sysTimersDetail: ['/sysTimers/detail', 'get'], + + + /** + * 添加定时任务 + */ + sysTimersAdd: ['/sysTimers/add', 'post'], + + + /** + * 删除定时任务 + */ + sysTimersDelete: ['/sysTimers/delete', 'post'], + + + /** + * 编辑定时任务 + */ + sysTimersEdit: ['/sysTimers/edit', 'post'], + + + /** + * 获取系统的所有任务列表 + */ + sysTimersGetActionClasses: ['/sysTimers/getActionClasses', 'post'], + + + /** + * 启动定时任务 + */ + sysTimersStart: ['/sysTimers/start', 'post'], + + + /** + * 停止定时任务 + */ + sysTimersStop: ['/sysTimers/stop', 'post'], + + } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/userManage.js b/Web/src/common/api/requests/sys/userManage.js index 2607a1b..14c2968 100644 --- a/Web/src/common/api/requests/sys/userManage.js +++ b/Web/src/common/api/requests/sys/userManage.js @@ -1,76 +1,76 @@ -export default { - /** - * 获取用户列表 - */ - getUserPage: ['/sysUser/page', 'post'], - - /** - * 增加用户 - */ - sysUserAdd: ['/sysUser/add', 'post'], - - /** - * 编辑用户 - */ - sysUserEdit: ['/sysUser/edit', 'post'], - - /** - * 获取用户详情 - */ - sysUserDetail: ['/sysUser/detail', 'get'], - - /** - * 删除用户 - */ - sysUserDelete: ['/sysUser/delete', 'post'], - - /** - * 拥有角色 - */ - sysUserOwnRole: ['/sysUser/ownRole', 'get'], - - /** - * 授权角色 - */ - sysUserGrantRole: ['/sysUser/grantRole', 'post'], - - /** - * 拥有数据 - */ - sysUserOwnData: ['/sysUser/ownData', 'get'], - - /** - * 授权数据 - */ - sysUserGrantData: ['/sysUser/grantData', 'post'], - - /** - * 修改状态 - */ - sysUserChangeStatus: ['/sysUser/changeStatus', 'post'], - - /** - * 重置密码 - */ - sysUserResetPwd: ['/sysUser/resetPwd', 'post'], - - /** - * 修改密码 - */ - sysUserUpdatePwd: ['/sysUser/updatePwd', 'post'], - - /** - * 用户选择器 - */ - sysUserSelector: ['/sysUser/selector', 'get'], - - /** - * 修改头像 - */ - sysUserUpdateAvatar: ['/sysUser/updateAvatar', 'post'], - - /** - * 更新基本信息 - */ - sysUserUpdateInfo: ['/sysUser/updateInfo', 'post'], +export default { + /** + * 获取用户列表 + */ + getUserPage: ['/sysUser/page', 'post'], + + /** + * 增加用户 + */ + sysUserAdd: ['/sysUser/add', 'post'], + + /** + * 编辑用户 + */ + sysUserEdit: ['/sysUser/edit', 'post'], + + /** + * 获取用户详情 + */ + sysUserDetail: ['/sysUser/detail', 'get'], + + /** + * 删除用户 + */ + sysUserDelete: ['/sysUser/delete', 'post'], + + /** + * 拥有角色 + */ + sysUserOwnRole: ['/sysUser/ownRole', 'get'], + + /** + * 授权角色 + */ + sysUserGrantRole: ['/sysUser/grantRole', 'post'], + + /** + * 拥有数据 + */ + sysUserOwnData: ['/sysUser/ownData', 'get'], + + /** + * 授权数据 + */ + sysUserGrantData: ['/sysUser/grantData', 'post'], + + /** + * 修改状态 + */ + sysUserChangeStatus: ['/sysUser/changeStatus', 'post'], + + /** + * 重置密码 + */ + sysUserResetPwd: ['/sysUser/resetPwd', 'post'], + + /** + * 修改密码 + */ + sysUserUpdatePwd: ['/sysUser/updatePwd', 'post'], + + /** + * 用户选择器 + */ + sysUserSelector: ['/sysUser/selector', 'get'], + + /** + * 修改头像 + */ + sysUserUpdateAvatar: ['/sysUser/updateAvatar', 'post'], + + /** + * 更新基本信息 + */ + sysUserUpdateInfo: ['/sysUser/updateInfo', 'post'], } \ No newline at end of file diff --git a/Web/src/common/api/status.js b/Web/src/common/api/status.js index 7c3c1cd..924c141 100644 --- a/Web/src/common/api/status.js +++ b/Web/src/common/api/status.js @@ -1,206 +1,206 @@ -export default { - // - // 摘要: - // 等效于 HTTP 状态 100。 System.Net.HttpStatusCode.Continue 指示客户端可以继续其请求。 - Continue: 100, - // - // 摘要: - // 等效于 HTTP 状态为 101。 System.Net.HttpStatusCode.SwitchingProtocols 指示正在更改的协议版本或协议。 - SwitchingProtocols: 101, - // - // 摘要: - // 等效于 HTTP 状态 200。 System.Net.HttpStatusCode.OK 指示请求成功,且请求的信息包含在响应中。 这是要接收的最常见状态代码。 - OK: 200, - // - // 摘要: - // 等效于 HTTP 状态 201。 System.Net.HttpStatusCode.Created 指示请求导致已发送响应之前创建一个新的资源。 - Created: 201, - // - // 摘要: - // 等效于 HTTP 状态 202。 System.Net.HttpStatusCode.Accepted 指示请求已被接受进行进一步处理。 - Accepted: 202, - // - // 摘要: - // 等效于 HTTP 状态 203。 System.Net.HttpStatusCode.NonAuthoritativeInformation 指示返回的元信息来自而不是原始服务器的缓存副本,因此可能不正确。 - NonAuthoritativeInformation: 203, - // - // 摘要: - // 等效于 HTTP 状态 204。 System.Net.HttpStatusCode.NoContent 指示已成功处理请求和响应是有意留为空白。 - NoContent: 204, - // - // 摘要: - // 等效于 HTTP 状态 205。 System.Net.HttpStatusCode.ResetContent 指示客户端应重置 (而不是重新加载) 的当前资源。 - ResetContent: 205, - // - // 摘要: - // 等效于 HTTP 206 状态。 System.Net.HttpStatusCode.PartialContent 指示根据包括字节范围的 GET 请求的请求的响应是部分响应。 - PartialContent: 206, - // - // 摘要: - // 等效于 HTTP 状态 300。 System.Net.HttpStatusCode.MultipleChoices 指示所需的信息有多种表示形式。 默认操作是将此状态视为一个重定向,并按照与此响应关联的位置标头的内容。 - MultipleChoices: 300, - // - // 摘要: - // 等效于 HTTP 状态 300。 System.Net.HttpStatusCode.Ambiguous 指示所需的信息有多种表示形式。 默认操作是将此状态视为一个重定向,并按照与此响应关联的位置标头的内容。 - Ambiguous: 300, - // - // 摘要: - // 等效于 HTTP 状态 301。 System.Net.HttpStatusCode.MovedPermanently 指示已将所需的信息移动到的位置标头中指定的 - // URI。 当收到此状态时的默认操作是遵循与响应关联的位置标头。 - MovedPermanently: 301, - // - // 摘要: - // 等效于 HTTP 状态 301。 System.Net.HttpStatusCode.Moved 指示已将所需的信息移动到的位置标头中指定的 URI。 当收到此状态时的默认操作是遵循与响应关联的位置标头。 - // 当原始请求方法是 POST 时,重定向的请求将使用 GET 方法。 - Moved: 301, - // - // 摘要: - // 等效于 HTTP 状态 302。 System.Net.HttpStatusCode.Found 指示所需的信息位于的位置标头中指定的 URI。 当收到此状态时的默认操作是遵循与响应关联的位置标头。 - // 当原始请求方法是 POST 时,重定向的请求将使用 GET 方法。 - Found: 302, - // - // 摘要: - // 等效于 HTTP 状态 302。 System.Net.HttpStatusCode.Redirect 指示所需的信息位于的位置标头中指定的 URI。 当收到此状态时的默认操作是遵循与响应关联的位置标头。 - // 当原始请求方法是 POST 时,重定向的请求将使用 GET 方法。 - Redirect: 302, - // - // 摘要: - // 等效于 HTTP 状态 303。 System.Net.HttpStatusCode.SeeOther 自动将客户端重定向到的位置标头中指定作为公告的结果的 - // URI。 对指定的位置标头的资源的请求将会执行与 GET。 - SeeOther: 303, - // - // 摘要: - // 等效于 HTTP 状态 303。 System.Net.HttpStatusCode.RedirectMethod 自动将客户端重定向到的位置标头中指定作为公告的结果的 - // URI。 对指定的位置标头的资源的请求将会执行与 GET。 - RedirectMethod: 303, - // - // 摘要: - // 等效于 HTTP 状态 304。 System.Net.HttpStatusCode.NotModified 指示客户端的缓存的副本是最新。 不会传输资源的内容。 - NotModified: 304, - // - // 摘要: - // 等效于 HTTP 状态 305。 System.Net.HttpStatusCode.UseProxy 指示该请求应使用的位置标头中指定的 uri 的代理服务器。 - UseProxy: 305, - // - // 摘要: - // 等效于 HTTP 状态 306。 System.Net.HttpStatusCode.Unused 是对未完全指定的 HTTP/1.1 规范建议的扩展。 - Unused: 306, - // - // 摘要: - // 等效于 HTTP 状态 307。 System.Net.HttpStatusCode.TemporaryRedirect 指示请求信息位于的位置标头中指定的 - // URI。 当收到此状态时的默认操作是遵循与响应关联的位置标头。 当原始请求方法是 POST 时,重定向的请求还将使用 POST 方法。 - TemporaryRedirect: 307, - // - // 摘要: - // 等效于 HTTP 状态 307。 System.Net.HttpStatusCode.RedirectKeepVerb 指示请求信息位于的位置标头中指定的 - // URI。 当收到此状态时的默认操作是遵循与响应关联的位置标头。 当原始请求方法是 POST 时,重定向的请求还将使用 POST 方法。 - RedirectKeepVerb: 307, - // - // 摘要: - // 等效于 HTTP 状态 400。 System.Net.HttpStatusCode.BadRequest 指示无法由服务器理解此请求。 System.Net.HttpStatusCode.BadRequest - // 如果没有其他错误适用,或者如果具体的错误是未知的或不具有其自己的错误代码发送。 - BadRequest: 400, - // - // 摘要: - // 等效于 HTTP 状态 401。 System.Net.HttpStatusCode.Unauthorized 指示所请求的资源需要身份验证。 Www-authenticate - // 标头包含如何执行身份验证的详细信息。 - Unauthorized: 401, - // - // 摘要: - // 等效于 HTTP 状态 402。 System.Net.HttpStatusCode.PaymentRequired 已保留供将来使用。 - PaymentRequired: 402, - // - // 摘要: - // 等效于 HTTP 状态 403。 System.Net.HttpStatusCode.Forbidden 指示服务器拒绝无法完成请求。 - Forbidden: 403, - // - // 摘要: - // 等效于 HTTP 状态 404。 System.Net.HttpStatusCode.NotFound 指示所请求的资源不存在的服务器上。 - NotFound: 404, - // - // 摘要: - // 等效于 HTTP 状态 405。 System.Net.HttpStatusCode.MethodNotAllowed 指示请求方法 (POST 或 GET) - // 不允许对所请求的资源。 - MethodNotAllowed: 405, - // - // 摘要: - // 等效于 HTTP 状态 406。 System.Net.HttpStatusCode.NotAcceptable 表示客户端已指定使用 Accept 标头,它将不接受任何可用的资源表示。 - NotAcceptable: 406, - // - // 摘要: - // 等效于 HTTP 状态 407。 System.Net.HttpStatusCode.ProxyAuthenticationRequired 指示请求的代理要求身份验证。 - // 代理服务器进行身份验证标头包含如何执行身份验证的详细信息。 - ProxyAuthenticationRequired: 407, - // - // 摘要: - // 等效于 HTTP 状态 408。 System.Net.HttpStatusCode.RequestTimeout 指示客户端的服务器预期请求的时间内没有未发送请求。 - RequestTimeout: 408, - // - // 摘要: - // 等效于 HTTP 状态 409。 System.Net.HttpStatusCode.Conflict 指示该请求可能不会执行由于在服务器上发生冲突。 - Conflict: 409, - // - // 摘要: - // 等效于 HTTP 状态 410。 System.Net.HttpStatusCode.Gone 指示所请求的资源不再可用。 - Gone: 410, - // - // 摘要: - // 等效于 HTTP 状态 411。 System.Net.HttpStatusCode.LengthRequired 指示缺少必需的内容长度标头。 - LengthRequired: 411, - // - // 摘要: - // 等效于 HTTP 状态 412。 System.Net.HttpStatusCode.PreconditionFailed 表示失败,此请求的设置的条件,无法执行请求。 - // 使用条件请求标头,如果匹配项,如设置条件无-If-match,或如果-修改-自从。 - PreconditionFailed: 412, - // - // 摘要: - // 等效于 HTTP 状态 413。 System.Net.HttpStatusCode.RequestEntityTooLarge 指示请求来说太大的服务器能够处理。 - RequestEntityTooLarge: 413, - // - // 摘要: - // 等效于 HTTP 状态 414。 System.Net.HttpStatusCode.RequestUriTooLong 指示 URI 太长。 - RequestUriTooLong: 414, - // - // 摘要: - // 等效于 HTTP 状态 415。 System.Net.HttpStatusCode.UnsupportedMediaType 指示该请求是不受支持的类型。 - UnsupportedMediaType: 415, - // - // 摘要: - // 等效于 HTTP 416 状态。 System.Net.HttpStatusCode.RequestedRangeNotSatisfiable 指示从资源请求的数据范围不能返回,或者因为范围的开始处,然后该资源的开头或范围的末尾后在资源的结尾。 - RequestedRangeNotSatisfiable: 416, - // - // 摘要: - // 等效于 HTTP 状态 417。 System.Net.HttpStatusCode.ExpectationFailed 指示无法由服务器满足 Expect - // 标头中给定。 - ExpectationFailed: 417, - // - // 摘要: - // 等效于 HTTP 状态 426。 System.Net.HttpStatusCode.UpgradeRequired 指示客户端应切换到不同的协议,例如 - // TLS/1.0。 - UpgradeRequired: 426, - // - // 摘要: - // 等效于 HTTP 状态 500。 System.Net.HttpStatusCode.InternalServerError 表示在服务器上发生一般性错误。 - InternalServerError: 500, - // - // 摘要: - // 等效于 HTTP 状态 501。 System.Net.HttpStatusCode.NotImplemented 指示服务器不支持所请求的功能。 - NotImplemented: 501, - // - // 摘要: - // 等效于 HTTP 状态 502。 System.Net.HttpStatusCode.BadGateway 指示中间代理服务器从另一个代理或原始服务器接收到错误响应。 - BadGateway: 502, - // - // 摘要: - // 等效于 HTTP 状态 503。 System.Net.HttpStatusCode.ServiceUnavailable 指示将服务器暂时不可用,通常是由于高负载或维护。 - ServiceUnavailable: 503, - // - // 摘要: - // 等效于 HTTP 状态 504。 System.Net.HttpStatusCode.GatewayTimeout 指示中间代理服务器在等待来自另一个代理或原始服务器的响应时已超时。 - GatewayTimeout: 504, - // - // 摘要: - // 等效于 HTTP 状态 505。 System.Net.HttpStatusCode.HttpVersionNotSupported 指示服务器不支持请求的 - // HTTP 版本。 - HttpVersionNotSupported: 505 +export default { + // + // 摘要: + // 等效于 HTTP 状态 100。 System.Net.HttpStatusCode.Continue 指示客户端可以继续其请求。 + Continue: 100, + // + // 摘要: + // 等效于 HTTP 状态为 101。 System.Net.HttpStatusCode.SwitchingProtocols 指示正在更改的协议版本或协议。 + SwitchingProtocols: 101, + // + // 摘要: + // 等效于 HTTP 状态 200。 System.Net.HttpStatusCode.OK 指示请求成功,且请求的信息包含在响应中。 这是要接收的最常见状态代码。 + OK: 200, + // + // 摘要: + // 等效于 HTTP 状态 201。 System.Net.HttpStatusCode.Created 指示请求导致已发送响应之前创建一个新的资源。 + Created: 201, + // + // 摘要: + // 等效于 HTTP 状态 202。 System.Net.HttpStatusCode.Accepted 指示请求已被接受进行进一步处理。 + Accepted: 202, + // + // 摘要: + // 等效于 HTTP 状态 203。 System.Net.HttpStatusCode.NonAuthoritativeInformation 指示返回的元信息来自而不是原始服务器的缓存副本,因此可能不正确。 + NonAuthoritativeInformation: 203, + // + // 摘要: + // 等效于 HTTP 状态 204。 System.Net.HttpStatusCode.NoContent 指示已成功处理请求和响应是有意留为空白。 + NoContent: 204, + // + // 摘要: + // 等效于 HTTP 状态 205。 System.Net.HttpStatusCode.ResetContent 指示客户端应重置 (而不是重新加载) 的当前资源。 + ResetContent: 205, + // + // 摘要: + // 等效于 HTTP 206 状态。 System.Net.HttpStatusCode.PartialContent 指示根据包括字节范围的 GET 请求的请求的响应是部分响应。 + PartialContent: 206, + // + // 摘要: + // 等效于 HTTP 状态 300。 System.Net.HttpStatusCode.MultipleChoices 指示所需的信息有多种表示形式。 默认操作是将此状态视为一个重定向,并按照与此响应关联的位置标头的内容。 + MultipleChoices: 300, + // + // 摘要: + // 等效于 HTTP 状态 300。 System.Net.HttpStatusCode.Ambiguous 指示所需的信息有多种表示形式。 默认操作是将此状态视为一个重定向,并按照与此响应关联的位置标头的内容。 + Ambiguous: 300, + // + // 摘要: + // 等效于 HTTP 状态 301。 System.Net.HttpStatusCode.MovedPermanently 指示已将所需的信息移动到的位置标头中指定的 + // URI。 当收到此状态时的默认操作是遵循与响应关联的位置标头。 + MovedPermanently: 301, + // + // 摘要: + // 等效于 HTTP 状态 301。 System.Net.HttpStatusCode.Moved 指示已将所需的信息移动到的位置标头中指定的 URI。 当收到此状态时的默认操作是遵循与响应关联的位置标头。 + // 当原始请求方法是 POST 时,重定向的请求将使用 GET 方法。 + Moved: 301, + // + // 摘要: + // 等效于 HTTP 状态 302。 System.Net.HttpStatusCode.Found 指示所需的信息位于的位置标头中指定的 URI。 当收到此状态时的默认操作是遵循与响应关联的位置标头。 + // 当原始请求方法是 POST 时,重定向的请求将使用 GET 方法。 + Found: 302, + // + // 摘要: + // 等效于 HTTP 状态 302。 System.Net.HttpStatusCode.Redirect 指示所需的信息位于的位置标头中指定的 URI。 当收到此状态时的默认操作是遵循与响应关联的位置标头。 + // 当原始请求方法是 POST 时,重定向的请求将使用 GET 方法。 + Redirect: 302, + // + // 摘要: + // 等效于 HTTP 状态 303。 System.Net.HttpStatusCode.SeeOther 自动将客户端重定向到的位置标头中指定作为公告的结果的 + // URI。 对指定的位置标头的资源的请求将会执行与 GET。 + SeeOther: 303, + // + // 摘要: + // 等效于 HTTP 状态 303。 System.Net.HttpStatusCode.RedirectMethod 自动将客户端重定向到的位置标头中指定作为公告的结果的 + // URI。 对指定的位置标头的资源的请求将会执行与 GET。 + RedirectMethod: 303, + // + // 摘要: + // 等效于 HTTP 状态 304。 System.Net.HttpStatusCode.NotModified 指示客户端的缓存的副本是最新。 不会传输资源的内容。 + NotModified: 304, + // + // 摘要: + // 等效于 HTTP 状态 305。 System.Net.HttpStatusCode.UseProxy 指示该请求应使用的位置标头中指定的 uri 的代理服务器。 + UseProxy: 305, + // + // 摘要: + // 等效于 HTTP 状态 306。 System.Net.HttpStatusCode.Unused 是对未完全指定的 HTTP/1.1 规范建议的扩展。 + Unused: 306, + // + // 摘要: + // 等效于 HTTP 状态 307。 System.Net.HttpStatusCode.TemporaryRedirect 指示请求信息位于的位置标头中指定的 + // URI。 当收到此状态时的默认操作是遵循与响应关联的位置标头。 当原始请求方法是 POST 时,重定向的请求还将使用 POST 方法。 + TemporaryRedirect: 307, + // + // 摘要: + // 等效于 HTTP 状态 307。 System.Net.HttpStatusCode.RedirectKeepVerb 指示请求信息位于的位置标头中指定的 + // URI。 当收到此状态时的默认操作是遵循与响应关联的位置标头。 当原始请求方法是 POST 时,重定向的请求还将使用 POST 方法。 + RedirectKeepVerb: 307, + // + // 摘要: + // 等效于 HTTP 状态 400。 System.Net.HttpStatusCode.BadRequest 指示无法由服务器理解此请求。 System.Net.HttpStatusCode.BadRequest + // 如果没有其他错误适用,或者如果具体的错误是未知的或不具有其自己的错误代码发送。 + BadRequest: 400, + // + // 摘要: + // 等效于 HTTP 状态 401。 System.Net.HttpStatusCode.Unauthorized 指示所请求的资源需要身份验证。 Www-authenticate + // 标头包含如何执行身份验证的详细信息。 + Unauthorized: 401, + // + // 摘要: + // 等效于 HTTP 状态 402。 System.Net.HttpStatusCode.PaymentRequired 已保留供将来使用。 + PaymentRequired: 402, + // + // 摘要: + // 等效于 HTTP 状态 403。 System.Net.HttpStatusCode.Forbidden 指示服务器拒绝无法完成请求。 + Forbidden: 403, + // + // 摘要: + // 等效于 HTTP 状态 404。 System.Net.HttpStatusCode.NotFound 指示所请求的资源不存在的服务器上。 + NotFound: 404, + // + // 摘要: + // 等效于 HTTP 状态 405。 System.Net.HttpStatusCode.MethodNotAllowed 指示请求方法 (POST 或 GET) + // 不允许对所请求的资源。 + MethodNotAllowed: 405, + // + // 摘要: + // 等效于 HTTP 状态 406。 System.Net.HttpStatusCode.NotAcceptable 表示客户端已指定使用 Accept 标头,它将不接受任何可用的资源表示。 + NotAcceptable: 406, + // + // 摘要: + // 等效于 HTTP 状态 407。 System.Net.HttpStatusCode.ProxyAuthenticationRequired 指示请求的代理要求身份验证。 + // 代理服务器进行身份验证标头包含如何执行身份验证的详细信息。 + ProxyAuthenticationRequired: 407, + // + // 摘要: + // 等效于 HTTP 状态 408。 System.Net.HttpStatusCode.RequestTimeout 指示客户端的服务器预期请求的时间内没有未发送请求。 + RequestTimeout: 408, + // + // 摘要: + // 等效于 HTTP 状态 409。 System.Net.HttpStatusCode.Conflict 指示该请求可能不会执行由于在服务器上发生冲突。 + Conflict: 409, + // + // 摘要: + // 等效于 HTTP 状态 410。 System.Net.HttpStatusCode.Gone 指示所请求的资源不再可用。 + Gone: 410, + // + // 摘要: + // 等效于 HTTP 状态 411。 System.Net.HttpStatusCode.LengthRequired 指示缺少必需的内容长度标头。 + LengthRequired: 411, + // + // 摘要: + // 等效于 HTTP 状态 412。 System.Net.HttpStatusCode.PreconditionFailed 表示失败,此请求的设置的条件,无法执行请求。 + // 使用条件请求标头,如果匹配项,如设置条件无-If-match,或如果-修改-自从。 + PreconditionFailed: 412, + // + // 摘要: + // 等效于 HTTP 状态 413。 System.Net.HttpStatusCode.RequestEntityTooLarge 指示请求来说太大的服务器能够处理。 + RequestEntityTooLarge: 413, + // + // 摘要: + // 等效于 HTTP 状态 414。 System.Net.HttpStatusCode.RequestUriTooLong 指示 URI 太长。 + RequestUriTooLong: 414, + // + // 摘要: + // 等效于 HTTP 状态 415。 System.Net.HttpStatusCode.UnsupportedMediaType 指示该请求是不受支持的类型。 + UnsupportedMediaType: 415, + // + // 摘要: + // 等效于 HTTP 416 状态。 System.Net.HttpStatusCode.RequestedRangeNotSatisfiable 指示从资源请求的数据范围不能返回,或者因为范围的开始处,然后该资源的开头或范围的末尾后在资源的结尾。 + RequestedRangeNotSatisfiable: 416, + // + // 摘要: + // 等效于 HTTP 状态 417。 System.Net.HttpStatusCode.ExpectationFailed 指示无法由服务器满足 Expect + // 标头中给定。 + ExpectationFailed: 417, + // + // 摘要: + // 等效于 HTTP 状态 426。 System.Net.HttpStatusCode.UpgradeRequired 指示客户端应切换到不同的协议,例如 + // TLS/1.0。 + UpgradeRequired: 426, + // + // 摘要: + // 等效于 HTTP 状态 500。 System.Net.HttpStatusCode.InternalServerError 表示在服务器上发生一般性错误。 + InternalServerError: 500, + // + // 摘要: + // 等效于 HTTP 状态 501。 System.Net.HttpStatusCode.NotImplemented 指示服务器不支持所请求的功能。 + NotImplemented: 501, + // + // 摘要: + // 等效于 HTTP 状态 502。 System.Net.HttpStatusCode.BadGateway 指示中间代理服务器从另一个代理或原始服务器接收到错误响应。 + BadGateway: 502, + // + // 摘要: + // 等效于 HTTP 状态 503。 System.Net.HttpStatusCode.ServiceUnavailable 指示将服务器暂时不可用,通常是由于高负载或维护。 + ServiceUnavailable: 503, + // + // 摘要: + // 等效于 HTTP 状态 504。 System.Net.HttpStatusCode.GatewayTimeout 指示中间代理服务器在等待来自另一个代理或原始服务器的响应时已超时。 + GatewayTimeout: 504, + // + // 摘要: + // 等效于 HTTP 状态 505。 System.Net.HttpStatusCode.HttpVersionNotSupported 指示服务器不支持请求的 + // HTTP 版本。 + HttpVersionNotSupported: 505 } \ No newline at end of file diff --git a/Web/src/common/login/index.js b/Web/src/common/login/index.js index ce75d86..27098ce 100644 --- a/Web/src/common/login/index.js +++ b/Web/src/common/login/index.js @@ -1,61 +1,61 @@ -import { api } from '@/common/api' -import { token } from '@/common/token' -import { encryptByDES, decryptByDES } from '@/util/des' -import { removeGlobal } from '@/util/global' -import app from '@/main' - -const doLogin = (args) => { - return new Promise((resolve, reject) => { - api.login(args).then(({ success, data, message }) => { - if (success) { - token.value = data - app.$message.success('登录成功') - if (app.$route.query.return) { - const r = decryptByDES(app.$route.query.return) - app.$router.replace(r) - } else { - app.$router.replace('/') - } - resolve() - } else { - app.$message.error(message) - reject() - } - }).catch(({ message }) => { - if (typeof message === 'object' && message[0]) { - app.$message.error(message[0].messages[0]) - } - reject() - }) - }) -} - -const doLogout = () => { - return new Promise((resolve, reject) => { - api.logout().then(({ success, message }) => { - if (success) { - removeGlobal() - token.value = '' - if (app.$route.path === '/') { - app.$router.replace('/login') - } else { - app.$router.replace({ - path: '/login', - query: { - return: decodeURIComponent(encryptByDES(app.$route.path)) - } - }) - } - resolve() - } else { - app.$message.error(message) - reject() - } - }) - }) -} - -export { - doLogin, - doLogout, +import { api } from '@/common/api' +import { token } from '@/common/token' +import { encryptByDES, decryptByDES } from '@/util/des' +import { removeGlobal } from '@/util/global' +import app from '@/main' + +const doLogin = (args) => { + return new Promise((resolve, reject) => { + api.login(args).then(({ success, data, message }) => { + if (success) { + token.value = data + app.$message.success('登录成功') + if (app.$route.query.return) { + const r = decryptByDES(app.$route.query.return) + app.$router.replace(r) + } else { + app.$router.replace('/') + } + resolve() + } else { + app.$message.error(message) + reject() + } + }).catch(({ message }) => { + if (typeof message === 'object' && message[0]) { + app.$message.error(message[0].messages[0]) + } + reject() + }) + }) +} + +const doLogout = () => { + return new Promise((resolve, reject) => { + api.logout().then(({ success, message }) => { + if (success) { + removeGlobal() + token.value = '' + if (app.$route.path === '/') { + app.$router.replace('/login') + } else { + app.$router.replace({ + path: '/login', + query: { + return: decodeURIComponent(encryptByDES(app.$route.path)) + } + }) + } + resolve() + } else { + app.$message.error(message) + reject() + } + }) + }) +} + +export { + doLogin, + doLogout, } \ No newline at end of file diff --git a/Web/src/common/storage/index.js b/Web/src/common/storage/index.js index 0be05e6..73e8b15 100644 --- a/Web/src/common/storage/index.js +++ b/Web/src/common/storage/index.js @@ -1,9 +1,9 @@ -const SESSION_KEY = '__SESSION' -const SETTING_KEY = '__SETTINGS' -const GLOBAL_INFO_KEY = '__GLOBAL_INFO' - -export { - SESSION_KEY, - SETTING_KEY, - GLOBAL_INFO_KEY, +const SESSION_KEY = '__SESSION' +const SETTING_KEY = '__SETTINGS' +const GLOBAL_INFO_KEY = '__GLOBAL_INFO' + +export { + SESSION_KEY, + SETTING_KEY, + GLOBAL_INFO_KEY, } \ No newline at end of file diff --git a/Web/src/common/token/index.js b/Web/src/common/token/index.js index 1f2d500..a9b248b 100644 --- a/Web/src/common/token/index.js +++ b/Web/src/common/token/index.js @@ -1,19 +1,19 @@ -import { SESSION_KEY } from '@/common/storage' - -const token = { - get value() { - return window.localStorage.getItem(SESSION_KEY) - }, - set value(token) { - if (!token) { - window.localStorage.removeItem(SESSION_KEY) - } else { - window.localStorage.setItem(SESSION_KEY, token) - } - } -} - -export { - SESSION_KEY, - token -} +import { SESSION_KEY } from '@/common/storage' + +const token = { + get value() { + return window.localStorage.getItem(SESSION_KEY) + }, + set value(token) { + if (!token) { + window.localStorage.removeItem(SESSION_KEY) + } else { + window.localStorage.setItem(SESSION_KEY, token) + } + } +} + +export { + SESSION_KEY, + token +} diff --git a/Web/src/components/authorized/index.js b/Web/src/components/authorized/index.js index 5b7e8e5..1571926 100644 --- a/Web/src/components/authorized/index.js +++ b/Web/src/components/authorized/index.js @@ -1,192 +1,192 @@ -/** - * auth: 允许的权限 - * authExclude: 排除的权限 - * - * auth的几种传值方式 - * 1.String - * 例: auth="sysApp:page" - * 直接传入字符串,对单项权限进行验证 - * - * 2.Array - * 2.1.单项权限 - * 例: :auth="['sysApp:page']" - * 2.2.并且关系多项权限 - * 例: :auth="['sysApp:page', 'sysApp:add']" - * 数组中传入多个字符串 - * 此时验证的是同时拥有"sysApp:page"和"sysApp:add"两项权限才会渲染 - * 2.3.或者关系多项权限 - * 例: :auth="[['sysApp:page', 'sysApp:add'], ['sysApp:edit']]" - * 二维数组结构,内部数组之间为并且关系 - * 此时验证的是"sysApp:page"&"sysApp:add"||"sysApp:edit" - * 注意:或者的条件必须包括在数组中,暴露在外则判定为并且 - * 2.4.可直接传入布尔值 - * 例: :auth="['sysApp:page', 1 === 1]" - * :auth="[['sysApp:page', 'sysApp:add'], [1 === 1]]" - * - * 3.Json - * 如果觉得多项权限时每次都要写应用编号比较繁琐,可对Array形式进行简化 - * 3.1.单项权限 - * 例: :auth="{ sysApp: 'page' }" - * 3.2.并且关系多项权限 - * 例: :auth="{ sysApp: ['page', 'add'] }" - * 3.3.或者关系多项权限 - * 例: :auth="{ sysApp: [['page', 'add'], ['edit']]}" - * 3.4.可直接传入布尔值 - * 例: :auth="{ sysApp: ['page', 1 === 1] }" - * :auth="{ sysApp: [['page', 'add'], [1 === 1]] }" - * - */ - -import app from '@/main' - -const authByArray = (auth, permissions) => { - - const flags = [] - - auth.forEach(p => { - switch (p.constructor) { - case String: - flags.push([permissions.indexOf(p) > -1, '&&']) - break - case Array: - flags.push([authByArray(p, permissions), '||']) - break - case Boolean: - flags.push([p, '&&']) - break - } - }) - - let result - - flags.forEach((p, i) => { - if (p[1] === '&&') { - if (i === 0) { - result = true - } - if (result) { - result = p[0] - } - } else { - if (i === 0) { - result = false - } - if (!result) { - result = p[0] - } - } - //result = p[1] === '&&' ? result && p[0] : result || p[0] - }) - - return result -} - -const authByJson = (auth, permissions) => { - - let result = true - - const flags = [] - - const deepName = (arr, key) => { - arr.forEach((p, i) => { - switch (p.constructor) { - case String: - arr[i] = `${key}:${p}` - break - case Array: - p = deepName(p, key) - break - default: - p = p - break - } - }) - return arr - } - - for (let key in auth) { - const app = auth[key] - switch (app.constructor) { - case String: - flags.push(permissions.indexOf(`${key}:${p}`) > -1) - break - case Array: - flags.push(authByArray(deepName(app, key), permissions)) - break - } - } - - flags.forEach(p => { - result = result && p - }) - - return result - -} - -export const auth = (auth) => { - - const { info } = app.global - - if (!info) { - return false - } - - /** - * 超级管理员 - */ - if (info.adminType === 1) { - return true - } - - const permissions = info.permissions - - let flag = false - - if (auth) { - switch (auth.constructor) { - case String: - flag = permissions.indexOf(auth) > -1 - break - case Array: - flag = authByArray(auth, permissions) - break - case Object: - flag = authByJson(auth, permissions) - break - } - } - - return flag -} - -export default { - functional: true, - props: { - auth: { - default() { - return new Array() - }, - type: [Array, Object, String], - }, - authExclude: { - default() { - return new Array() - }, - type: Array, - }, - }, - - render(h, context) { - const { props, scopedSlots } = context - const authExclude = props.authExclude - - let flag = auth(props.auth) - - if (flag) { - return scopedSlots.default && scopedSlots.default() - } - - return false - }, +/** + * auth: 允许的权限 + * authExclude: 排除的权限 + * + * auth的几种传值方式 + * 1.String + * 例: auth="sysApp:page" + * 直接传入字符串,对单项权限进行验证 + * + * 2.Array + * 2.1.单项权限 + * 例: :auth="['sysApp:page']" + * 2.2.并且关系多项权限 + * 例: :auth="['sysApp:page', 'sysApp:add']" + * 数组中传入多个字符串 + * 此时验证的是同时拥有"sysApp:page"和"sysApp:add"两项权限才会渲染 + * 2.3.或者关系多项权限 + * 例: :auth="[['sysApp:page', 'sysApp:add'], ['sysApp:edit']]" + * 二维数组结构,内部数组之间为并且关系 + * 此时验证的是"sysApp:page"&"sysApp:add"||"sysApp:edit" + * 注意:或者的条件必须包括在数组中,暴露在外则判定为并且 + * 2.4.可直接传入布尔值 + * 例: :auth="['sysApp:page', 1 === 1]" + * :auth="[['sysApp:page', 'sysApp:add'], [1 === 1]]" + * + * 3.Json + * 如果觉得多项权限时每次都要写应用编号比较繁琐,可对Array形式进行简化 + * 3.1.单项权限 + * 例: :auth="{ sysApp: 'page' }" + * 3.2.并且关系多项权限 + * 例: :auth="{ sysApp: ['page', 'add'] }" + * 3.3.或者关系多项权限 + * 例: :auth="{ sysApp: [['page', 'add'], ['edit']]}" + * 3.4.可直接传入布尔值 + * 例: :auth="{ sysApp: ['page', 1 === 1] }" + * :auth="{ sysApp: [['page', 'add'], [1 === 1]] }" + * + */ + +import app from '@/main' + +const authByArray = (auth, permissions) => { + + const flags = [] + + auth.forEach(p => { + switch (p.constructor) { + case String: + flags.push([permissions.indexOf(p) > -1, '&&']) + break + case Array: + flags.push([authByArray(p, permissions), '||']) + break + case Boolean: + flags.push([p, '&&']) + break + } + }) + + let result + + flags.forEach((p, i) => { + if (p[1] === '&&') { + if (i === 0) { + result = true + } + if (result) { + result = p[0] + } + } else { + if (i === 0) { + result = false + } + if (!result) { + result = p[0] + } + } + //result = p[1] === '&&' ? result && p[0] : result || p[0] + }) + + return result +} + +const authByJson = (auth, permissions) => { + + let result = true + + const flags = [] + + const deepName = (arr, key) => { + arr.forEach((p, i) => { + switch (p.constructor) { + case String: + arr[i] = `${key}:${p}` + break + case Array: + p = deepName(p, key) + break + default: + p = p + break + } + }) + return arr + } + + for (let key in auth) { + const app = auth[key] + switch (app.constructor) { + case String: + flags.push(permissions.indexOf(`${key}:${p}`) > -1) + break + case Array: + flags.push(authByArray(deepName(app, key), permissions)) + break + } + } + + flags.forEach(p => { + result = result && p + }) + + return result + +} + +export const auth = (auth) => { + + const { info } = app.global + + if (!info) { + return false + } + + /** + * 超级管理员 + */ + if (info.adminType === 1) { + return true + } + + const permissions = info.permissions + + let flag = false + + if (auth) { + switch (auth.constructor) { + case String: + flag = permissions.indexOf(auth) > -1 + break + case Array: + flag = authByArray(auth, permissions) + break + case Object: + flag = authByJson(auth, permissions) + break + } + } + + return flag +} + +export default { + functional: true, + props: { + auth: { + default() { + return new Array() + }, + type: [Array, Object, String], + }, + authExclude: { + default() { + return new Array() + }, + type: Array, + }, + }, + + render(h, context) { + const { props, scopedSlots } = context + const authExclude = props.authExclude + + let flag = auth(props.auth) + + if (flag) { + return scopedSlots.default && scopedSlots.default() + } + + return false + }, } \ No newline at end of file diff --git a/Web/src/components/container/index.vue b/Web/src/components/container/index.vue index 86c6c8b..549d3e3 100644 --- a/Web/src/components/container/index.vue +++ b/Web/src/components/container/index.vue @@ -1,14 +1,14 @@ - - \ No newline at end of file diff --git a/Web/src/components/yoAuthorityView/index.js b/Web/src/components/yoAuthorityView/index.js index 759281a..9e20be7 100644 --- a/Web/src/components/yoAuthorityView/index.js +++ b/Web/src/components/yoAuthorityView/index.js @@ -1,254 +1,254 @@ -export default { - props: { - loadData: { - type: Function, - require: true, - }, - - autoLoad: { - type: Boolean, - default: true - }, - - defaultSelectedKeys: { - type: Array, - default: [] - } - }, - - data() { - return { - loading: false, - - data: [], - list: [] - } - }, - - created() { - if (this.autoLoad) { - this.onLoadData() - } - }, - - methods: { - - renderDescriptions(data) { - return data.map(p => { - return p.children && p.children.length ? this.renderItem(p) : this.renderCheckbox(p) - }) - }, - - renderItem(data) { - return ( - - - this.onChange(e, data)} - >{data.title} - {this.renderDescriptions(data.children)} - - - ) - }, - - renderCheckbox(data) { - return ( -
- {data.visibleParent && data.type == 2 && - - - - } - this.onChange(e, data)} - > - {data.title} - -
- ) - }, - - onLoadData() { - this.loading = true - - this.loadData().then((res) => { - this.data = this.generateCheck(res) - - this.list = [] - this.generateList(this.data) - - if (this.defaultSelectedKeys.length) { - this.list.map(p => { - if (this.defaultSelectedKeys.indexOf(p.id) > -1 && (!p.children || !p.children.length)) { - this.onSelect(true, p) - } - }) - } - - this.loading = false - }) - }, - - onReloadData() { - - this.data = [] - this.onLoadData() - - }, - - onChange(e, item) { - - this.onSelect(e.target.checked, item) - - const visible = this.getVisible() - - this.$emit('select', - // 返回所有选中 - this.list.filter(p => p.checked).map(p => p.id), - // 返回所有选中和半选 - this.list.filter(p => p.checked || p.indeterminate).map(p => p.id), - // 返回所有选中和半选,但是不返回没有子级选中visibleParent的半选 - visible - ) - }, - - onSelect(check, item) { - item.checked = check - item.indeterminate = false - if (item.children && item.children.length) { - this.onChangeChildren(item.checked, item.children) - } - if (item.parentId) { - this.onChangeParent(item.checked, item.parentId) - } - }, - - onChangeParent(checked, parentId) { - const parent = this.list.find(p => p.id === parentId) - if (parent) { - const checkedCount = parent.children.filter(p => p.checked).length - const indeterminateCount = parent.children.filter(p => p.indeterminate).length - if (checkedCount === parent.children.length) { - // 全选 - parent.checked = true - parent.indeterminate = false - } else if (!checkedCount && !indeterminateCount) { - // 全不选 - parent.checked = false - parent.indeterminate = false - } else { - // 半选 - parent.checked = false - parent.indeterminate = true - } - this.onChangeParent(checked, parent.parentId) - } - }, - - onChangeChildren(checked, children) { - children.forEach(p => { - p.checked = checked - p.indeterminate = false - if (p.children && p.children.length) { - this.onChangeChildren(checked, p.children) - } - }) - }, - - generateCheck(data) { - data.forEach(p => { - if (p.children && p.children.length) { - p.children = this.generateCheck(p.children) - } - p.checked = false - p.indeterminate = false - }) - - return data - }, - - generateList(data) { - data.forEach(p => { - if (p.children && p.children.length) { - this.generateList(p.children) - } - this.list.push(p) - }) - }, - - getVisible() { - const checked = this.list.filter(p => p.checked) - const caseChildren = checked.filter(p => p.visibleParent || p.type != 2) - const visibleParents = [] - // 递归寻找父级 - const findVisibleParents = (children) => { - const parents = [] - children.forEach(item => { - if (item.parentId) { - const parent = this.list.find(p => p.id === item.parentId) - if (parent) { - parents.push(parent) - visibleParents.push(parent) - } - } - }) - if (parents.length) { - findVisibleParents(parents) - } - } - - findVisibleParents(caseChildren) - - const checkedIds = checked.map(p => p.id) - const visibleParentsIds = visibleParents.map(p => p.id) - - const result = checkedIds - visibleParentsIds.forEach(p => { - if (result.indexOf(p) === -1) { - result.push(p) - } - }) - - return result - }, - - }, - - render() { - return ( -
- - - { - !this.loading && - - { - this.data.map(p => { - return ( - - this.onChange(e, p)} - >{p.title} - {this.renderDescriptions(p.children)} - - ) - }) - } - - } - -
- ) - } +export default { + props: { + loadData: { + type: Function, + require: true, + }, + + autoLoad: { + type: Boolean, + default: true + }, + + defaultSelectedKeys: { + type: Array, + default: [] + } + }, + + data() { + return { + loading: false, + + data: [], + list: [] + } + }, + + created() { + if (this.autoLoad) { + this.onLoadData() + } + }, + + methods: { + + renderDescriptions(data) { + return data.map(p => { + return p.children && p.children.length ? this.renderItem(p) : this.renderCheckbox(p) + }) + }, + + renderItem(data) { + return ( + + + this.onChange(e, data)} + >{data.title} + {this.renderDescriptions(data.children)} + + + ) + }, + + renderCheckbox(data) { + return ( +
+ {data.visibleParent && data.type == 2 && + + + + } + this.onChange(e, data)} + > + {data.title} + +
+ ) + }, + + onLoadData() { + this.loading = true + + this.loadData().then((res) => { + this.data = this.generateCheck(res) + + this.list = [] + this.generateList(this.data) + + if (this.defaultSelectedKeys.length) { + this.list.map(p => { + if (this.defaultSelectedKeys.indexOf(p.id) > -1 && (!p.children || !p.children.length)) { + this.onSelect(true, p) + } + }) + } + + this.loading = false + }) + }, + + onReloadData() { + + this.data = [] + this.onLoadData() + + }, + + onChange(e, item) { + + this.onSelect(e.target.checked, item) + + const visible = this.getVisible() + + this.$emit('select', + // 返回所有选中 + this.list.filter(p => p.checked).map(p => p.id), + // 返回所有选中和半选 + this.list.filter(p => p.checked || p.indeterminate).map(p => p.id), + // 返回所有选中和半选,但是不返回没有子级选中visibleParent的半选 + visible + ) + }, + + onSelect(check, item) { + item.checked = check + item.indeterminate = false + if (item.children && item.children.length) { + this.onChangeChildren(item.checked, item.children) + } + if (item.parentId) { + this.onChangeParent(item.checked, item.parentId) + } + }, + + onChangeParent(checked, parentId) { + const parent = this.list.find(p => p.id === parentId) + if (parent) { + const checkedCount = parent.children.filter(p => p.checked).length + const indeterminateCount = parent.children.filter(p => p.indeterminate).length + if (checkedCount === parent.children.length) { + // 全选 + parent.checked = true + parent.indeterminate = false + } else if (!checkedCount && !indeterminateCount) { + // 全不选 + parent.checked = false + parent.indeterminate = false + } else { + // 半选 + parent.checked = false + parent.indeterminate = true + } + this.onChangeParent(checked, parent.parentId) + } + }, + + onChangeChildren(checked, children) { + children.forEach(p => { + p.checked = checked + p.indeterminate = false + if (p.children && p.children.length) { + this.onChangeChildren(checked, p.children) + } + }) + }, + + generateCheck(data) { + data.forEach(p => { + if (p.children && p.children.length) { + p.children = this.generateCheck(p.children) + } + p.checked = false + p.indeterminate = false + }) + + return data + }, + + generateList(data) { + data.forEach(p => { + if (p.children && p.children.length) { + this.generateList(p.children) + } + this.list.push(p) + }) + }, + + getVisible() { + const checked = this.list.filter(p => p.checked) + const caseChildren = checked.filter(p => p.visibleParent || p.type != 2) + const visibleParents = [] + // 递归寻找父级 + const findVisibleParents = (children) => { + const parents = [] + children.forEach(item => { + if (item.parentId) { + const parent = this.list.find(p => p.id === item.parentId) + if (parent) { + parents.push(parent) + visibleParents.push(parent) + } + } + }) + if (parents.length) { + findVisibleParents(parents) + } + } + + findVisibleParents(caseChildren) + + const checkedIds = checked.map(p => p.id) + const visibleParentsIds = visibleParents.map(p => p.id) + + const result = checkedIds + visibleParentsIds.forEach(p => { + if (result.indexOf(p) === -1) { + result.push(p) + } + }) + + return result + }, + + }, + + render() { + return ( +
+ + + { + !this.loading && + + { + this.data.map(p => { + return ( + + this.onChange(e, p)} + >{p.title} + {this.renderDescriptions(p.children)} + + ) + }) + } + + } + +
+ ) + } } \ No newline at end of file diff --git a/Web/src/components/yoList/index.js b/Web/src/components/yoList/index.js index 5798fb4..29a6665 100644 --- a/Web/src/components/yoList/index.js +++ b/Web/src/components/yoList/index.js @@ -1,107 +1,107 @@ -export default { - props: { - pageNo: { - default: 1, - type: Number, - }, - pageSize: { - default: 10, - type: Number, - }, - loadData: { - type: Function, - require: true, - }, - }, - - data() { - return { - loading: false, - - data: [], - - pagination: { - current: this.pageNo, - pageSize: this.pageSize, - total: 0, - size: 'small', - showSizeChanger: true, - showQuickJumper: true, - showTotal: (total) => `总共${total}条数据` - }, - }; - }, - - created() { - this.onLoadData() - }, - - methods: { - - onLoading() { - this.loading = { - indicator: - } - }, - - onLoaded() { - this.loading = false - }, - - onLoadData() { - this.onLoading() - - this.loadData({ - pageNo: this.pagination.current, - pageSize: this.pagination.pageSize, - ...this.sorter - }).then((res) => { - this.data = res.rows - this.pagination.total = res.totalRows - this.onLoaded() - }) - }, - - onReloadData(refresh = false) { - if (refresh && refresh.constructor === Boolean && this.pagination.constructor === Object) { - this.pagination.current = this.pageNo - this.pagination.pageSize = this.pageSize - } - this.onLoadData() - }, - - }, - - render() { - const props = { - loading: this.loading, - pagination: this.pagination, - dataSource: this.data, - rowKey: record => record.id, - ...this.$attrs - } - - const on = { - //change: this.onTableChange - } - return ( -
-
-
- {this.$scopedSlots.operator && this.$scopedSlots.operator()} -
-
- - 刷新 - -
-
- - {Object.keys(this.$slots).map((name) => ( - - ))} - -
- ) - }, -} +export default { + props: { + pageNo: { + default: 1, + type: Number, + }, + pageSize: { + default: 10, + type: Number, + }, + loadData: { + type: Function, + require: true, + }, + }, + + data() { + return { + loading: false, + + data: [], + + pagination: { + current: this.pageNo, + pageSize: this.pageSize, + total: 0, + size: 'small', + showSizeChanger: true, + showQuickJumper: true, + showTotal: (total) => `总共${total}条数据` + }, + }; + }, + + created() { + this.onLoadData() + }, + + methods: { + + onLoading() { + this.loading = { + indicator: + } + }, + + onLoaded() { + this.loading = false + }, + + onLoadData() { + this.onLoading() + + this.loadData({ + pageNo: this.pagination.current, + pageSize: this.pagination.pageSize, + ...this.sorter + }).then((res) => { + this.data = res.rows + this.pagination.total = res.totalRows + this.onLoaded() + }) + }, + + onReloadData(refresh = false) { + if (refresh && refresh.constructor === Boolean && this.pagination.constructor === Object) { + this.pagination.current = this.pageNo + this.pagination.pageSize = this.pageSize + } + this.onLoadData() + }, + + }, + + render() { + const props = { + loading: this.loading, + pagination: this.pagination, + dataSource: this.data, + rowKey: record => record.id, + ...this.$attrs + } + + const on = { + //change: this.onTableChange + } + return ( +
+
+
+ {this.$scopedSlots.operator && this.$scopedSlots.operator()} +
+
+ + 刷新 + +
+
+ + {Object.keys(this.$slots).map((name) => ( + + ))} + +
+ ) + }, +} diff --git a/Web/src/components/yoTable/column.vue b/Web/src/components/yoTable/column.vue index 104c6bf..e66f489 100644 --- a/Web/src/components/yoTable/column.vue +++ b/Web/src/components/yoTable/column.vue @@ -1,64 +1,64 @@ - - \ No newline at end of file diff --git a/Web/src/components/yoTable/index.js b/Web/src/components/yoTable/index.js index 0348be2..ba394d3 100644 --- a/Web/src/components/yoTable/index.js +++ b/Web/src/components/yoTable/index.js @@ -1,229 +1,229 @@ -// 列设置用jsx实现起来较为困难 -import ColumnSetting from './column' - -export default { - props: { - pageNo: { - default: 1, - type: Number, - }, - pageSize: { - default: 10, - type: Number, - }, - loadData: { - type: Function, - require: true, - }, - columns: { - type: Array, - require: true, - }, - }, - - data() { - return { - loading: false, - - type: '', - - data: [], - - pagination: { - current: this.pageNo, - pageSize: this.pageSize, - total: 0, - size: 'small', - showSizeChanger: true, - showQuickJumper: true, - showTotal: (total) => `总共${total}条数据` - }, - - sorter: { - sortField: '', - sortOrder: '', - }, - - columnSettingVisible: false - }; - }, - - created() { - this.onLoadData() - }, - - methods: { - - renderColumnSetting() { - - const props = { - visible: this.columnSettingVisible, - placement: 'bottomRight' - } - - const on = { - visibleChange: (visible) => { - this.columnSettingVisible = visible - } - } - - return ( - - this.columnSettingVisible = true}>设置列 - { return false }}> - { - this.columns.map(column => { - return ( - - { column.hidden = !column.hidden }}>{column.title} - - ) - }) - } - - - ) - }, - - onLoading() { - this.loading = { - indicator: - } - }, - - onLoaded() { - this.loading = false - }, - - onLoadData() { - this.onLoading() - - this.loadData({ - pageNo: this.pagination.current, - pageSize: this.pagination.pageSize, - ...this.sorter - }).then((res) => { - if (res.rows) { - // 普通表格 - this.type = 'table' - this.data = res.rows - this.pagination.total = res.totalRows - } else if (res) { - // 树形表格 - this.type = 'tree' - this.data = this.onClearChildren(res) - this.pagination = false - } - }).finally(() => { - this.onLoaded() - }) - }, - - onReloadData(refresh = false) { - if (refresh && refresh.constructor === Boolean && this.pagination.constructor === Object) { - this.pagination.current = this.pageNo - this.pagination.pageSize = this.pageSize - } - this.onLoadData() - }, - - onTableChange(pagination, filters, sorter) { - this.pagination = pagination - this.sorter = { - sortField: sorter.field, - sortOrder: sorter.order, - } - this.onLoadData() - }, - - /** - * 清除没有子节点内容的子节点位置 - */ - onClearChildren(data) { - data.forEach(p => { - if (p.children) { - if (p.children.length) { - p.children = this.onClearChildren(p.children) - } else { - delete p.children - } - } - }) - return data - }, - - onQuery() { - this.$emit('query') - }, - - onResetQuery() { - this.$emit('resetQuery') - this.$emit('reset-query') - } - }, - - render() { - const props = { - loading: this.loading, - pagination: this.pagination, - dataSource: this.data, - columns: this.columns.filter(p => !p.hidden), - bordered: true, - size: 'middle', - rowKey: record => record.id || Math.random().toString(16).slice(2), - scroll: { x: 'max-content' } - } - - const on = { - change: this.onTableChange, - ...this.$listeners - } - - const queryOn = { - 'submit.native.prevent': () => { } - } - - return ( -
- - - -
- { - this.$scopedSlots.query && -
- - {this.$scopedSlots.query()} - - - 查询 - 重置 - - - -
- } -
-
- {this.$scopedSlots.operator && this.$scopedSlots.operator()} -
-
- - 刷新 - { - this.type === 'table' && - } - -
-
- - {Object.keys(this.$slots).map((name) => ( - - ))} - -
- ) - }, +// 列设置用jsx实现起来较为困难 +import ColumnSetting from './column' + +export default { + props: { + pageNo: { + default: 1, + type: Number, + }, + pageSize: { + default: 10, + type: Number, + }, + loadData: { + type: Function, + require: true, + }, + columns: { + type: Array, + require: true, + }, + }, + + data() { + return { + loading: false, + + type: '', + + data: [], + + pagination: { + current: this.pageNo, + pageSize: this.pageSize, + total: 0, + size: 'small', + showSizeChanger: true, + showQuickJumper: true, + showTotal: (total) => `总共${total}条数据` + }, + + sorter: { + sortField: '', + sortOrder: '', + }, + + columnSettingVisible: false + }; + }, + + created() { + this.onLoadData() + }, + + methods: { + + renderColumnSetting() { + + const props = { + visible: this.columnSettingVisible, + placement: 'bottomRight' + } + + const on = { + visibleChange: (visible) => { + this.columnSettingVisible = visible + } + } + + return ( + + this.columnSettingVisible = true}>设置列 + { return false }}> + { + this.columns.map(column => { + return ( + + { column.hidden = !column.hidden }}>{column.title} + + ) + }) + } + + + ) + }, + + onLoading() { + this.loading = { + indicator: + } + }, + + onLoaded() { + this.loading = false + }, + + onLoadData() { + this.onLoading() + + this.loadData({ + pageNo: this.pagination.current, + pageSize: this.pagination.pageSize, + ...this.sorter + }).then((res) => { + if (res.rows) { + // 普通表格 + this.type = 'table' + this.data = res.rows + this.pagination.total = res.totalRows + } else if (res) { + // 树形表格 + this.type = 'tree' + this.data = this.onClearChildren(res) + this.pagination = false + } + }).finally(() => { + this.onLoaded() + }) + }, + + onReloadData(refresh = false) { + if (refresh && refresh.constructor === Boolean && this.pagination.constructor === Object) { + this.pagination.current = this.pageNo + this.pagination.pageSize = this.pageSize + } + this.onLoadData() + }, + + onTableChange(pagination, filters, sorter) { + this.pagination = pagination + this.sorter = { + sortField: sorter.field, + sortOrder: sorter.order, + } + this.onLoadData() + }, + + /** + * 清除没有子节点内容的子节点位置 + */ + onClearChildren(data) { + data.forEach(p => { + if (p.children) { + if (p.children.length) { + p.children = this.onClearChildren(p.children) + } else { + delete p.children + } + } + }) + return data + }, + + onQuery() { + this.$emit('query') + }, + + onResetQuery() { + this.$emit('resetQuery') + this.$emit('reset-query') + } + }, + + render() { + const props = { + loading: this.loading, + pagination: this.pagination, + dataSource: this.data, + columns: this.columns.filter(p => !p.hidden), + bordered: true, + size: 'middle', + rowKey: record => record.id || Math.random().toString(16).slice(2), + scroll: { x: 'max-content' } + } + + const on = { + change: this.onTableChange, + ...this.$listeners + } + + const queryOn = { + 'submit.native.prevent': () => { } + } + + return ( +
+ + + +
+ { + this.$scopedSlots.query && +
+ + {this.$scopedSlots.query()} + + + 查询 + 重置 + + + +
+ } +
+
+ {this.$scopedSlots.operator && this.$scopedSlots.operator()} +
+
+ + 刷新 + { + this.type === 'table' && + } + +
+
+ + {Object.keys(this.$slots).map((name) => ( + + ))} + +
+ ) + }, } \ No newline at end of file diff --git a/Web/src/components/yoTableActions/index.js b/Web/src/components/yoTableActions/index.js index bc5c203..3855864 100644 --- a/Web/src/components/yoTableActions/index.js +++ b/Web/src/components/yoTableActions/index.js @@ -1,23 +1,23 @@ -export default { - render() { - - const components = [] - - const slots = this.$slots.default.filter(p => p.tag) - - slots.forEach((p, i) => { - components.push(p) - if (i < slots.length - 1) { - components.push() - } - }) - - return ( -
-
- {components} -
-
- ) - } +export default { + render() { + + const components = [] + + const slots = this.$slots.default.filter(p => p.tag) + + slots.forEach((p, i) => { + components.push(p) + if (i < slots.length - 1) { + components.push() + } + }) + + return ( +
+
+ {components} +
+
+ ) + } } \ No newline at end of file diff --git a/Web/src/components/yoTreeLayout/index.js b/Web/src/components/yoTreeLayout/index.js index 9373170..fdd4932 100644 --- a/Web/src/components/yoTreeLayout/index.js +++ b/Web/src/components/yoTreeLayout/index.js @@ -1,303 +1,303 @@ -import Swiper from 'swiper' - -let timer, swiper - -export default { - props: { - loadData: { - type: Function, - require: true, - }, - - defaultExpandedKeys: { - default: false, - type: Boolean - }, - - replaceFields: { - default() { - return { - value: 'id', - title: 'title', - children: 'children' - } - }, - type: Object - } - }, - - data() { - return { - loading: false, - - data: [], - list: [], - - searchValue: '', - - selectedKeys: [], - expandedKeys: [], - autoExpandParent: true - } - }, - - created() { - this.onLoadData() - }, - - mounted() { - const container = this.$refs.swiper, - scrollBar = container.querySelector('.swiper-scrollbar') - - const swiperOptions = { - direction: 'vertical', - slidesPerView: 'auto', - freeMode: true, - scrollbar: { - el: scrollBar, - }, - mousewheel: true, - } - - swiper = new Swiper(container, swiperOptions) - - window.addEventListener('resize', () => { - this.onUpdateSwiper() - }) - - }, - - methods: { - - renderBreadcrumbItem() { - - const path = ['顶级'] - - const findPath = (data, level) => { - level = level || 1 - for (let i = 0; i < data.length; i++) { - const item = data[i] - - path[level] = item[this.replaceFields.title] - - if (item[this.replaceFields.value] === this.selectedKeys[0]) { - path.length = level + 1 - return true - } - - if (item[this.replaceFields.children] && item[this.replaceFields.children].length) { - const found = findPath(item[this.replaceFields.children], level + 1) - if (found) { - return true - } - } - } - } - - if (this.selectedKeys.length) { - findPath(this.data) - } - - return path.map(p => ( - {p} - )) - }, - - onLoadData() { - this.loading = true - - this.loadData().then((res) => { - const data = this.generateKey(res) - this.list = [] - this.generateList(data) - if (this.defaultExpandedKeys) { - this.expandedKeys = this.list.map(p => p.key) - } - this.data = data - - this.$nextTick(() => { - this.onUpdateSwiper() - }) - }).finally(() => { - this.loading = false - }) - }, - - onReloadData() { - this.onLoadData() - }, - - onExpand(expandedKeys) { - this.expandedKeys = expandedKeys - this.autoExpandParent = false - this.onUpdateSwiper() - }, - - onUnexpandAll() { - this.expandedKeys = [] - }, - - onSearch(value) { - const expandedKeys = this.list - .map(p => { - if (p[this.replaceFields.title].indexOf(value) > -1) { - return this.getParentKey(p.key, this.data) - } - return null - }) - .filter((p, i, self) => p && self.indexOf(p) === i) - - this.searchValue = value - this.expandedKeys = expandedKeys - this.autoExpandParent = true - - this.$nextTick(() => { - this.onUpdateSwiper() - }) - - }, - - onSelect(selectedKeys) { - const selectedIds = [] - selectedKeys.forEach(p => { - const data = this.list.find(m => m.key === p) - selectedIds.push(data[this.replaceFields.value]) - }) - this.selectedKeys = selectedIds - this.$emit('select', selectedIds) - }, - - onUpdateSwiper() { - clearTimeout(timer) - timer = setTimeout(() => { - swiper.update() - swiper.update() - }, 300) - }, - - generateKey(data, level) { - const n = level || [0] - n.push(0) - data.forEach((p, i) => { - n[n.length - 1] = i - p.key = n.join('-') - p.scopedSlots = { title: 'title' } - if (p[this.replaceFields.children]) { - this.generateKey(p[this.replaceFields.children], Object.assign([], n)) - } - }) - return data - }, - - generateList(data) { - // 这里获取不到Key - for (let i = 0; i < data.length; i++) { - const { key } = data[i] - this.list.push({ - key, - [this.replaceFields.value]: data[i][this.replaceFields.value], - [this.replaceFields.title]: data[i][this.replaceFields.title] - }) - if (data[i][this.replaceFields.children]) { - this.generateList(data[i][this.replaceFields.children]) - } - } - }, - - getParentKey(key, tree) { - let parentKey; - for (let i = 0; i < tree.length; i++) { - const node = tree[i] - if (node[this.replaceFields.children]) { - if (node[this.replaceFields.children].some(item => item.key === key)) { - parentKey = node.key - } else if (this.getParentKey(key, node[this.replaceFields.children])) { - parentKey = this.getParentKey(key, node[this.replaceFields.children]) - } - } - } - return parentKey; - }, - }, - - render() { - - const props = { - treeData: this.data, - expandedKeys: this.expandedKeys, - autoExpandParent: this.autoExpandParent, - } - - const on = { - expand: this.onExpand, - select: this.onSelect - } - - const scopedSlots = { - title: (props) => { - const title = props[this.replaceFields.title] - return ( -
- { - title.indexOf(this.searchValue) > -1 ? - - {title.substr(0, title.indexOf(this.searchValue))} - {this.searchValue} - {title.substr(title.indexOf(this.searchValue) + this.searchValue.length)} - - : - {title} - } -
- - ); - } - } - - return ( - - - -
- -
-
-
- - - -
-
-
-
- - - { - !this.loading && !this.list.length ? - - - - : - - } - -
-
-
-
- - - - - {this.renderBreadcrumbItem()} - - - {this.$scopedSlots.default ? this.$scopedSlots.default() : null} - - - ) - } +import Swiper from 'swiper' + +let timer, swiper + +export default { + props: { + loadData: { + type: Function, + require: true, + }, + + defaultExpandedKeys: { + default: false, + type: Boolean + }, + + replaceFields: { + default() { + return { + value: 'id', + title: 'title', + children: 'children' + } + }, + type: Object + } + }, + + data() { + return { + loading: false, + + data: [], + list: [], + + searchValue: '', + + selectedKeys: [], + expandedKeys: [], + autoExpandParent: true + } + }, + + created() { + this.onLoadData() + }, + + mounted() { + const container = this.$refs.swiper, + scrollBar = container.querySelector('.swiper-scrollbar') + + const swiperOptions = { + direction: 'vertical', + slidesPerView: 'auto', + freeMode: true, + scrollbar: { + el: scrollBar, + }, + mousewheel: true, + } + + swiper = new Swiper(container, swiperOptions) + + window.addEventListener('resize', () => { + this.onUpdateSwiper() + }) + + }, + + methods: { + + renderBreadcrumbItem() { + + const path = ['顶级'] + + const findPath = (data, level) => { + level = level || 1 + for (let i = 0; i < data.length; i++) { + const item = data[i] + + path[level] = item[this.replaceFields.title] + + if (item[this.replaceFields.value] === this.selectedKeys[0]) { + path.length = level + 1 + return true + } + + if (item[this.replaceFields.children] && item[this.replaceFields.children].length) { + const found = findPath(item[this.replaceFields.children], level + 1) + if (found) { + return true + } + } + } + } + + if (this.selectedKeys.length) { + findPath(this.data) + } + + return path.map(p => ( + {p} + )) + }, + + onLoadData() { + this.loading = true + + this.loadData().then((res) => { + const data = this.generateKey(res) + this.list = [] + this.generateList(data) + if (this.defaultExpandedKeys) { + this.expandedKeys = this.list.map(p => p.key) + } + this.data = data + + this.$nextTick(() => { + this.onUpdateSwiper() + }) + }).finally(() => { + this.loading = false + }) + }, + + onReloadData() { + this.onLoadData() + }, + + onExpand(expandedKeys) { + this.expandedKeys = expandedKeys + this.autoExpandParent = false + this.onUpdateSwiper() + }, + + onUnexpandAll() { + this.expandedKeys = [] + }, + + onSearch(value) { + const expandedKeys = this.list + .map(p => { + if (p[this.replaceFields.title].indexOf(value) > -1) { + return this.getParentKey(p.key, this.data) + } + return null + }) + .filter((p, i, self) => p && self.indexOf(p) === i) + + this.searchValue = value + this.expandedKeys = expandedKeys + this.autoExpandParent = true + + this.$nextTick(() => { + this.onUpdateSwiper() + }) + + }, + + onSelect(selectedKeys) { + const selectedIds = [] + selectedKeys.forEach(p => { + const data = this.list.find(m => m.key === p) + selectedIds.push(data[this.replaceFields.value]) + }) + this.selectedKeys = selectedIds + this.$emit('select', selectedIds) + }, + + onUpdateSwiper() { + clearTimeout(timer) + timer = setTimeout(() => { + swiper.update() + swiper.update() + }, 300) + }, + + generateKey(data, level) { + const n = level || [0] + n.push(0) + data.forEach((p, i) => { + n[n.length - 1] = i + p.key = n.join('-') + p.scopedSlots = { title: 'title' } + if (p[this.replaceFields.children]) { + this.generateKey(p[this.replaceFields.children], Object.assign([], n)) + } + }) + return data + }, + + generateList(data) { + // 这里获取不到Key + for (let i = 0; i < data.length; i++) { + const { key } = data[i] + this.list.push({ + key, + [this.replaceFields.value]: data[i][this.replaceFields.value], + [this.replaceFields.title]: data[i][this.replaceFields.title] + }) + if (data[i][this.replaceFields.children]) { + this.generateList(data[i][this.replaceFields.children]) + } + } + }, + + getParentKey(key, tree) { + let parentKey; + for (let i = 0; i < tree.length; i++) { + const node = tree[i] + if (node[this.replaceFields.children]) { + if (node[this.replaceFields.children].some(item => item.key === key)) { + parentKey = node.key + } else if (this.getParentKey(key, node[this.replaceFields.children])) { + parentKey = this.getParentKey(key, node[this.replaceFields.children]) + } + } + } + return parentKey; + }, + }, + + render() { + + const props = { + treeData: this.data, + expandedKeys: this.expandedKeys, + autoExpandParent: this.autoExpandParent, + } + + const on = { + expand: this.onExpand, + select: this.onSelect + } + + const scopedSlots = { + title: (props) => { + const title = props[this.replaceFields.title] + return ( +
+ { + title.indexOf(this.searchValue) > -1 ? + + {title.substr(0, title.indexOf(this.searchValue))} + {this.searchValue} + {title.substr(title.indexOf(this.searchValue) + this.searchValue.length)} + + : + {title} + } +
+ + ); + } + } + + return ( + + + +
+ +
+
+
+ + + +
+
+
+
+ + + { + !this.loading && !this.list.length ? + + + + : + + } + +
+
+
+
+ + + + + {this.renderBreadcrumbItem()} + + + {this.$scopedSlots.default ? this.$scopedSlots.default() : null} + + + ) + } } \ No newline at end of file diff --git a/Web/src/pages/home/charts.vue b/Web/src/pages/home/charts.vue index b0b0e78..992fff3 100644 --- a/Web/src/pages/home/charts.vue +++ b/Web/src/pages/home/charts.vue @@ -1,107 +1,107 @@ - - \ No newline at end of file diff --git a/Web/src/pages/home/index.less b/Web/src/pages/home/index.less index 8f87df1..6c088fd 100644 --- a/Web/src/pages/home/index.less +++ b/Web/src/pages/home/index.less @@ -1,40 +1,40 @@ -@import (reference) '~@/assets/style/app.less'; -.home-header { - margin-bottom: @padding-md; - padding: @padding-lg 0; - - background-color: @white; -} -.home-header-row { - display: flex; -} -.home-header-content { - margin-left: @padding-lg; - h4 { - span { - color: @primary-color; - } - } - p { - margin: 0; - } -} -.home-container { - .ant-card-meta-title { - font-size: @font-size-base + 1px; - - display: -webkit-box; - -webkit-box-orient: vertical; - - height: 42px; - - white-space: normal; - - -webkit-line-clamp: 2; - } - .ant-card-meta-description { - .ant-row-flex { - height: 24px; - } - } -} +@import (reference) '~@/assets/style/app.less'; +.home-header { + margin-bottom: @padding-md; + padding: @padding-lg 0; + + background-color: @white; +} +.home-header-row { + display: flex; +} +.home-header-content { + margin-left: @padding-lg; + h4 { + span { + color: @primary-color; + } + } + p { + margin: 0; + } +} +.home-container { + .ant-card-meta-title { + font-size: @font-size-base + 1px; + + display: -webkit-box; + -webkit-box-orient: vertical; + + height: 42px; + + white-space: normal; + + -webkit-line-clamp: 2; + } + .ant-card-meta-description { + .ant-row-flex { + height: 24px; + } + } +} diff --git a/Web/src/pages/home/index.vue b/Web/src/pages/home/index.vue index 3b4f46f..446b9b3 100644 --- a/Web/src/pages/home/index.vue +++ b/Web/src/pages/home/index.vue @@ -1,66 +1,66 @@ - - \ No newline at end of file diff --git a/Web/src/pages/home/list.vue b/Web/src/pages/home/list.vue index 26258dd..82b2727 100644 --- a/Web/src/pages/home/list.vue +++ b/Web/src/pages/home/list.vue @@ -1,99 +1,99 @@ - - \ No newline at end of file diff --git a/Web/src/pages/home/notice.vue b/Web/src/pages/home/notice.vue index 1e7144c..650d8fa 100644 --- a/Web/src/pages/home/notice.vue +++ b/Web/src/pages/home/notice.vue @@ -1,28 +1,28 @@ - - \ No newline at end of file diff --git a/Web/src/pages/home/statistics.vue b/Web/src/pages/home/statistics.vue index 696223c..0ac9690 100644 --- a/Web/src/pages/home/statistics.vue +++ b/Web/src/pages/home/statistics.vue @@ -1,56 +1,56 @@ - - \ No newline at end of file diff --git a/Web/src/pages/home/task.vue b/Web/src/pages/home/task.vue index e345e19..f7de64f 100644 --- a/Web/src/pages/home/task.vue +++ b/Web/src/pages/home/task.vue @@ -1,56 +1,56 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/_seed/README.md b/Web/src/pages/system/_seed/README.md index 7aaa19c..3dbb9d7 100644 --- a/Web/src/pages/system/_seed/README.md +++ b/Web/src/pages/system/_seed/README.md @@ -1,5 +1,5 @@ -/** -基本上所有列表页都可以通过拷贝此处的种子文件实现增删改查的功能 -所有带 ... 的注释是可以依据当前业务添加内容的地方 -其他所有尽量不要修改 +/** +基本上所有列表页都可以通过拷贝此处的种子文件实现增删改查的功能 +所有带 ... 的注释是可以依据当前业务添加内容的地方 +其他所有尽量不要修改 **/ \ No newline at end of file diff --git a/Web/src/pages/system/_seed/form.vue b/Web/src/pages/system/_seed/form.vue index 941cf9b..fb4579d 100644 --- a/Web/src/pages/system/_seed/form.vue +++ b/Web/src/pages/system/_seed/form.vue @@ -1,114 +1,114 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/_seed/index.vue b/Web/src/pages/system/_seed/index.vue index f65a377..f30ce6d 100644 --- a/Web/src/pages/system/_seed/index.vue +++ b/Web/src/pages/system/_seed/index.vue @@ -1,216 +1,216 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/app/form.vue b/Web/src/pages/system/app/form.vue index e98639e..f3f2824 100644 --- a/Web/src/pages/system/app/form.vue +++ b/Web/src/pages/system/app/form.vue @@ -1,158 +1,158 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/app/index.vue b/Web/src/pages/system/app/index.vue index 36aa180..d6ff128 100644 --- a/Web/src/pages/system/app/index.vue +++ b/Web/src/pages/system/app/index.vue @@ -1,280 +1,280 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/config/form.vue b/Web/src/pages/system/config/form.vue index dacdc2a..f122c23 100644 --- a/Web/src/pages/system/config/form.vue +++ b/Web/src/pages/system/config/form.vue @@ -1,159 +1,159 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/config/index.vue b/Web/src/pages/system/config/index.vue index 6dd2bdf..2fc2c6d 100644 --- a/Web/src/pages/system/config/index.vue +++ b/Web/src/pages/system/config/index.vue @@ -1,238 +1,238 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/dict/dictdata/index.vue b/Web/src/pages/system/dict/dictdata/index.vue index 035e821..69a80f6 100644 --- a/Web/src/pages/system/dict/dictdata/index.vue +++ b/Web/src/pages/system/dict/dictdata/index.vue @@ -1,221 +1,221 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/dict/index.vue b/Web/src/pages/system/dict/index.vue index b77c892..c044c35 100644 --- a/Web/src/pages/system/dict/index.vue +++ b/Web/src/pages/system/dict/index.vue @@ -1,232 +1,232 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/log/oplog/index.vue b/Web/src/pages/system/log/oplog/index.vue index 75c80c9..faec5f2 100644 --- a/Web/src/pages/system/log/oplog/index.vue +++ b/Web/src/pages/system/log/oplog/index.vue @@ -1,213 +1,213 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/log/vislog/index.vue b/Web/src/pages/system/log/vislog/index.vue index d1a1c0e..0203d5d 100644 --- a/Web/src/pages/system/log/vislog/index.vue +++ b/Web/src/pages/system/log/vislog/index.vue @@ -1,205 +1,205 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/menu/form.vue b/Web/src/pages/system/menu/form.vue index 818f981..21716ec 100644 --- a/Web/src/pages/system/menu/form.vue +++ b/Web/src/pages/system/menu/form.vue @@ -1,340 +1,340 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/menu/index.vue b/Web/src/pages/system/menu/index.vue index ac6a561..86263df 100644 --- a/Web/src/pages/system/menu/index.vue +++ b/Web/src/pages/system/menu/index.vue @@ -1,227 +1,227 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/org/form.vue b/Web/src/pages/system/org/form.vue index b0b949d..c018736 100644 --- a/Web/src/pages/system/org/form.vue +++ b/Web/src/pages/system/org/form.vue @@ -1,219 +1,219 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/org/index.vue b/Web/src/pages/system/org/index.vue index 17bf5c2..e6238c9 100644 --- a/Web/src/pages/system/org/index.vue +++ b/Web/src/pages/system/org/index.vue @@ -1,278 +1,278 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/pos/form.vue b/Web/src/pages/system/pos/form.vue index 48576b9..541b14d 100644 --- a/Web/src/pages/system/pos/form.vue +++ b/Web/src/pages/system/pos/form.vue @@ -1,135 +1,135 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/pos/index.vue b/Web/src/pages/system/pos/index.vue index df21a4d..e47c7ed 100644 --- a/Web/src/pages/system/pos/index.vue +++ b/Web/src/pages/system/pos/index.vue @@ -1,233 +1,233 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/role/form.vue b/Web/src/pages/system/role/form.vue index 2d2606c..bce2b6f 100644 --- a/Web/src/pages/system/role/form.vue +++ b/Web/src/pages/system/role/form.vue @@ -1,134 +1,134 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/role/menuForm.vue b/Web/src/pages/system/role/menuForm.vue index f45de34..56b5ef5 100644 --- a/Web/src/pages/system/role/menuForm.vue +++ b/Web/src/pages/system/role/menuForm.vue @@ -1,101 +1,101 @@ - - - + + + diff --git a/Web/src/pages/system/user/form.vue b/Web/src/pages/system/user/form.vue index 902c9c9..3a7c40c 100644 --- a/Web/src/pages/system/user/form.vue +++ b/Web/src/pages/system/user/form.vue @@ -1,363 +1,363 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/user/index.vue b/Web/src/pages/system/user/index.vue index 2dcb3a0..03c55fb 100644 --- a/Web/src/pages/system/user/index.vue +++ b/Web/src/pages/system/user/index.vue @@ -1,384 +1,384 @@ - - \ No newline at end of file diff --git a/Web/src/router/index.js b/Web/src/router/index.js index 25dbd32..020929c 100644 --- a/Web/src/router/index.js +++ b/Web/src/router/index.js @@ -1,34 +1,34 @@ -import Vue from 'vue' -import Router from 'vue-router' - -Vue.use(Router) - -const router = new Router({ - mode: 'history', - routes: [{ - path: '/', - component: () => import('@/views/main/index'), - }, { - path: '/login', - component: () => import('@/views/login/index') - }] -}) - -// 路由守卫 -import { token } from '@/common/token' -router.beforeEach((to, from, next) => { - if (token.value) { - if (to.path === '/login') { - next({ - path: '/' - }) - } else { - next() - } - } else if (!token.value && to.path !== '/login') { - next({ path: '/login' }) - } - next() -}) - +import Vue from 'vue' +import Router from 'vue-router' + +Vue.use(Router) + +const router = new Router({ + mode: 'history', + routes: [{ + path: '/', + component: () => import('@/views/main/index'), + }, { + path: '/login', + component: () => import('@/views/login/index') + }] +}) + +// 路由守卫 +import { token } from '@/common/token' +router.beforeEach((to, from, next) => { + if (token.value) { + if (to.path === '/login') { + next({ + path: '/' + }) + } else { + next() + } + } else if (!token.value && to.path !== '/login') { + next({ path: '/login' }) + } + next() +}) + export default router \ No newline at end of file diff --git a/Web/src/util/des/index.js b/Web/src/util/des/index.js index dcf1d23..3ae482f 100644 --- a/Web/src/util/des/index.js +++ b/Web/src/util/des/index.js @@ -1,34 +1,34 @@ -import { - TripleDES, - enc, - mode, - pad -} from 'crypto-js'; - -const KEY = process.env.VUE_APP_DEV_KEY; -const key = enc.Utf8.parse(KEY); - -//TripleDES加密 -const encryptByDES = (message) => { - let encrypted = TripleDES.encrypt(message, key, { - mode: mode.ECB, - padding: pad.Pkcs7 - }); - return encrypted.toString(); -} - -//TripleDES解密 -const decryptByDES = (ciphertext) => { - let decrypted = TripleDES.decrypt({ - ciphertext: enc.Base64.parse(ciphertext) - }, key, { - mode: mode.ECB, - }); - const value = decrypted.toString(enc.Utf8); - return value; -} - -export { - encryptByDES, - decryptByDES -} +import { + TripleDES, + enc, + mode, + pad +} from 'crypto-js'; + +const KEY = process.env.VUE_APP_DEV_KEY; +const key = enc.Utf8.parse(KEY); + +//TripleDES加密 +const encryptByDES = (message) => { + let encrypted = TripleDES.encrypt(message, key, { + mode: mode.ECB, + padding: pad.Pkcs7 + }); + return encrypted.toString(); +} + +//TripleDES解密 +const decryptByDES = (ciphertext) => { + let decrypted = TripleDES.decrypt({ + ciphertext: enc.Base64.parse(ciphertext) + }, key, { + mode: mode.ECB, + }); + const value = decrypted.toString(enc.Utf8); + return value; +} + +export { + encryptByDES, + decryptByDES +} diff --git a/Web/src/views/404/index.less b/Web/src/views/404/index.less index 6eb2f93..691f926 100644 --- a/Web/src/views/404/index.less +++ b/Web/src/views/404/index.less @@ -1,308 +1,308 @@ -@import (reference) '~ant-design-vue/dist/antd.less'; -@-webkit-keyframes noise-anim-after { - 0% { - clip: rect(32px, 9999px, 16px, 0); - } - 5% { - clip: rect(5px, 9999px, 24px, 0); - } - 10% { - clip: rect(77px, 9999px, 87px, 0); - } - 15% { - clip: rect(91px, 9999px, 95px, 0); - } - 20% { - clip: rect(74px, 9999px, 9px, 0); - } - 25% { - clip: rect(37px, 9999px, 32px, 0); - } - 30% { - clip: rect(56px, 9999px, 27px, 0); - } - 35% { - clip: rect(35px, 9999px, 33px, 0); - } - 40% { - clip: rect(89px, 9999px, 6px, 0); - } - 45% { - clip: rect(81px, 9999px, 77px, 0); - } - 50% { - clip: rect(64px, 9999px, 69px, 0); - } - 55% { - clip: rect(12px, 9999px, 11px, 0); - } - 60% { - clip: rect(59px, 9999px, 11px, 0); - } - 65% { - clip: rect(69px, 9999px, 59px, 0); - } - 70% { - clip: rect(74px, 9999px, 65px, 0); - } - 75% { - clip: rect(56px, 9999px, 79px, 0); - } - 80% { - clip: rect(80px, 9999px, 64px, 0); - } - 85% { - clip: rect(87px, 9999px, 29px, 0); - } - 90% { - clip: rect(16px, 9999px, 21px, 0); - } - 95% { - clip: rect(69px, 9999px, 43px, 0); - } - 100% { - clip: rect(75px, 9999px, 63px, 0); - } -} -@keyframes noise-anim-after { - 0% { - clip: rect(32px, 9999px, 16px, 0); - } - 5% { - clip: rect(5px, 9999px, 24px, 0); - } - 10% { - clip: rect(77px, 9999px, 87px, 0); - } - 15% { - clip: rect(91px, 9999px, 95px, 0); - } - 20% { - clip: rect(74px, 9999px, 9px, 0); - } - 25% { - clip: rect(37px, 9999px, 32px, 0); - } - 30% { - clip: rect(56px, 9999px, 27px, 0); - } - 35% { - clip: rect(35px, 9999px, 33px, 0); - } - 40% { - clip: rect(89px, 9999px, 6px, 0); - } - 45% { - clip: rect(81px, 9999px, 77px, 0); - } - 50% { - clip: rect(64px, 9999px, 69px, 0); - } - 55% { - clip: rect(12px, 9999px, 11px, 0); - } - 60% { - clip: rect(59px, 9999px, 11px, 0); - } - 65% { - clip: rect(69px, 9999px, 59px, 0); - } - 70% { - clip: rect(74px, 9999px, 65px, 0); - } - 75% { - clip: rect(56px, 9999px, 79px, 0); - } - 80% { - clip: rect(80px, 9999px, 64px, 0); - } - 85% { - clip: rect(87px, 9999px, 29px, 0); - } - 90% { - clip: rect(16px, 9999px, 21px, 0); - } - 95% { - clip: rect(69px, 9999px, 43px, 0); - } - 100% { - clip: rect(75px, 9999px, 63px, 0); - } -} -@-webkit-keyframes noise-anim-before { - 0% { - clip: rect(12px, 9999px, 52px, 0); - } - 5% { - clip: rect(42px, 9999px, 39px, 0); - } - 10% { - clip: rect(64px, 9999px, 36px, 0); - } - 15% { - clip: rect(52px, 9999px, 15px, 0); - } - 20% { - clip: rect(79px, 9999px, 7px, 0); - } - 25% { - clip: rect(17px, 9999px, 41px, 0); - } - 30% { - clip: rect(15px, 9999px, 20px, 0); - } - 35% { - clip: rect(62px, 9999px, 87px, 0); - } - 40% { - clip: rect(94px, 9999px, 11px, 0); - } - 45% { - clip: rect(49px, 9999px, 10px, 0); - } - 50% { - clip: rect(82px, 9999px, 4px, 0); - } - 55% { - clip: rect(70px, 9999px, 100px, 0); - } - 60% { - clip: rect(62px, 9999px, 23px, 0); - } - 65% { - clip: rect(51px, 9999px, 56px, 0); - } - 70% { - clip: rect(41px, 9999px, 24px, 0); - } - 75% { - clip: rect(6px, 9999px, 85px, 0); - } - 80% { - clip: rect(96px, 9999px, 58px, 0); - } - 85% { - clip: rect(16px, 9999px, 24px, 0); - } - 90% { - clip: rect(40px, 9999px, 31px, 0); - } - 95% { - clip: rect(91px, 9999px, 34px, 0); - } - 100% { - clip: rect(87px, 9999px, 26px, 0); - } -} -@keyframes noise-anim-before { - 0% { - clip: rect(12px, 9999px, 52px, 0); - } - 5% { - clip: rect(42px, 9999px, 39px, 0); - } - 10% { - clip: rect(64px, 9999px, 36px, 0); - } - 15% { - clip: rect(52px, 9999px, 15px, 0); - } - 20% { - clip: rect(79px, 9999px, 7px, 0); - } - 25% { - clip: rect(17px, 9999px, 41px, 0); - } - 30% { - clip: rect(15px, 9999px, 20px, 0); - } - 35% { - clip: rect(62px, 9999px, 87px, 0); - } - 40% { - clip: rect(94px, 9999px, 11px, 0); - } - 45% { - clip: rect(49px, 9999px, 10px, 0); - } - 50% { - clip: rect(82px, 9999px, 4px, 0); - } - 55% { - clip: rect(70px, 9999px, 100px, 0); - } - 60% { - clip: rect(62px, 9999px, 23px, 0); - } - 65% { - clip: rect(51px, 9999px, 56px, 0); - } - 70% { - clip: rect(41px, 9999px, 24px, 0); - } - 75% { - clip: rect(6px, 9999px, 85px, 0); - } - 80% { - clip: rect(96px, 9999px, 58px, 0); - } - 85% { - clip: rect(16px, 9999px, 24px, 0); - } - 90% { - clip: rect(40px, 9999px, 31px, 0); - } - 95% { - clip: rect(91px, 9999px, 34px, 0); - } - 100% { - clip: rect(87px, 9999px, 26px, 0); - } -} -.error-result { - padding: 100px; - - text-transform: uppercase; - &--text { - font-size: @font-size-base * 8; - line-height: 1; - - position: relative; - - display: block; - - width: 12.5rem; - - color: #5a5c69; - &::after { - position: absolute; - top: 0; - left: 2px; - - overflow: hidden; - clip: rect(0, 900px, 0, 0); - - content: attr(data-text); - animation: noise-anim-after 2s infinite linear alternate-reverse; - - color: #5a5c69; - background: @layout-body-background; - text-shadow: -1px 0 #e74a3b; - } - &::before { - position: absolute; - top: 0; - left: -2px; - - overflow: hidden; - clip: rect(0, 900px, 0, 0); - - content: attr(data-text); - animation: noise-anim-before 3s infinite linear alternate-reverse; - - color: #5a5c69; - background: @layout-body-background; - text-shadow: 1px 0 #4e73df; - } - } -} +@import (reference) '~ant-design-vue/dist/antd.less'; +@-webkit-keyframes noise-anim-after { + 0% { + clip: rect(32px, 9999px, 16px, 0); + } + 5% { + clip: rect(5px, 9999px, 24px, 0); + } + 10% { + clip: rect(77px, 9999px, 87px, 0); + } + 15% { + clip: rect(91px, 9999px, 95px, 0); + } + 20% { + clip: rect(74px, 9999px, 9px, 0); + } + 25% { + clip: rect(37px, 9999px, 32px, 0); + } + 30% { + clip: rect(56px, 9999px, 27px, 0); + } + 35% { + clip: rect(35px, 9999px, 33px, 0); + } + 40% { + clip: rect(89px, 9999px, 6px, 0); + } + 45% { + clip: rect(81px, 9999px, 77px, 0); + } + 50% { + clip: rect(64px, 9999px, 69px, 0); + } + 55% { + clip: rect(12px, 9999px, 11px, 0); + } + 60% { + clip: rect(59px, 9999px, 11px, 0); + } + 65% { + clip: rect(69px, 9999px, 59px, 0); + } + 70% { + clip: rect(74px, 9999px, 65px, 0); + } + 75% { + clip: rect(56px, 9999px, 79px, 0); + } + 80% { + clip: rect(80px, 9999px, 64px, 0); + } + 85% { + clip: rect(87px, 9999px, 29px, 0); + } + 90% { + clip: rect(16px, 9999px, 21px, 0); + } + 95% { + clip: rect(69px, 9999px, 43px, 0); + } + 100% { + clip: rect(75px, 9999px, 63px, 0); + } +} +@keyframes noise-anim-after { + 0% { + clip: rect(32px, 9999px, 16px, 0); + } + 5% { + clip: rect(5px, 9999px, 24px, 0); + } + 10% { + clip: rect(77px, 9999px, 87px, 0); + } + 15% { + clip: rect(91px, 9999px, 95px, 0); + } + 20% { + clip: rect(74px, 9999px, 9px, 0); + } + 25% { + clip: rect(37px, 9999px, 32px, 0); + } + 30% { + clip: rect(56px, 9999px, 27px, 0); + } + 35% { + clip: rect(35px, 9999px, 33px, 0); + } + 40% { + clip: rect(89px, 9999px, 6px, 0); + } + 45% { + clip: rect(81px, 9999px, 77px, 0); + } + 50% { + clip: rect(64px, 9999px, 69px, 0); + } + 55% { + clip: rect(12px, 9999px, 11px, 0); + } + 60% { + clip: rect(59px, 9999px, 11px, 0); + } + 65% { + clip: rect(69px, 9999px, 59px, 0); + } + 70% { + clip: rect(74px, 9999px, 65px, 0); + } + 75% { + clip: rect(56px, 9999px, 79px, 0); + } + 80% { + clip: rect(80px, 9999px, 64px, 0); + } + 85% { + clip: rect(87px, 9999px, 29px, 0); + } + 90% { + clip: rect(16px, 9999px, 21px, 0); + } + 95% { + clip: rect(69px, 9999px, 43px, 0); + } + 100% { + clip: rect(75px, 9999px, 63px, 0); + } +} +@-webkit-keyframes noise-anim-before { + 0% { + clip: rect(12px, 9999px, 52px, 0); + } + 5% { + clip: rect(42px, 9999px, 39px, 0); + } + 10% { + clip: rect(64px, 9999px, 36px, 0); + } + 15% { + clip: rect(52px, 9999px, 15px, 0); + } + 20% { + clip: rect(79px, 9999px, 7px, 0); + } + 25% { + clip: rect(17px, 9999px, 41px, 0); + } + 30% { + clip: rect(15px, 9999px, 20px, 0); + } + 35% { + clip: rect(62px, 9999px, 87px, 0); + } + 40% { + clip: rect(94px, 9999px, 11px, 0); + } + 45% { + clip: rect(49px, 9999px, 10px, 0); + } + 50% { + clip: rect(82px, 9999px, 4px, 0); + } + 55% { + clip: rect(70px, 9999px, 100px, 0); + } + 60% { + clip: rect(62px, 9999px, 23px, 0); + } + 65% { + clip: rect(51px, 9999px, 56px, 0); + } + 70% { + clip: rect(41px, 9999px, 24px, 0); + } + 75% { + clip: rect(6px, 9999px, 85px, 0); + } + 80% { + clip: rect(96px, 9999px, 58px, 0); + } + 85% { + clip: rect(16px, 9999px, 24px, 0); + } + 90% { + clip: rect(40px, 9999px, 31px, 0); + } + 95% { + clip: rect(91px, 9999px, 34px, 0); + } + 100% { + clip: rect(87px, 9999px, 26px, 0); + } +} +@keyframes noise-anim-before { + 0% { + clip: rect(12px, 9999px, 52px, 0); + } + 5% { + clip: rect(42px, 9999px, 39px, 0); + } + 10% { + clip: rect(64px, 9999px, 36px, 0); + } + 15% { + clip: rect(52px, 9999px, 15px, 0); + } + 20% { + clip: rect(79px, 9999px, 7px, 0); + } + 25% { + clip: rect(17px, 9999px, 41px, 0); + } + 30% { + clip: rect(15px, 9999px, 20px, 0); + } + 35% { + clip: rect(62px, 9999px, 87px, 0); + } + 40% { + clip: rect(94px, 9999px, 11px, 0); + } + 45% { + clip: rect(49px, 9999px, 10px, 0); + } + 50% { + clip: rect(82px, 9999px, 4px, 0); + } + 55% { + clip: rect(70px, 9999px, 100px, 0); + } + 60% { + clip: rect(62px, 9999px, 23px, 0); + } + 65% { + clip: rect(51px, 9999px, 56px, 0); + } + 70% { + clip: rect(41px, 9999px, 24px, 0); + } + 75% { + clip: rect(6px, 9999px, 85px, 0); + } + 80% { + clip: rect(96px, 9999px, 58px, 0); + } + 85% { + clip: rect(16px, 9999px, 24px, 0); + } + 90% { + clip: rect(40px, 9999px, 31px, 0); + } + 95% { + clip: rect(91px, 9999px, 34px, 0); + } + 100% { + clip: rect(87px, 9999px, 26px, 0); + } +} +.error-result { + padding: 100px; + + text-transform: uppercase; + &--text { + font-size: @font-size-base * 8; + line-height: 1; + + position: relative; + + display: block; + + width: 12.5rem; + + color: #5a5c69; + &::after { + position: absolute; + top: 0; + left: 2px; + + overflow: hidden; + clip: rect(0, 900px, 0, 0); + + content: attr(data-text); + animation: noise-anim-after 2s infinite linear alternate-reverse; + + color: #5a5c69; + background: @layout-body-background; + text-shadow: -1px 0 #e74a3b; + } + &::before { + position: absolute; + top: 0; + left: -2px; + + overflow: hidden; + clip: rect(0, 900px, 0, 0); + + content: attr(data-text); + animation: noise-anim-before 3s infinite linear alternate-reverse; + + color: #5a5c69; + background: @layout-body-background; + text-shadow: 1px 0 #4e73df; + } + } +} diff --git a/Web/src/views/404/index.vue b/Web/src/views/404/index.vue index 45c00f7..8946c23 100644 --- a/Web/src/views/404/index.vue +++ b/Web/src/views/404/index.vue @@ -1,14 +1,14 @@ - - \ No newline at end of file diff --git a/Web/src/views/error/404/index.less b/Web/src/views/error/404/index.less index 6eb2f93..691f926 100644 --- a/Web/src/views/error/404/index.less +++ b/Web/src/views/error/404/index.less @@ -1,308 +1,308 @@ -@import (reference) '~ant-design-vue/dist/antd.less'; -@-webkit-keyframes noise-anim-after { - 0% { - clip: rect(32px, 9999px, 16px, 0); - } - 5% { - clip: rect(5px, 9999px, 24px, 0); - } - 10% { - clip: rect(77px, 9999px, 87px, 0); - } - 15% { - clip: rect(91px, 9999px, 95px, 0); - } - 20% { - clip: rect(74px, 9999px, 9px, 0); - } - 25% { - clip: rect(37px, 9999px, 32px, 0); - } - 30% { - clip: rect(56px, 9999px, 27px, 0); - } - 35% { - clip: rect(35px, 9999px, 33px, 0); - } - 40% { - clip: rect(89px, 9999px, 6px, 0); - } - 45% { - clip: rect(81px, 9999px, 77px, 0); - } - 50% { - clip: rect(64px, 9999px, 69px, 0); - } - 55% { - clip: rect(12px, 9999px, 11px, 0); - } - 60% { - clip: rect(59px, 9999px, 11px, 0); - } - 65% { - clip: rect(69px, 9999px, 59px, 0); - } - 70% { - clip: rect(74px, 9999px, 65px, 0); - } - 75% { - clip: rect(56px, 9999px, 79px, 0); - } - 80% { - clip: rect(80px, 9999px, 64px, 0); - } - 85% { - clip: rect(87px, 9999px, 29px, 0); - } - 90% { - clip: rect(16px, 9999px, 21px, 0); - } - 95% { - clip: rect(69px, 9999px, 43px, 0); - } - 100% { - clip: rect(75px, 9999px, 63px, 0); - } -} -@keyframes noise-anim-after { - 0% { - clip: rect(32px, 9999px, 16px, 0); - } - 5% { - clip: rect(5px, 9999px, 24px, 0); - } - 10% { - clip: rect(77px, 9999px, 87px, 0); - } - 15% { - clip: rect(91px, 9999px, 95px, 0); - } - 20% { - clip: rect(74px, 9999px, 9px, 0); - } - 25% { - clip: rect(37px, 9999px, 32px, 0); - } - 30% { - clip: rect(56px, 9999px, 27px, 0); - } - 35% { - clip: rect(35px, 9999px, 33px, 0); - } - 40% { - clip: rect(89px, 9999px, 6px, 0); - } - 45% { - clip: rect(81px, 9999px, 77px, 0); - } - 50% { - clip: rect(64px, 9999px, 69px, 0); - } - 55% { - clip: rect(12px, 9999px, 11px, 0); - } - 60% { - clip: rect(59px, 9999px, 11px, 0); - } - 65% { - clip: rect(69px, 9999px, 59px, 0); - } - 70% { - clip: rect(74px, 9999px, 65px, 0); - } - 75% { - clip: rect(56px, 9999px, 79px, 0); - } - 80% { - clip: rect(80px, 9999px, 64px, 0); - } - 85% { - clip: rect(87px, 9999px, 29px, 0); - } - 90% { - clip: rect(16px, 9999px, 21px, 0); - } - 95% { - clip: rect(69px, 9999px, 43px, 0); - } - 100% { - clip: rect(75px, 9999px, 63px, 0); - } -} -@-webkit-keyframes noise-anim-before { - 0% { - clip: rect(12px, 9999px, 52px, 0); - } - 5% { - clip: rect(42px, 9999px, 39px, 0); - } - 10% { - clip: rect(64px, 9999px, 36px, 0); - } - 15% { - clip: rect(52px, 9999px, 15px, 0); - } - 20% { - clip: rect(79px, 9999px, 7px, 0); - } - 25% { - clip: rect(17px, 9999px, 41px, 0); - } - 30% { - clip: rect(15px, 9999px, 20px, 0); - } - 35% { - clip: rect(62px, 9999px, 87px, 0); - } - 40% { - clip: rect(94px, 9999px, 11px, 0); - } - 45% { - clip: rect(49px, 9999px, 10px, 0); - } - 50% { - clip: rect(82px, 9999px, 4px, 0); - } - 55% { - clip: rect(70px, 9999px, 100px, 0); - } - 60% { - clip: rect(62px, 9999px, 23px, 0); - } - 65% { - clip: rect(51px, 9999px, 56px, 0); - } - 70% { - clip: rect(41px, 9999px, 24px, 0); - } - 75% { - clip: rect(6px, 9999px, 85px, 0); - } - 80% { - clip: rect(96px, 9999px, 58px, 0); - } - 85% { - clip: rect(16px, 9999px, 24px, 0); - } - 90% { - clip: rect(40px, 9999px, 31px, 0); - } - 95% { - clip: rect(91px, 9999px, 34px, 0); - } - 100% { - clip: rect(87px, 9999px, 26px, 0); - } -} -@keyframes noise-anim-before { - 0% { - clip: rect(12px, 9999px, 52px, 0); - } - 5% { - clip: rect(42px, 9999px, 39px, 0); - } - 10% { - clip: rect(64px, 9999px, 36px, 0); - } - 15% { - clip: rect(52px, 9999px, 15px, 0); - } - 20% { - clip: rect(79px, 9999px, 7px, 0); - } - 25% { - clip: rect(17px, 9999px, 41px, 0); - } - 30% { - clip: rect(15px, 9999px, 20px, 0); - } - 35% { - clip: rect(62px, 9999px, 87px, 0); - } - 40% { - clip: rect(94px, 9999px, 11px, 0); - } - 45% { - clip: rect(49px, 9999px, 10px, 0); - } - 50% { - clip: rect(82px, 9999px, 4px, 0); - } - 55% { - clip: rect(70px, 9999px, 100px, 0); - } - 60% { - clip: rect(62px, 9999px, 23px, 0); - } - 65% { - clip: rect(51px, 9999px, 56px, 0); - } - 70% { - clip: rect(41px, 9999px, 24px, 0); - } - 75% { - clip: rect(6px, 9999px, 85px, 0); - } - 80% { - clip: rect(96px, 9999px, 58px, 0); - } - 85% { - clip: rect(16px, 9999px, 24px, 0); - } - 90% { - clip: rect(40px, 9999px, 31px, 0); - } - 95% { - clip: rect(91px, 9999px, 34px, 0); - } - 100% { - clip: rect(87px, 9999px, 26px, 0); - } -} -.error-result { - padding: 100px; - - text-transform: uppercase; - &--text { - font-size: @font-size-base * 8; - line-height: 1; - - position: relative; - - display: block; - - width: 12.5rem; - - color: #5a5c69; - &::after { - position: absolute; - top: 0; - left: 2px; - - overflow: hidden; - clip: rect(0, 900px, 0, 0); - - content: attr(data-text); - animation: noise-anim-after 2s infinite linear alternate-reverse; - - color: #5a5c69; - background: @layout-body-background; - text-shadow: -1px 0 #e74a3b; - } - &::before { - position: absolute; - top: 0; - left: -2px; - - overflow: hidden; - clip: rect(0, 900px, 0, 0); - - content: attr(data-text); - animation: noise-anim-before 3s infinite linear alternate-reverse; - - color: #5a5c69; - background: @layout-body-background; - text-shadow: 1px 0 #4e73df; - } - } -} +@import (reference) '~ant-design-vue/dist/antd.less'; +@-webkit-keyframes noise-anim-after { + 0% { + clip: rect(32px, 9999px, 16px, 0); + } + 5% { + clip: rect(5px, 9999px, 24px, 0); + } + 10% { + clip: rect(77px, 9999px, 87px, 0); + } + 15% { + clip: rect(91px, 9999px, 95px, 0); + } + 20% { + clip: rect(74px, 9999px, 9px, 0); + } + 25% { + clip: rect(37px, 9999px, 32px, 0); + } + 30% { + clip: rect(56px, 9999px, 27px, 0); + } + 35% { + clip: rect(35px, 9999px, 33px, 0); + } + 40% { + clip: rect(89px, 9999px, 6px, 0); + } + 45% { + clip: rect(81px, 9999px, 77px, 0); + } + 50% { + clip: rect(64px, 9999px, 69px, 0); + } + 55% { + clip: rect(12px, 9999px, 11px, 0); + } + 60% { + clip: rect(59px, 9999px, 11px, 0); + } + 65% { + clip: rect(69px, 9999px, 59px, 0); + } + 70% { + clip: rect(74px, 9999px, 65px, 0); + } + 75% { + clip: rect(56px, 9999px, 79px, 0); + } + 80% { + clip: rect(80px, 9999px, 64px, 0); + } + 85% { + clip: rect(87px, 9999px, 29px, 0); + } + 90% { + clip: rect(16px, 9999px, 21px, 0); + } + 95% { + clip: rect(69px, 9999px, 43px, 0); + } + 100% { + clip: rect(75px, 9999px, 63px, 0); + } +} +@keyframes noise-anim-after { + 0% { + clip: rect(32px, 9999px, 16px, 0); + } + 5% { + clip: rect(5px, 9999px, 24px, 0); + } + 10% { + clip: rect(77px, 9999px, 87px, 0); + } + 15% { + clip: rect(91px, 9999px, 95px, 0); + } + 20% { + clip: rect(74px, 9999px, 9px, 0); + } + 25% { + clip: rect(37px, 9999px, 32px, 0); + } + 30% { + clip: rect(56px, 9999px, 27px, 0); + } + 35% { + clip: rect(35px, 9999px, 33px, 0); + } + 40% { + clip: rect(89px, 9999px, 6px, 0); + } + 45% { + clip: rect(81px, 9999px, 77px, 0); + } + 50% { + clip: rect(64px, 9999px, 69px, 0); + } + 55% { + clip: rect(12px, 9999px, 11px, 0); + } + 60% { + clip: rect(59px, 9999px, 11px, 0); + } + 65% { + clip: rect(69px, 9999px, 59px, 0); + } + 70% { + clip: rect(74px, 9999px, 65px, 0); + } + 75% { + clip: rect(56px, 9999px, 79px, 0); + } + 80% { + clip: rect(80px, 9999px, 64px, 0); + } + 85% { + clip: rect(87px, 9999px, 29px, 0); + } + 90% { + clip: rect(16px, 9999px, 21px, 0); + } + 95% { + clip: rect(69px, 9999px, 43px, 0); + } + 100% { + clip: rect(75px, 9999px, 63px, 0); + } +} +@-webkit-keyframes noise-anim-before { + 0% { + clip: rect(12px, 9999px, 52px, 0); + } + 5% { + clip: rect(42px, 9999px, 39px, 0); + } + 10% { + clip: rect(64px, 9999px, 36px, 0); + } + 15% { + clip: rect(52px, 9999px, 15px, 0); + } + 20% { + clip: rect(79px, 9999px, 7px, 0); + } + 25% { + clip: rect(17px, 9999px, 41px, 0); + } + 30% { + clip: rect(15px, 9999px, 20px, 0); + } + 35% { + clip: rect(62px, 9999px, 87px, 0); + } + 40% { + clip: rect(94px, 9999px, 11px, 0); + } + 45% { + clip: rect(49px, 9999px, 10px, 0); + } + 50% { + clip: rect(82px, 9999px, 4px, 0); + } + 55% { + clip: rect(70px, 9999px, 100px, 0); + } + 60% { + clip: rect(62px, 9999px, 23px, 0); + } + 65% { + clip: rect(51px, 9999px, 56px, 0); + } + 70% { + clip: rect(41px, 9999px, 24px, 0); + } + 75% { + clip: rect(6px, 9999px, 85px, 0); + } + 80% { + clip: rect(96px, 9999px, 58px, 0); + } + 85% { + clip: rect(16px, 9999px, 24px, 0); + } + 90% { + clip: rect(40px, 9999px, 31px, 0); + } + 95% { + clip: rect(91px, 9999px, 34px, 0); + } + 100% { + clip: rect(87px, 9999px, 26px, 0); + } +} +@keyframes noise-anim-before { + 0% { + clip: rect(12px, 9999px, 52px, 0); + } + 5% { + clip: rect(42px, 9999px, 39px, 0); + } + 10% { + clip: rect(64px, 9999px, 36px, 0); + } + 15% { + clip: rect(52px, 9999px, 15px, 0); + } + 20% { + clip: rect(79px, 9999px, 7px, 0); + } + 25% { + clip: rect(17px, 9999px, 41px, 0); + } + 30% { + clip: rect(15px, 9999px, 20px, 0); + } + 35% { + clip: rect(62px, 9999px, 87px, 0); + } + 40% { + clip: rect(94px, 9999px, 11px, 0); + } + 45% { + clip: rect(49px, 9999px, 10px, 0); + } + 50% { + clip: rect(82px, 9999px, 4px, 0); + } + 55% { + clip: rect(70px, 9999px, 100px, 0); + } + 60% { + clip: rect(62px, 9999px, 23px, 0); + } + 65% { + clip: rect(51px, 9999px, 56px, 0); + } + 70% { + clip: rect(41px, 9999px, 24px, 0); + } + 75% { + clip: rect(6px, 9999px, 85px, 0); + } + 80% { + clip: rect(96px, 9999px, 58px, 0); + } + 85% { + clip: rect(16px, 9999px, 24px, 0); + } + 90% { + clip: rect(40px, 9999px, 31px, 0); + } + 95% { + clip: rect(91px, 9999px, 34px, 0); + } + 100% { + clip: rect(87px, 9999px, 26px, 0); + } +} +.error-result { + padding: 100px; + + text-transform: uppercase; + &--text { + font-size: @font-size-base * 8; + line-height: 1; + + position: relative; + + display: block; + + width: 12.5rem; + + color: #5a5c69; + &::after { + position: absolute; + top: 0; + left: 2px; + + overflow: hidden; + clip: rect(0, 900px, 0, 0); + + content: attr(data-text); + animation: noise-anim-after 2s infinite linear alternate-reverse; + + color: #5a5c69; + background: @layout-body-background; + text-shadow: -1px 0 #e74a3b; + } + &::before { + position: absolute; + top: 0; + left: -2px; + + overflow: hidden; + clip: rect(0, 900px, 0, 0); + + content: attr(data-text); + animation: noise-anim-before 3s infinite linear alternate-reverse; + + color: #5a5c69; + background: @layout-body-background; + text-shadow: 1px 0 #4e73df; + } + } +} diff --git a/Web/src/views/error/404/index.vue b/Web/src/views/error/404/index.vue index 45c00f7..8946c23 100644 --- a/Web/src/views/error/404/index.vue +++ b/Web/src/views/error/404/index.vue @@ -1,14 +1,14 @@ - - \ No newline at end of file diff --git a/Web/src/views/login/index.vue b/Web/src/views/login/index.vue index da53532..9530b25 100644 --- a/Web/src/views/login/index.vue +++ b/Web/src/views/login/index.vue @@ -1,48 +1,48 @@ - - \ No newline at end of file diff --git a/Web/src/views/main/_layout/content.vue b/Web/src/views/main/_layout/content.vue index 8e6e277..890b2d0 100644 --- a/Web/src/views/main/_layout/content.vue +++ b/Web/src/views/main/_layout/content.vue @@ -1,138 +1,138 @@ - - \ No newline at end of file diff --git a/Web/src/views/main/_layout/header/index.vue b/Web/src/views/main/_layout/header/index.vue index 50f3fa5..21002b9 100644 --- a/Web/src/views/main/_layout/header/index.vue +++ b/Web/src/views/main/_layout/header/index.vue @@ -1,100 +1,100 @@ - - \ No newline at end of file diff --git a/Web/src/views/main/_layout/header/search.js b/Web/src/views/main/_layout/header/search.js index 043f2f8..ea452f0 100644 --- a/Web/src/views/main/_layout/header/search.js +++ b/Web/src/views/main/_layout/header/search.js @@ -1,149 +1,149 @@ -export default { - props: { - menus: { - type: Array, - require: true - } - }, - - data() { - return { - searchText: '', - searchResult: [], - - timer: null - }; - }, - - methods: { - - renderSelect(menu) { - return menu.map((p) => { - return p.children ? this.renderSelectGroup(p) : this.renderSelectOption(p) - }) - }, - - renderSelectGroup(menu) { - return ( - - - {menu.parents} - - {this.renderSelect(menu.children)} - - ) - }, - - renderSelectOption(menu) { - return ( - {menu.meta.icon && } - {menu.meta.title} - {menu.component} - ) - }, - - - onSearch(value) { - clearTimeout(this.timer) - - this.timer = setTimeout(() => { - this.doSearch(value) - }, 300) - }, - - doSearch(value) { - this.searchText = value - - const menus = this.$_.concat.apply(this, this.$_.cloneDeep(this.menus.map(p => p.menu))) - - const search = (m) => { - if (!value) return [] - return m.filter((p) => { - if (p.children) { - p.children = search(p.children) - } else { - return p.meta.title.indexOf(value) > -1 || (p.component || '').toLowerCase().indexOf(value.toLowerCase()) > -1 - } - return p.children.length - }) - } - - /** - * 拆分层级,只留下 [父级-父级-...] [子级] - * *******在更为复杂的目录下会出现父级联动错误的问题 - */ - const unzip = (m) => { - const getSeed = (parent, seed) => { - if (parent.children) { - seed.parents.push(parent.meta.title) - seed.children = parent.children - parent.children.forEach(p => { - getSeed(p, seed) - }) - } - return seed - } - const result = [] - m.forEach(p => { - const r = { parents: [], children: [] } - result.push(getSeed(p, r)) - }) - return result - } - - const result = unzip(search(menus)).filter(p => p.parents.length).map(p => { - return { - parents: p.parents.join('-'), - children: p.children - } - }) - - this.searchResult = result - }, - - onSearchSelect(value, node) { - this.searchText = ''; - this.onSearch(this.searchText); - - const menu = JSON.parse(node.componentOptions.propsData.value) - - this.openContentWindow({ - key: menu.id, - title: menu.meta.title, - icon: menu.meta.icon, - path: menu.component, - }); - }, - - }, - - render() { - - const props = { - dropdownMatchSelectWidth: false, - dropdownStyle: { width: '300px' }, - optionLabelProp: 'value', - placeholder: '请输入检索关键字', - value: this.searchText - } - - const on = { - search: this.onSearch, - select: this.onSearchSelect - } - - return ( - - - - - - - ) - - } +export default { + props: { + menus: { + type: Array, + require: true + } + }, + + data() { + return { + searchText: '', + searchResult: [], + + timer: null + }; + }, + + methods: { + + renderSelect(menu) { + return menu.map((p) => { + return p.children ? this.renderSelectGroup(p) : this.renderSelectOption(p) + }) + }, + + renderSelectGroup(menu) { + return ( + + + {menu.parents} + + {this.renderSelect(menu.children)} + + ) + }, + + renderSelectOption(menu) { + return ( + {menu.meta.icon && } + {menu.meta.title} + {menu.component} + ) + }, + + + onSearch(value) { + clearTimeout(this.timer) + + this.timer = setTimeout(() => { + this.doSearch(value) + }, 300) + }, + + doSearch(value) { + this.searchText = value + + const menus = this.$_.concat.apply(this, this.$_.cloneDeep(this.menus.map(p => p.menu))) + + const search = (m) => { + if (!value) return [] + return m.filter((p) => { + if (p.children) { + p.children = search(p.children) + } else { + return p.meta.title.indexOf(value) > -1 || (p.component || '').toLowerCase().indexOf(value.toLowerCase()) > -1 + } + return p.children.length + }) + } + + /** + * 拆分层级,只留下 [父级-父级-...] [子级] + * *******在更为复杂的目录下会出现父级联动错误的问题 + */ + const unzip = (m) => { + const getSeed = (parent, seed) => { + if (parent.children) { + seed.parents.push(parent.meta.title) + seed.children = parent.children + parent.children.forEach(p => { + getSeed(p, seed) + }) + } + return seed + } + const result = [] + m.forEach(p => { + const r = { parents: [], children: [] } + result.push(getSeed(p, r)) + }) + return result + } + + const result = unzip(search(menus)).filter(p => p.parents.length).map(p => { + return { + parents: p.parents.join('-'), + children: p.children + } + }) + + this.searchResult = result + }, + + onSearchSelect(value, node) { + this.searchText = ''; + this.onSearch(this.searchText); + + const menu = JSON.parse(node.componentOptions.propsData.value) + + this.openContentWindow({ + key: menu.id, + title: menu.meta.title, + icon: menu.meta.icon, + path: menu.component, + }); + }, + + }, + + render() { + + const props = { + dropdownMatchSelectWidth: false, + dropdownStyle: { width: '300px' }, + optionLabelProp: 'value', + placeholder: '请输入检索关键字', + value: this.searchText + } + + const on = { + search: this.onSearch, + select: this.onSearchSelect + } + + return ( + + + + + + + ) + + } } \ No newline at end of file diff --git a/Web/src/views/main/_layout/header/user.js b/Web/src/views/main/_layout/header/user.js index 14031b2..fa133f0 100644 --- a/Web/src/views/main/_layout/header/user.js +++ b/Web/src/views/main/_layout/header/user.js @@ -1,91 +1,91 @@ -let userOpenTimer, userCloseTimer - -let initDropdownHeight - -import { PERVIEW_URL } from '@/util/global'; - -import { doLogout } from '@/common/login' - -export default { - data() { - return { - dropdownHeight: 0 - } - }, - mounted() { - initDropdownHeight = this.$refs.dropdown.scrollHeight - }, - methods: { - onOpen(e) { - clearTimeout(userCloseTimer) - e.target.classList.add('open') - userOpenTimer = setTimeout(() => { - e.target.classList.add('drop') - this.dropdownHeight = initDropdownHeight - }, 300) - }, - - onClose(e) { - clearTimeout(userOpenTimer) - e.target.classList.remove('drop') - this.dropdownHeight = 0 - userCloseTimer = setTimeout(() => { - e.target.classList.remove('open') - }, 300) - }, - - onAccountSetting() { - this.openContentWindow({ - key: 'account-home', - title: '个人中心', - icon: 'user', - path: '/system/account' - }) - }, - - onLogout() { - this.$confirm({ - title: '提示', - content: '是否确定退出登录', - onOk: () => { - doLogout() - }, - onCancel() { - } - }) - } - }, - - render() { - return ( -
-
-
- { - this.$root.global.info && - } - { - this.$root.global.info && - {this.$root.global.info.nickName || this.$root.global.info.name} - } -
-
-
    -
  • - - 个人中心 -
  • -
  • -
  • - - 退出登录 -
  • -
-
-
-
- ) - } +let userOpenTimer, userCloseTimer + +let initDropdownHeight + +import { PERVIEW_URL } from '@/util/global'; + +import { doLogout } from '@/common/login' + +export default { + data() { + return { + dropdownHeight: 0 + } + }, + mounted() { + initDropdownHeight = this.$refs.dropdown.scrollHeight + }, + methods: { + onOpen(e) { + clearTimeout(userCloseTimer) + e.target.classList.add('open') + userOpenTimer = setTimeout(() => { + e.target.classList.add('drop') + this.dropdownHeight = initDropdownHeight + }, 300) + }, + + onClose(e) { + clearTimeout(userOpenTimer) + e.target.classList.remove('drop') + this.dropdownHeight = 0 + userCloseTimer = setTimeout(() => { + e.target.classList.remove('open') + }, 300) + }, + + onAccountSetting() { + this.openContentWindow({ + key: 'account-home', + title: '个人中心', + icon: 'user', + path: '/system/account' + }) + }, + + onLogout() { + this.$confirm({ + title: '提示', + content: '是否确定退出登录', + onOk: () => { + doLogout() + }, + onCancel() { + } + }) + } + }, + + render() { + return ( +
+
+
+ { + this.$root.global.info && + } + { + this.$root.global.info && + {this.$root.global.info.nickName || this.$root.global.info.name} + } +
+
+
    +
  • + + 个人中心 +
  • +
  • +
  • + + 退出登录 +
  • +
+
+
+
+ ) + } } \ No newline at end of file diff --git a/Web/src/views/main/_layout/logo.vue b/Web/src/views/main/_layout/logo.vue index 2d36640..309fc67 100644 --- a/Web/src/views/main/_layout/logo.vue +++ b/Web/src/views/main/_layout/logo.vue @@ -1,10 +1,10 @@ -