RuoVea.OmiReports 10.0.1.4

dotnet add package RuoVea.OmiReports --version 10.0.1.4
                    
NuGet\Install-Package RuoVea.OmiReports -Version 10.0.1.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RuoVea.OmiReports" Version="10.0.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RuoVea.OmiReports" Version="10.0.1.4" />
                    
Directory.Packages.props
<PackageReference Include="RuoVea.OmiReports" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RuoVea.OmiReports --version 10.0.1.4
                    
#r "nuget: RuoVea.OmiReports, 10.0.1.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RuoVea.OmiReports@10.0.1.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RuoVea.OmiReports&version=10.0.1.4
                    
Install as a Cake Addin
#tool nuget:?package=RuoVea.OmiReports&version=10.0.1.4
                    
Install as a Cake Tool

RuoVea.OmiReports

介绍:

简单报表配置 UI界面

简单报表配置平台(RuoVea.OmiReports):基于.Net5.0 、.Net6.0 、.Net7.0、.Net8.0构建的简单、跨平台的系统。 系统业务简单、代码清晰,如果您只是单纯只需简单增、删、改、查。没有多余的功能,简单扩展下基本可以满足日常需求。 支持的数据库有 MySql、SqlServer、PostgreSQL、SQLite、Oracle、Firebird(后续支持)

安装教程

Install-Package RuoVea.OmiReports

builder.Services.AddOmiReportsSetup(o =>{ o.SysFlag = false; });
builder.Services.AddSqlSugarSetup();
builder.Services.AddReportsInitSetup();/*需要在 AddSqlSugarSetup之后*/

app.UseOmiReportsUI();

配置信息

  /* 初始化数据库/初始化种子数据 */
  "DbInitReports": {
    "InitTable": true, /* 初始化数据库 */
    "InitSeedData": true /* 初始化种子数据 */
  },

  /* 数据库链接 - 具体配置见SqlSugar官网(第一个为默认库不需要设置ReportsId)*/
  "ConnectionReportss": [
    {
      "DbType": "Sqlite", // MySql、SqlServer、Sqlite、Oracle、PostgreSQL、Dm、Kdbndp、Oscar、MySqlConnector、Access、OpenGauss、QuestDB、HG、ClickHouse、GBase、Odbc、Custom
      "ConnectionString": "DataSource=./database.db", // 库连接字符串
      "EnableUnderLine": false, // 启用驼峰转下划线
    }
    // 其他数据库配置(可以配置多个)
    //{
    //    "ReportsId": "test",
    //    "DbType": "Sqlite",
    //    "ConnectionString": "DataSource=./test.db", // 库连接字符串
    //    "EnableInitDb": true, // 启用库表初始化
    //    "EnableInitSeed": true, // 启用种子初始化
    //    "EnableDiffLog": false, // 启用库表差异日志
    //    "EnableUnderLine": false // 启用驼峰转下划线
    //    "IsEncrypt": true, //是否加密
    //    "DbSecurity": "" //链接字符串解密密钥
    //}
  ]

菜单与页面路径

{route} 为路由前缀,通过 PrefixRoute 配置,默认为空。当 route/reports 时,实际访问路径为 /reports/dataSource/index

管理后台页面
页面 路径 说明
数据库管理 {route}/dataSource/index 管理报表数据库连接与数据源
SQL 管理 {route}/Definition/index 编辑和管理报表 SQL 脚本
图表配置 {route}/chartConfig/index 配置图表类型、样式与数据源映射
仪表盘配置 {route}/Dashboard/admin 配置和管理仪表盘布局与展示内容
用户端页面
页面 路径 参数 说明
仪表盘查看 {route}/dashboard/index ?code={编码}&name={名称} 用户端仪表盘展示页面
报表数据查询 {route}/querybycode/index ?code={编码}&name={名称} 按编码查询报表数据,支持筛选/导出
菜单 JSON 示例
{
    id: "6", title: "报表", path: "/rep", icon: 'el-icon-data-board',
    "children": [
        { id: '6-1', "icon": "el-icon-connection", "path": "/dataSource/index", "title": "数据源" },
        { id: '6-2', "icon": "el-icon-edit-outline", "path": "/Definition/index", "title": "报表设计" },
        { id: '6-3', "icon": "el-icon-set-up", "path": "/chartConfig/index", "title": "图表配置" },
        { id: '6-4', "icon": "el-icon-monitor", "path": "/Dashboard/admin", "title": "仪表盘管理" },
        { id: '6-5', "icon": "el-icon-view", "path": "/dashboard/index?code=xxx&name=xxx", "title": "仪表盘查看" },
        { id: '6-6', "icon": "el-icon-search", "path": "/querybycode/index?code=xxx&name=xxx", "title": "报表数据查询" }
    ]
}
访问示例
# 无路由前缀(默认)
http://localhost:5000/dataSource/index
http://localhost:5000/Definition/index
http://localhost:5000/chartConfig/index
http://localhost:5000/Dashboard/admin

# 有路由前缀 /reports
http://localhost:5000/reports/dataSource/index
http://localhost:5000/reports/Definition/index

# 查看仪表盘
http://localhost:5000/dashboard/index?code=sales&name=销售仪表盘

# 查询报表数据
http://localhost:5000/querybycode/index?code=monthly_sales&name=月度销售
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.1.4 104 7/29/2026
10.0.1.3 121 6/25/2026
10.0.1.2 115 6/24/2026
10.0.1.1 118 6/22/2026
10.0.1 131 6/18/2026
10.0.0.8 113 6/10/2026
10.0.0.7 126 5/28/2026
9.0.0.7 118 5/28/2026
9.0.0.6 114 4/28/2026
8.0.2.4 101 7/29/2026
8.0.2.3 117 6/25/2026
8.0.2.2 131 6/24/2026
8.0.2.1 120 6/22/2026
8.0.2 133 6/18/2026
8.0.1.23 125 6/10/2026
8.0.1.22 137 5/28/2026
8.0.1.21 113 4/28/2026
7.0.1.22 118 5/28/2026
7.0.1.21 106 4/28/2026
6.0.1.22 119 5/28/2026
Loading failed