diff --git a/README.md b/README.md index 88f81a5b..96c06e7e 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,11 @@ 通过百度网盘分享的文件:大屏模板 链接:https://pan.baidu.com/s/1rkjBiiTpA4DBQdep-uAYzQ?pwd=w3rm提取码:w3rm -####   [在线提问](https://gitee.com/anji-plus/report/issues "issue"): https://gitee.com/anji-plus/report/issues
+####   [在线提问](https://gitee.com/belief-team/report/issues "issue"): https://gitee.com/belief-team/report/issues
## 发行版本 -####   [下载链接](https://gitee.com/anji-plus/report/releases "下载链接"): https://gitee.com/anji-plus/report/releases
+####   [下载链接](https://gitee.com/belief-team/report/releases "下载链接"): https://gitee.com/belief-team/report/releases
## 功能概述 @@ -147,7 +147,7 @@ http://serverip:9095 简易步骤 ``` -git clone https://gitee.com/anji-plus/report.git +git clone https://gitee.com/belief-team/report.git cd report sh build.sh 编译完成放在build文件夹 aj-report-xxxx.zip @@ -193,7 +193,7 @@ spring.gaea.Security.jwtSecret = 修改32位jwt密钥 ## SQL初始化 -sql文件的目录在:report-core --> src --> main --> resources -- > db.migration
+sql文件的目录在:report-core --> src --> main --> resources --> db.migration
系统初始化时flyway会自动的将该目录下的sql文件执行,不需要手动执行sql文件,执行完将会创建 aj_report(存放系统基础数据)数据库
@@ -261,7 +261,7 @@ AJ-Report使用[Apache2.0开源协议](http://www.apache.org/licenses/LICENSE-2. ## 技术支持 -**如有问题,请提交 [Issue](https://gitee.com/anji-plus/report/issues)
** +**如有问题,请提交 [Issue](https://gitee.com/belief-team/report/issues)
** 个人微信:个人微信,不闲聊,加群、咨询请备注,备注格式不限但最好是:“项目名 + 问题” ,项目名可以是**AJ-Report**、**Report**、**大屏 **,只要能一眼分辨就行
@@ -297,6 +297,3 @@ AJ-Report使用[Apache2.0开源协议](http://www.apache.org/licenses/LICENSE-2.
-## Stargazers over time - -[![Stargazers over time](https://starchart.cc/anji-plus/report.svg)](https://starchart.cc/anji-plus/report) diff --git a/doc/docs/guide/authManager.md b/doc/docs/guide/authManager.md index 117c7e12..98068b97 100644 --- a/doc/docs/guide/authManager.md +++ b/doc/docs/guide/authManager.md @@ -6,7 +6,12 @@ 新增用户的默认密码是在bootstrap.yml文件中配置的
-![img](../picture/authmanager/img_2.png)
+```yaml + user: + ##新增用户默认密码 + default: + password: 123456 +``` ## 用户授权 @@ -31,7 +36,6 @@ 导入导出的权限是在 角色 --> 分配权限中控制。
![img](../picture/authmanager/img_7.png)
-用户绑定了角色,角色则绑定了权限,是这样一层关系。
diff --git a/doc/docs/guide/chartsConfig.md b/doc/docs/guide/chartsConfig.md index 0629944b..441768f3 100644 --- a/doc/docs/guide/chartsConfig.md +++ b/doc/docs/guide/chartsConfig.md @@ -1,7 +1,8 @@ ## 简要说明 图表配置项的中文名称基本都是直接使用Echarts图表组件对应定义的名称,非Echarts图表组件则根据功能进行命名。
-每个图表组件的配置项都不尽相同,配置项的作用在于调整图表、数据的展示样式,这里着重说明一些共有的配置项和特殊的配置项,因为并不是按照一个图表一个配置项介绍的,没有介绍的部分请自行尝试了。 +每个图表组件的配置项都不尽相同,配置项的作用在于调整图表、数据的展示样式,这里着重说明一些共有的配置项和特殊的配置项,因为并不是按照一个图表一个配置项介绍的,没有介绍的部分请自行尝试了。
+**请以系统中图表实际的配置项为准**
## 通用配置项 diff --git a/doc/docs/guide/chartsLinkage.md b/doc/docs/guide/chartsLinkage.md index 34ab3855..eb358db4 100644 --- a/doc/docs/guide/chartsLinkage.md +++ b/doc/docs/guide/chartsLinkage.md @@ -4,23 +4,24 @@ 除下文介绍的示例外,还可去数据集、体验地址去查看示例。
- 表单联动
- 目前支持的有下拉框、时间筛选器。
- V1.0.0 支持被联动的组件有:
- - 文本栏 - V1.1.0 + 目前支持的有下拉框、时间筛选器、按钮。
+ 支持被联动的组件有(以实际系统中存在的组件为准):
+ - 文本栏 - V1.1 - 文本 - 滚动文本 - 表格 - - 柱状图(包含全部) - - 折线图(包含全部) - - 柱线图(包含全部) - - 饼图(包含全部) - - 漏斗图(包含全部) - - 百分比(包含全部)-V1.1.0 - - 中国地图(包含全部) - - 词云图(包含全部)-V1.1.0 - - 热力图(包含全部) - - 雷达图(包含全部) - - 刻度尺(包含全部)-V1.1.0 + - 柱状图(包含全部)-V1.0 + - 折线图(包含全部)-V1.0 + - 柱线图(包含全部)-V1.0 + - 饼图(包含全部)-V1.0 + - 漏斗图(包含全部)-V1.0 + - 百分比(包含全部)-V1.1 + - 中国地图(包含全部)-V1.0 + - 词云图(包含全部)-V1.1 + - 热力图(包含全部)-V1.0 + - 雷达图(包含全部)-V1.0 + - 刻度尺(包含全部)-V1.1 + - 日历 -V1.7 - 图表联动:
目前联动主要集中在柱状图、折线图、饼图等这种二维图表,二维图表是指图表只支持2个字段的数据集,当然并不是说需要3个字段的堆叠图(柱状/折线)不支持联动,而是这种三维图表去联动二维图表会带来一些问题,反之二维的去联动三维的同样存在问题,因此目前源代码中只添加了部分二维图表的联动。
diff --git a/doc/docs/guide/quicklyDistribution.md b/doc/docs/guide/quicklyDistribution.md index e8e42226..20480569 100644 --- a/doc/docs/guide/quicklyDistribution.md +++ b/doc/docs/guide/quicklyDistribution.md @@ -23,9 +23,7 @@ 解压下载好的Zip包,找到bootstrap.yml
![img_1.png](../picture/quickly/img_17.png)
-将图中关于mysql的连接配置信息换成你使用的IP:数据库名。如果没有修改flyway为false,那flyway会自动建立aj_report库
- -![bootstrap.png](../picture/quickly/img_2.png)
+将关于mysql的连接配置信息换成你使用的IP:数据库名。
**注**:请确认你的Mysql是否支持远程连接,登陆用户是否有DDL权限
```yaml @@ -37,18 +35,18 @@ ## flyway -flyway是用于自动执行sql,因为mysql版本及配置等问题,flyway可能会执行失败。如果你mysql没问题,注意检查flyway是否开启。
+flyway是用于自动执行sql,因为mysql版本及配置等问题,flyway可能会执行失败。
+如果日志提示“FlywayInitialization”错误,请修改为false,并手动执行sql(report-core --> src --> main --> resources --> db.migration)
```yaml flyway: - enabled: false #是否开启flyway(自动执行sql脚本),默认false + enabled: true #是否开启flyway(自动执行sql脚本),默认true ``` ## OSS配置 OSS底层已支持minio、amazonS3、nfs,都配置的情况下优先级minio->amazonS3->nfs
-![file.png](../picture/quickly/img.png)
- +需要修改downloadPath和path
```yaml gaea: subscribes: @@ -57,7 +55,7 @@ OSS底层已支持minio、amazonS3、nfs,都配置的情况下优先级minio-> ##允许上传的文件后缀 file-type-white-list: .png|.jpg|.gif|.icon|.pdf|.xlsx|.xls|.csv|.mp4|.avi|.jpeg|.aaa|.svg # 用于文件上传成功后,生成文件的下载公网完整URL,http://serverip:9095/file/download,注意填写IP必须填写后端服务所在的机器IP - downloadPath: http://10.108.26.197:9095/file/download + downloadPath: http://127.0.0.1:9095/file/download nfs: #上传对应本地全路径,注意目录不会自动创建,注意 Win是 \ 且有盘符,linux是 / 无盘符,注意目录权限问题 path: /app/disk/upload/ diff --git a/doc/docs/guide/quicklySeparate.md b/doc/docs/guide/quicklySeparate.md index 4d028c98..2f408743 100644 --- a/doc/docs/guide/quicklySeparate.md +++ b/doc/docs/guide/quicklySeparate.md @@ -49,9 +49,8 @@ git clone https://gitee.com/anji-plus/report.git
### 修改mysql连接 report-core --> src --> main --> resources --> bootstrap.yml
-将图中关于mysql的连接配置信息换成你使用的IP
-![bootstrap.png](../picture/quickly/img_2.png)
+将关于mysql的连接配置信息换成你使用的IP:数据库名。
**注**:请确认你的Mysql是否支持远程连接,登陆用户是否有DDL权限
```yaml @@ -63,7 +62,8 @@ report-core --> src --> main --> resources --> bootstrap.yml
## flyway -flyway是用于自动执行sql,因为mysql版本及配置等问题,flyway可能会执行失败。如果你mysql没问题,注意检查flyway是否开启。
+flyway是用于自动执行sql,因为mysql版本及配置等问题,flyway可能会执行失败。
+如果日志提示“FlywayInitialization”错误,请修改为false,并手动执行sql(report-core --> src --> main --> resources --> db.migration)
```yaml flyway: @@ -73,8 +73,7 @@ flyway是用于自动执行sql,因为mysql版本及配置等问题,flyway可 ### OSS配置 OSS底层已支持minio、amazonS3、nfs,都配置的情况下优先级minio->amazonS3->nfs
-![file.png](../picture/quickly/img.png)
- +需要修改downloadPath和path
```yaml gaea: subscribes: @@ -83,7 +82,7 @@ OSS底层已支持minio、amazonS3、nfs,都配置的情况下优先级minio-> ##允许上传的文件后缀 file-type-white-list: .png|.jpg|.gif|.icon|.pdf|.xlsx|.xls|.csv|.mp4|.avi|.jpeg|.aaa|.svg # 用于文件上传成功后,生成文件的下载公网完整URL,http://serverip:9095/file/download,注意填写IP必须填写后端服务所在的机器IP - downloadPath: http://10.108.26.197:9095/file/download + downloadPath: http://127.0.0.1:9095/file/download nfs: #上传对应本地全路径,注意目录不会自动创建,注意 Win是 \ 且有盘符,linux是 / 无盘符,注意目录权限问题 path: /app/disk/upload/ diff --git a/doc/docs/guide/quicklySource.md b/doc/docs/guide/quicklySource.md index 44eab47e..cb490129 100644 --- a/doc/docs/guide/quicklySource.md +++ b/doc/docs/guide/quicklySource.md @@ -55,9 +55,7 @@ git clone https://gitee.com/anji-plus/report.git
解压aj-report-xxxx.zip,找到bootstrap.yml
![img_1.png](../picture/quickly/img_17.png)
-将图中关于mysql的连接配置信息换成你使用的IP:数据库名。如果没有修改flyway为false,那flyway会自动建立aj_report库
- -![bootstrap.png](../picture/quickly/img_2.png)
+将关于mysql的连接配置信息换成你使用的IP:数据库名。
**注**:请确认你的Mysql是否支持远程连接,登陆用户是否有DDL权限
```yaml @@ -69,7 +67,8 @@ git clone https://gitee.com/anji-plus/report.git
## flyway -flyway是用于自动执行sql,因为mysql版本及配置等问题,flyway可能会执行失败。如果你mysql没问题,注意检查flyway是否开启。
+flyway是用于自动执行sql,因为mysql版本及配置等问题,flyway可能会执行失败。
+如果日志提示“FlywayInitialization”错误,请修改为false,并手动执行sql(report-core --> src --> main --> resources --> db.migration)
```yaml flyway: @@ -79,8 +78,7 @@ flyway是用于自动执行sql,因为mysql版本及配置等问题,flyway可 ## OSS配置 OSS底层已支持minio、amazonS3、nfs,都配置的情况下优先级minio->amazonS3->nfs
-![file.png](../picture/quickly/img.png)
- +需要修改downloadPath和path
```yaml gaea: subscribes: @@ -89,7 +87,7 @@ OSS底层已支持minio、amazonS3、nfs,都配置的情况下优先级minio-> ##允许上传的文件后缀 file-type-white-list: .png|.jpg|.gif|.icon|.pdf|.xlsx|.xls|.csv|.mp4|.avi|.jpeg|.aaa|.svg # 用于文件上传成功后,生成文件的下载公网完整URL,http://serverip:9095/file/download,注意填写IP必须填写后端服务所在的机器IP - downloadPath: http://10.108.26.197:9095/file/download + downloadPath: http://127.0.0.1:9095/file/download nfs: #上传对应本地全路径,注意目录不会自动创建,注意 Win是 \ 且有盘符,linux是 / 无盘符,注意目录权限问题 path: /app/disk/upload/ diff --git a/doc/docs/guide/releases/1.7.x.md b/doc/docs/guide/releases/1.7.x.md index d01265f9..6c92c1fb 100644 --- a/doc/docs/guide/releases/1.7.x.md +++ b/doc/docs/guide/releases/1.7.x.md @@ -36,3 +36,20 @@ 1、doc更新 +## V1.7.1 + +### 新增 + +1、大屏设计器-日历组件支持联动 --贡献人:shuaiwu95@shuaiwu123 + +### 优化 + +1、大屏设计器-文本框增加行高默认值 + +### 修复 + +1、修复预览页面缩放异常问题 --贡献人:shuaiwu95@shuaiwu123 + +### 其他 + +1、doc更新 diff --git a/doc/docs/picture/authmanager/img_2.png b/doc/docs/picture/authmanager/img_2.png deleted file mode 100644 index 1b926b6a..00000000 Binary files a/doc/docs/picture/authmanager/img_2.png and /dev/null differ diff --git a/doc/docs/picture/quickly/img.png b/doc/docs/picture/quickly/img.png deleted file mode 100644 index 9e2c477d..00000000 Binary files a/doc/docs/picture/quickly/img.png and /dev/null differ diff --git a/doc/docs/picture/quickly/img_2.png b/doc/docs/picture/quickly/img_2.png deleted file mode 100644 index 3f2e355a..00000000 Binary files a/doc/docs/picture/quickly/img_2.png and /dev/null differ diff --git a/report-core/pom.xml b/report-core/pom.xml index 74dd8982..969ceda4 100644 --- a/report-core/pom.xml +++ b/report-core/pom.xml @@ -13,7 +13,7 @@ com.anji-plus aj-report - 1.7.0.RELEASE + 1.7.1.RELEASE UTF-8 diff --git a/report-ui/package.json b/report-ui/package.json index a9ba6a9f..bd7fe8aa 100644 --- a/report-ui/package.json +++ b/report-ui/package.json @@ -1,6 +1,6 @@ { "name": "report-ui", - "version": "1.7.0", + "version": "1.7.1", "description": "report-ui", "author": "beliefteam", "scripts": { diff --git a/report-ui/src/views/bigscreenDesigner/designer/linkageLogic.js b/report-ui/src/views/bigscreenDesigner/designer/linkageLogic.js index bd966e90..3f81cdb0 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/linkageLogic.js +++ b/report-ui/src/views/bigscreenDesigner/designer/linkageLogic.js @@ -22,6 +22,11 @@ export const lickageParamsConfig = [ code: 'widget-form-time', paramsKey: ['startTime','endTime'] }, + { + name: '日历', + code: 'widget-calendar', + paramsKey: ['date'] + }, { name: '柱图', code: 'widget-barchart', diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/texts/widget-calendar.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/texts/widget-calendar.js index 0247fa91..07caf034 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/texts/widget-calendar.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/texts/widget-calendar.js @@ -112,6 +112,21 @@ export const widgetCalendar = { required: false, placeholder: '', value: 'rgb(0, 0, 0)' + },{ + type: 'vue-color', + label: '选中背景色', + name: 'selectedBackground', + required: false, + placeholder: '', + value: 'rgb(11, 180, 241)' + }, + { + type: 'vue-color', + label: '选中文字颜色', + name: 'selectedTextColor', + required: false, + placeholder: '', + value: 'rgb(0, 0, 0)' }, { type: 'el-switch', @@ -123,7 +138,19 @@ export const widgetCalendar = { }, ] } - ] + ], + [{ + name: '组件联动', + list: [ + { + type: 'componentLinkage', + label: '', + name: 'componentLinkage', + required: false, + value: [] + } + ] + }] ], data: [ { diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/texts/widget-text.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/texts/widget-text.js index d1e0164d..0bf00403 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/texts/widget-text.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/texts/widget-text.js @@ -104,7 +104,7 @@ export const widgetText = { name: 'lineHeight', required: false, placeholder: '', - value: '0', + value: '40', }, { type: 'el-input-number', diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/texts/widgetCalendar.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/texts/widgetCalendar.vue index 4358c913..c5d1640d 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/texts/widgetCalendar.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/texts/widgetCalendar.vue @@ -18,9 +18,11 @@ :class="{ 'out-of-range': day.isOutOfRange, 'current-month': day.isCurrentMonth, - 'today': day.isToday + 'today': day.isToday, + 'selected': day.date === selectDayStr }" - :style="cellStyle(day.isToday)" + :style="cellStyle(day.isToday, day.date === selectDayStr)" + @click="selectDay(day)" >
{{ day.day }}
@@ -34,13 +36,17 @@