qianlishi 4 years ago
commit ecb00428f4

@ -9,7 +9,7 @@
内置的基础功能包括数据源,数据集,报表管理,项目部分截图如下。<br>
##数据流程图
![An image](../picture/img.png)
![An image](docs/picture/datasource/img.png)
## 打包目录
```

@ -16,10 +16,16 @@
- 只有测试通过的数据源才可以保存
![An image](../picture/img.png)
![An image](../picture/datasource/img.png)
## 扩展
- 以kudu impala 为例在lib文件夹下加入kudu impala相关的JDBC连接相关的包如图
- 在数据库中新增数据源类型,参考数据源类型(上方)
![An image](../picture/datasource/kudu-impala-lib.png)

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

@ -57,6 +57,26 @@ public class TokenFilter implements Filter {
//延长有效期
cacheHelper.stringSetExpire(username, authorization, 3600);
//在线体验版本
if (username.equals("guest")
&& !uri.endsWith("/dataSet/testTransform")
&& !uri.endsWith("/reportDashboard/getData")
&& !uri.startsWith("/dict")
&& !uri.startsWith("/dict")
) {
//不允许删除
String method = request.getMethod();
if ("post".equalsIgnoreCase(method)
|| "put".equalsIgnoreCase(method)
|| "delete".equalsIgnoreCase(method)
) {
ResponseBean responseBean = ResponseBean.builder().code("50001").message("在线体验版本,不允许此操作。请自行下载本地运行").build();
response.getWriter().print(JSONObject.toJSONString(responseBean));
return;
}
}
}
//执行

@ -67,7 +67,9 @@ public class ReportDashboardServiceImpl implements ReportDashboardService, Initi
ReportDashboardObjectDto result = new ReportDashboardObjectDto();
ReportDashboardDto reportDashboardDto = new ReportDashboardDto();
ReportDashboard reportDashboard = this.selectOne("report_code", reportCode);
GaeaAssert.notNull(reportDashboard, ResponseCode.RULE_CONTENT_NOT_EXIST, "reportDashboard");
if (null == reportDashboard) {
return new ReportDashboardObjectDto();
}
GaeaBeanUtils.copyAndFormatter(reportDashboard, reportDashboardDto);
List<ReportDashboardWidget> list = reportDashboardWidgetService.list(

@ -4,6 +4,6 @@ const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
// BASE_API: '"http://127.0.0.1:9095"'
BASE_API: '"http://10.108.26.197:9095"'
BASE_API: '"http://127.0.0.1:9095"'
// BASE_API: '"http://10.108.26.197:9095"'
})

Loading…
Cancel
Save