Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
27027ecf
提交
27027ecf
authored
1月 25, 2022
作者:
taojinlong
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'v1.7' of github.com:dataease/dataease into v1.7
上级
f33e4b93
8f2539cb
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
11 行增加
和
8 行删除
+11
-8
ChartViewService.java
...main/java/io/dataease/service/chart/ChartViewService.java
+1
-1
ComponentWrapper.vue
.../components/canvas/components/Editor/ComponentWrapper.vue
+1
-5
Preview.vue
frontend/src/components/canvas/components/Editor/Preview.vue
+8
-2
UserViewMobileDialog.vue
...mponents/canvas/custom-component/UserViewMobileDialog.vue
+1
-0
没有找到文件。
backend/src/main/java/io/dataease/service/chart/ChartViewService.java
浏览文件 @
27027ecf
...
...
@@ -245,7 +245,7 @@ public class ChartViewService {
fields
=
permissionService
.
filterColumnPermissons
(
fields
,
desensitizationList
,
datasetTable
.
getId
(),
requestList
.
getUser
());
//将没有权限的列删掉
List
<
String
>
dataeaseNames
=
fields
.
stream
().
map
(
DatasetTableField:
:
getDataeaseName
).
collect
(
Collectors
.
toList
());
dataeaseNames
.
add
(
"
count
"
);
dataeaseNames
.
add
(
"
*
"
);
fieldCustomFilter
=
fieldCustomFilter
.
stream
().
filter
(
item
->
!
desensitizationList
.
contains
(
item
.
getDataeaseName
())
&&
dataeaseNames
.
contains
(
item
.
getDataeaseName
())).
collect
(
Collectors
.
toList
());
extStack
=
extStack
.
stream
().
filter
(
item
->
!
desensitizationList
.
contains
(
item
.
getDataeaseName
())
&&
dataeaseNames
.
contains
(
item
.
getDataeaseName
())).
collect
(
Collectors
.
toList
());
extBubble
=
extBubble
.
stream
().
filter
(
item
->
!
desensitizationList
.
contains
(
item
.
getDataeaseName
())
&&
dataeaseNames
.
contains
(
item
.
getDataeaseName
())).
collect
(
Collectors
.
toList
());
...
...
frontend/src/components/canvas/components/Editor/ComponentWrapper.vue
浏览文件 @
27027ecf
...
...
@@ -150,11 +150,7 @@ export default {
height
:
'100%'
}
}
else
{
if
(
this
.
terminal
===
'pc'
)
{
return
getStyle
(
style
,
[
'top'
,
'left'
,
'width'
,
'height'
,
'rotate'
])
}
else
{
return
getStyle
(
style
,
[
'top'
,
'left'
,
'width'
,
'height'
,
'rotate'
,
'fontSize'
])
}
return
getStyle
(
style
,
[
'top'
,
'left'
,
'width'
,
'height'
,
'rotate'
])
}
},
...
...
frontend/src/components/canvas/components/Editor/Preview.vue
浏览文件 @
27027ecf
...
...
@@ -40,7 +40,6 @@
<!--手机视图详情-->
<el-dialog
:title=
"'['+showChartInfo.name+']'+$t('chart.chart_details')"
:visible
.
sync=
"mobileChartDetailsVisible"
:fullscreen=
"true"
class=
"mobile-dialog-css"
...
...
@@ -297,7 +296,11 @@ export default {
component
.
style
[
key
]
=
this
.
format
(
component
.
style
[
key
],
this
.
scaleHeight
)
}
if
(
this
.
needToChangeWidth
.
includes
(
key
))
{
component
.
style
[
key
]
=
this
.
format
(
component
.
style
[
key
],
this
.
scaleWidth
)
if
(
key
===
'fontSize'
&&
this
.
terminal
===
'mobile'
)
{
// do nothing 移动端字符大小无需按照比例缩放,当前保持不变(包括 v-text 和 过滤组件)
}
else
{
component
.
style
[
key
]
=
this
.
format
(
component
.
style
[
key
],
this
.
scaleWidth
)
}
}
})
})
...
...
@@ -374,6 +377,9 @@ export default {
padding
:
10px
20px
20px
;
}
.mobile-dialog-css
>
>
>
.el-dialog__headerbtn
{
top
:
7px
}
.mobile-dialog-css
>
>
>
.el-dialog__body
{
padding
:
0px
;
}
...
...
frontend/src/components/canvas/custom-component/UserViewMobileDialog.vue
浏览文件 @
27027ecf
...
...
@@ -89,5 +89,6 @@ export default {
}
.full-div
{
background-size
:
100%
100%
!
important
;
padding
:
5px
0px
5px
0px
!
important
;
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论