Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
6fc0afcf
提交
6fc0afcf
authored
5月 31, 2022
作者:
taojinlong
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'v1.11' of github.com:dataease/dataease into v1.11
上级
0c473566
01c1a500
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
96 行增加
和
33 行删除
+96
-33
ChartViewDTO.java
...end/src/main/java/io/dataease/dto/chart/ChartViewDTO.java
+9
-0
table-info.js
frontend/src/views/chart/chart/table/table-info.js
+8
-5
util.js
frontend/src/views/chart/chart/util.js
+73
-25
ChartEdit.vue
frontend/src/views/chart/view/ChartEdit.vue
+1
-2
Group.vue
frontend/src/views/dataset/group/Group.vue
+3
-0
index.vue
frontend/src/views/panel/edit/index.vue
+2
-1
没有找到文件。
backend/src/main/java/io/dataease/dto/chart/ChartViewDTO.java
浏览文件 @
6fc0afcf
package
io
.
dataease
.
dto
.
chart
;
import
com.google.gson.annotations.SerializedName
;
import
io.dataease.plugins.common.base.domain.ChartViewWithBLOBs
;
import
io.dataease.plugins.common.request.chart.ChartExtFilterRequest
;
import
io.swagger.annotations.ApiModelProperty
;
...
...
@@ -32,4 +33,12 @@ public class ChartViewDTO extends ChartViewWithBLOBs {
private
List
<
ChartExtFilterRequest
>
drillFilters
;
@ApiModelProperty
(
"视图存放位置"
)
private
String
position
;
@SerializedName
(
"xaxis"
)
private
String
xAxis
;
@SerializedName
(
"xaxisExt"
)
private
String
xAxisExt
;
@SerializedName
(
"yaxis"
)
private
String
yAxis
;
@SerializedName
(
"yaxisExt"
)
private
String
yAxisExt
;
}
frontend/src/views/chart/chart/table/table-info.js
浏览文件 @
6fc0afcf
...
...
@@ -412,12 +412,15 @@ function getCurrentField(valueFieldList, field) {
}
catch
(
err
)
{
list
=
JSON
.
parse
(
JSON
.
stringify
(
valueFieldList
))
}
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
)
{
const
f
=
list
[
i
]
if
(
field
.
dataeaseName
===
f
.
dataeaseName
)
{
res
=
f
break
if
(
list
)
{
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
)
{
const
f
=
list
[
i
]
if
(
field
.
dataeaseName
===
f
.
dataeaseName
)
{
res
=
f
break
}
}
}
return
res
}
frontend/src/views/chart/chart/util.js
浏览文件 @
6fc0afcf
...
...
@@ -342,6 +342,7 @@ export const TYPE_CONFIGS = [
'position'
,
'name'
,
'nameTextStyle'
,
'axisValue'
,
'splitLine'
,
'axisForm'
,
'axisLabel'
...
...
@@ -415,6 +416,7 @@ export const TYPE_CONFIGS = [
'position'
,
'name'
,
'nameTextStyle'
,
'axisValue'
,
'splitLine'
,
'axisForm'
,
'axisLabel'
...
...
@@ -488,6 +490,7 @@ export const TYPE_CONFIGS = [
'position'
,
'name'
,
'nameTextStyle'
,
'axisValue'
,
'splitLine'
,
'axisForm'
,
'axisLabel'
...
...
@@ -560,6 +563,7 @@ export const TYPE_CONFIGS = [
'position'
,
'name'
,
'nameTextStyle'
,
'axisValue'
,
'splitLine'
,
'axisForm'
,
'axisLabel'
...
...
@@ -625,6 +629,7 @@ export const TYPE_CONFIGS = [
'position'
,
'name'
,
'nameTextStyle'
,
'axisValue'
,
'splitLine'
,
'axisForm'
,
'axisLabel'
...
...
@@ -764,7 +769,6 @@ export const TYPE_CONFIGS = [
'position'
,
'name'
,
'nameTextStyle'
,
'axisValue'
,
'splitLine'
,
'axisForm'
,
'axisLabel'
...
...
@@ -940,6 +944,11 @@ export const TYPE_CONFIGS = [
'orient'
,
'textStyle'
,
'hPosition'
],
'split-selector-ant-v'
:
[
'splitForm'
,
'name'
,
'lineStyle'
]
}
},
...
...
@@ -1069,6 +1078,7 @@ export const TYPE_CONFIGS = [
'position'
,
'name'
,
'nameTextStyle'
,
'axisValue'
,
'splitLine'
,
'axisForm'
,
'axisLabel'
...
...
@@ -1367,18 +1377,23 @@ export const TYPE_CONFIGS = [
'formatter'
],
'x-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'splitLine'
,
'axisLabel'
],
'y-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'axisValue'
,
'splitLine'
,
'axisLabel'
],
'title-selector'
:
[
'show'
,
...
...
@@ -1441,18 +1456,23 @@ export const TYPE_CONFIGS = [
'formatter'
],
'x-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'splitLine'
,
'axisLabel'
],
'y-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'axisValue'
,
'splitLine'
,
'axisLabel'
],
'title-selector'
:
[
'show'
,
...
...
@@ -1527,14 +1547,17 @@ export const TYPE_CONFIGS = [
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'splitLine'
,
'axisLabel'
],
'y-axis-selector'
:
[
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'axisValue'
,
'splitLine'
,
'axisLabel'
],
'y-axis-ext-selector'
:
[
'show'
,
...
...
@@ -1605,18 +1628,23 @@ export const TYPE_CONFIGS = [
'formatter'
],
'x-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'splitLine'
,
'axisLabel'
],
'y-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'axisValue'
,
'splitLine'
,
'axisLabel'
],
'title-selector'
:
[
'show'
,
...
...
@@ -1679,18 +1707,23 @@ export const TYPE_CONFIGS = [
'formatter'
],
'x-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'splitLine'
,
'axisLabel'
],
'y-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'axisValue'
,
'splitLine'
,
'axisLabel'
],
'title-selector'
:
[
'show'
,
...
...
@@ -1753,19 +1786,23 @@ export const TYPE_CONFIGS = [
'formatter'
],
'x-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'axisValue'
,
'splitLine'
'splitLine'
,
'axisLabel'
],
'y-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'splitLine'
,
'axisLabel'
],
'title-selector'
:
[
'show'
,
...
...
@@ -1828,20 +1865,24 @@ export const TYPE_CONFIGS = [
'formatter'
],
'x-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'axisValue'
,
'splitLine'
'splitLine'
,
'axisLabel'
],
'y-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'axisValue'
,
'splitLine'
'splitLine'
,
'axisLabel'
],
'title-selector'
:
[
'show'
,
...
...
@@ -1893,7 +1934,7 @@ export const TYPE_CONFIGS = [
'labelLine'
,
'fontSize'
,
'color'
,
'position-
v
'
,
'position-
pie
'
,
'formatter'
],
'tooltip-selector'
:
[
...
...
@@ -2134,18 +2175,23 @@ export const TYPE_CONFIGS = [
'formatter'
],
'x-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'splitLine'
,
'axisLabel'
],
'y-axis-selector'
:
[
'axisForm'
,
'show'
,
'position'
,
'name'
,
'nameTextStyle'
,
'splitLine'
'axisValue'
,
'splitLine'
,
'axisLabel'
],
'title-selector'
:
[
'show'
,
...
...
@@ -2355,13 +2401,15 @@ export function getColors(chart, colors, reset) {
}
else
{
series
=
JSON
.
parse
(
chart
.
yaxis
)
}
for
(
let
i
=
0
;
i
<
series
.
length
;
i
++
)
{
const
s
=
series
[
i
]
seriesColors
.
push
({
name
:
s
.
name
,
color
:
colors
[
i
%
colors
.
length
],
isCustom
:
false
})
if
(
series
)
{
for
(
let
i
=
0
;
i
<
series
.
length
;
i
++
)
{
const
s
=
series
[
i
]
seriesColors
.
push
({
name
:
s
.
name
,
color
:
colors
[
i
%
colors
.
length
],
isCustom
:
false
})
}
}
}
else
{
if
(
chart
.
data
)
{
...
...
frontend/src/views/chart/view/ChartEdit.vue
浏览文件 @
6fc0afcf
...
...
@@ -2521,8 +2521,7 @@ export default {
.view-panel-Mask
{
display
:
flex
;
height
:
calc
(
100vh
-
60px
);
background-color
:
#5c5e61
;
opacity
:
0
.7
;
background-color
:
rgba
(
92
,
94
,
97
,
0
.7
);
position
:absolute
;
top
:
0px
;
left
:
0px
;
...
...
frontend/src/views/dataset/group/Group.vue
浏览文件 @
6fc0afcf
...
...
@@ -531,6 +531,9 @@ export default {
if
(
!
userCache
)
{
this
.
tData
=
res
.
data
}
this
.
$nextTick
(()
=>
{
this
.
$refs
.
datasetTreeRef
.
filter
(
this
.
filterText
)
})
})
},
...
...
frontend/src/views/panel/edit/index.vue
浏览文件 @
6fc0afcf
...
...
@@ -809,7 +809,8 @@ export default {
}
this
.
currentFilterCom
.
id
=
newComponentId
this
.
currentFilterCom
.
auxiliaryMatrix
=
this
.
canvasStyleData
.
auxiliaryMatrix
this
.
currentFilterCom
.
mobileStyle
=
BASE_MOBILE_STYLE
this
.
currentFilterCom
.
mobileStyle
=
deepCopy
(
BASE_MOBILE_STYLE
)
this
.
currentFilterCom
[
'hyperlinks'
]
=
deepCopy
(
HYPERLINKS
)
this
.
currentFilterCom
.
commonBackground
=
this
.
currentFilterCom
.
commonBackground
||
deepCopy
(
COMMON_BACKGROUND
)
if
(
this
.
currentWidget
.
filterDialog
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论