NPF已经是一套成熟的快速开发框架,并在不断升级更新;JNPF快速开发能提高企业的竞争能力,包括降低开发成本、提高产品质量、改善客户满意程度、控制开发进度等。
大屏设计介绍:
画布采用网格系统,自动吸附每个控件的布局,做到整齐划一;
大量可视化控件效果,零编码拖拽式操作,支持自定义样式,自定义数据库;
拖拽式自由布局,多种图表、控件、表格等组件任你摆放,想怎么放就怎么放;
数十种可视化图表示例,满足各类的阅读偏好,为您展示全面的数据可视化报告;
打破信息孤岛问题,实时为你展示数据的变化,让你随时查看公司的业务情况;
内置大量专业、酷炫的可视化动效组件、满足您对各种数据场景的动态需求。
http://www.jnpfsoft.com/service.html?from=CSDNm
平台特性
-
采用前后端分离的模式:前端基于
vue-element-admin
框架定制开发; -
统一授权、认证:基于
Spring Security
、Spring OAuth2
、JWT 实现的统一认证服务中心,登录基于Spring Security
的标准登录流程。客户端授权支持Oauth2.0
的四种授权模式:授权码模式
、简化模式
、密码模式
、客户端模式
,授权流程http://www.jnpfsoft.com/跟标准的Oauth2
流程一致。web 端采用简化模式登录系统,移动端可使用密码模式(password)登录系统。同时还支持基于Spring Social
的三方账号登录方式,如微信/QQ
、微博
等,并提供拓展模式,支持更多三方渠道。 -
灵活的权限控制:基于
RBAC
权限管理,该功能模块下的功能用于维护企业的组织架构信息以及员工信息。主要包含了组织信息、组织架构、企业通讯录、通信录同步等功能。用户可在此功能模块下维护公司的组织架构信息(组织/部门/角色/岗位)和用户信息,也可以通过第三方应用(钉钉/企业微信
)将组织架构信息一键导入到系统中,也可以使用组织架构和员工信息的导入功能将数据导入到系统中。 -
支持多租户:简单配置即可转变多租户模式,实现数据隔离;
-
支持多种数据库:支持
MySQL
、SQL Server
、Oracle
、PostgreSQL
、达梦数据库
、人大金仓数据库
等,您无需关心不同类型数据库间的语法区别; -
统一接口管理:基于
Swagger
拓展的API文档服务,主要提供在平台开发阶段的API文档管理和API调试等功能。
<h1>Hashing</h1>
<p>Time: @_time</p>
<button class="btn btn-primary" @onclick="Hash">Click me</button>
@code {
private const string Sonnet18 =
@"Shall I compare thee to a summer’s day?
Thou art more lovely and more temperate:
Rough winds do shake the darling buds of May,
And summer’s lease hath all too short a date;
Sometime too hot the eye of heaven shines,
And often is his gold complexion dimm'd;
And every fair from fair sometime declines,
By chance or nature’s changing course untrimm'd;
But thy eternal summer shall not fade,
Nor lose possession of that fair thou ow’st;
Nor shall death brag thou wander’st in his shade,
When in eternal lines to time thou grow’st:
So long as men can breathe or eyes can see,
So long lives this, and this gives life to thee.";
private TimeSpan _time;
private void Hash()
{
byte[] bytes = Encoding.UTF8.GetBytes(Sonnet18);
var sw = Stopwatch.StartNew();
for (int i = 0; i < 2000; i++)
{
_ = SHA256.HashData(bytes);
}
_time = sw.Elapsed;
}
}
平台组成
前端应用
-
jnpf-web
:前端主项目,基于vue-element-admin
框架定制开发 -
jnpf-web-datascreen
:前端大屏项目 -
jnpf-web-datareport
:前端报表项目 -
jnpf-web-tenant
:前端多租户项目
后端应用
-
jnpf-java-boot
:boot后端主项目; -
jnpf-datareport
:报表设计服务,通过配置数据集,通过执行SQL获取数据以渲染平面报表、图形报表的服务; -
jnpf-file-preview
:本地文件预览服务,支持doc,docx,xls,xlsx,ppt,pptx,pdf,txt,zip,rar,图片,视频,音频等格式文件; -
jnpf-tenant
:多租户服务,简单配置可实现数据隔离模式多租户应用。
{
private readonly Stream _stream;
public long BytesRead;
public PassthroughTrackingStream(Stream stream) => _stream = stream;
public override bool CanWrite => true;
public override bool CanRead => true;
public override async ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken)
{
int n = await _stream.ReadAsync(buffer, cancellationToken);
BytesRead += n;
return n;
}
public override ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken) =>
_stream.WriteAsync(buffer, cancellationToken);
protected override void Dispose(bool disposing) => _stream.Dispose();
public override bool CanSeek => false;
public override long Length => throw new NotSupportedException();
public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); }
public override void Flush() { }
public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException();
public override void SetLength(long value) => throw new NotSupportedException();
public override void Write(byte[] buffer, int offset, int count) => throw new NotSupportedException();
}