Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
d77aa35d
提交
d77aa35d
authored
8月 05, 2021
作者:
taojinlong
浏览文件
操作
浏览文件
下载
差异文件
feat: 增加示例数据
上级
9b87e1da
8be04097
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
72 行增加
和
59 行删除
+72
-59
V18__add_demo.sql
backend/src/main/resources/db/migration/V18__add_demo.sql
+60
-59
PanelList.vue
frontend/src/views/panel/list/PanelList.vue
+12
-0
没有找到文件。
backend/src/main/resources/db/migration/V18__add_demo.sql
浏览文件 @
d77aa35d
--
CREATE TABLE `demo_olympiad_athlete` (
CREATE
TABLE
`demo_olympiad_athlete`
(
--
`code` varchar(255) NOT NULL,
`code`
varchar
(
255
)
NOT
NULL
,
--
`sort` int(255) DEFAULT NULL,
`sort`
int
(
255
)
DEFAULT
NULL
,
--
`name` varchar(255) DEFAULT NULL,
`name`
varchar
(
255
)
DEFAULT
NULL
,
--
`country` varchar(255) DEFAULT NULL,
`country`
varchar
(
255
)
DEFAULT
NULL
,
--
`game` varchar(255) DEFAULT NULL,
`game`
varchar
(
255
)
DEFAULT
NULL
,
--
`hot_num` int(11) DEFAULT NULL,
`hot_num`
int
(
11
)
DEFAULT
NULL
,
--
PRIMARY KEY (`code`)
PRIMARY
KEY
(
`code`
)
--
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
--
--
CREATE TABLE `demo_olympiad_audience_age` (
CREATE
TABLE
`demo_olympiad_audience_age`
(
--
`age` varchar(255) NOT NULL,
`age`
varchar
(
255
)
NOT
NULL
,
--
`percent` float(255,2) DEFAULT NULL,
`percent`
float
(
255
,
2
)
DEFAULT
NULL
,
--
PRIMARY KEY (`age`)
PRIMARY
KEY
(
`age`
)
--
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
--
--
CREATE TABLE `demo_olympiad_audience_sex` (
CREATE
TABLE
`demo_olympiad_audience_sex`
(
--
`sex` varchar(255) NOT NULL,
`sex`
varchar
(
255
)
NOT
NULL
,
--
`percent` float(255,2) DEFAULT NULL,
`percent`
float
(
255
,
2
)
DEFAULT
NULL
,
--
PRIMARY KEY (`sex`)
PRIMARY
KEY
(
`sex`
)
--
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
--
--
CREATE TABLE `demo_olympiad_country` (
CREATE
TABLE
`demo_olympiad_country`
(
--
`code` varchar(255) NOT NULL,
`code`
varchar
(
255
)
NOT
NULL
,
--
`name` varchar(255) DEFAULT NULL,
`name`
varchar
(
255
)
DEFAULT
NULL
,
--
PRIMARY KEY (`code`)
PRIMARY
KEY
(
`code`
)
--
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
--
--
CREATE TABLE `demo_olympiad_data_update` (
CREATE
TABLE
`demo_olympiad_data_update`
(
--
`update_date` datetime DEFAULT NULL
`update_date`
datetime
DEFAULT
NULL
--
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
--
--
CREATE TABLE `demo_olympiad_gold_date` (
CREATE
TABLE
`demo_olympiad_gold_date`
(
--
`id` varchar(255) NOT NULL,
`id`
varchar
(
255
)
NOT
NULL
,
--
`datekey` varchar(255) DEFAULT NULL,
`datekey`
varchar
(
255
)
DEFAULT
NULL
,
--
`game` varchar(255) DEFAULT NULL,
`game`
varchar
(
255
)
DEFAULT
NULL
,
--
`qty` varchar(255) DEFAULT NULL,
`qty`
varchar
(
255
)
DEFAULT
NULL
,
--
PRIMARY KEY (`id`)
PRIMARY
KEY
(
`id`
)
--
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
--
--
CREATE TABLE `demo_olympiad_hot_game` (
CREATE
TABLE
`demo_olympiad_hot_game`
(
--
`code` varchar(255) NOT NULL,
`code`
varchar
(
255
)
NOT
NULL
,
--
`sort` varchar(255) DEFAULT NULL,
`sort`
varchar
(
255
)
DEFAULT
NULL
,
--
`name` varchar(255) DEFAULT NULL,
`name`
varchar
(
255
)
DEFAULT
NULL
,
--
PRIMARY KEY (`code`)
PRIMARY
KEY
(
`code`
)
--
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
--
CREATE TABLE `demo_olympiad_medal` (
CREATE
TABLE
`demo_olympiad_medal`
(
--
`code` int(11) NOT NULL,
`code`
int
(
11
)
NOT
NULL
,
--
`name` varchar(50) NOT NULL,
`name`
varchar
(
50
)
NOT
NULL
,
--
PRIMARY KEY (`code`)
PRIMARY
KEY
(
`code`
)
--
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
--
--
CREATE TABLE `demo_olympiad_medal_qty` (
CREATE
TABLE
`demo_olympiad_medal_qty`
(
--
`id` varchar(255) DEFAULT NULL,
`id`
varchar
(
255
)
DEFAULT
NULL
,
--
`country` varchar(255) DEFAULT NULL,
`country`
varchar
(
255
)
DEFAULT
NULL
,
--
`medal` varchar(255) DEFAULT NULL,
`medal`
varchar
(
255
)
DEFAULT
NULL
,
--
`qty` varchar(255) DEFAULT NULL
`qty`
varchar
(
255
)
DEFAULT
NULL
--
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
CREATE
TABLE
`demo_sales_dashboard`
(
CREATE
TABLE
`demo_sales_dashboard`
(
...
@@ -277,7 +277,6 @@ SET FOREIGN_KEY_CHECKS = 1;
...
@@ -277,7 +277,6 @@ SET FOREIGN_KEY_CHECKS = 1;
INSERT
INTO
`chart_group`
(
`id`
,
`name`
,
`pid`
,
`level`
,
`type`
,
`create_by`
,
`create_time`
)
VALUES
(
'3f551269-d985-4633-884d-d118704da2db'
,
'示例数据'
,
'0'
,
'0'
,
'group'
,
'admin'
,
'1628074869229'
);
INSERT
INTO
`chart_group`
(
`id`
,
`name`
,
`pid`
,
`level`
,
`type`
,
`create_by`
,
`create_time`
)
VALUES
(
'3f551269-d985-4633-884d-d118704da2db'
,
'示例数据'
,
'0'
,
'0'
,
'group'
,
'admin'
,
'1628074869229'
);
delete
from
chart_group
where
id
=
'5a8e8b0a-2f64-4d1b-aac1-d284b2b8436f'
;
delete
from
chart_group
where
id
=
'5a8e8b0a-2f64-4d1b-aac1-d284b2b8436f'
;
delete
from
chart_group
where
id
=
'4de97755-5d5a-4fe0-9af0-27601f967787'
;
delete
from
chart_group
where
id
=
'4de97755-5d5a-4fe0-9af0-27601f967787'
;
...
@@ -287,6 +286,8 @@ INSERT INTO `chart_group` (`id`, `name`, `pid`, `level`, `type`, `create_by`, `c
...
@@ -287,6 +286,8 @@ INSERT INTO `chart_group` (`id`, `name`, `pid`, `level`, `type`, `create_by`, `c
INSERT
INTO
`chart_group`
(
`id`
,
`name`
,
`pid`
,
`level`
,
`type`
,
`create_by`
,
`create_time`
)
VALUES
(
'4de97755-5d5a-4fe0-9af0-27601f967787'
,
'国内疫情分析'
,
'5a8e8b0a-2f64-4d1b-aac1-d284b2b8436f'
,
'1'
,
'group'
,
'admin'
,
'1623212597088'
);
INSERT
INTO
`chart_group`
(
`id`
,
`name`
,
`pid`
,
`level`
,
`type`
,
`create_by`
,
`create_time`
)
VALUES
(
'4de97755-5d5a-4fe0-9af0-27601f967787'
,
'国内疫情分析'
,
'5a8e8b0a-2f64-4d1b-aac1-d284b2b8436f'
,
'1'
,
'group'
,
'admin'
,
'1623212597088'
);
INSERT
INTO
`chart_view`
(
`id`
,
`name`
,
`scene_id`
,
`table_id`
,
`type`
,
`title`
,
`x_axis`
,
`y_axis`
,
`custom_attr`
,
`custom_style`
,
`custom_filter`
,
`create_by`
,
`create_time`
,
`update_time`
,
`style_priority`
)
VALUES
(
'0de1d446-8300-4ab3-a4ef-4e8f8579cb2e'
,
'中国金牌总数'
,
'bfa7d87f-c76f-4406-9f19-0adccb7c568d'
,
'44e5d4c4-e4da-4007-84af-ac5f58c0ed51'
,
'text'
,
'中国金牌总数'
,
'[{
\"
id
\"
:
\"
c5055c91-f768-46b1-b11f-19c9a47e4d12
\"
,
\"
tableId
\"
:
\"
44e5d4c4-e4da-4007-84af-ac5f58c0ed51
\"
,
\"
originName
\"
:
\"
update_date
\"
,
\"
name
\"
:
\"
update_date
\"
,
\"
dataeaseName
\"
:
\"
C_41747ca060fc704c1c3f7c0ebacde6e7
\"
,
\"
groupType
\"
:
\"
d
\"
,
\"
type
\"
:
\"
DATETIME
\"
,
\"
size
\"
:50,
\"
deType
\"
:1,
\"
deTypeFormat
\"
:null,
\"
deExtractType
\"
:1,
\"
extField
\"
:0,
\"
checked
\"
:true,
\"
columnIndex
\"
:0,
\"
lastSyncTime
\"
:1628142390856,
\"
dateStyle
\"
:
\"
y_M_d
\"
,
\"
datePattern
\"
:
\"
date_sub
\"
,
\"
sort
\"
:
\"
none
\"
,
\"
filter
\"
:[]}]'
,
'[]'
,
'{
\"
color
\"
:{
\"
value
\"
:
\"
default
\"
,
\"
colors
\"
:[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
],
\"
alpha
\"
:100,
\"
tableHeaderBgColor
\"
:
\"
#4e81bb
\"
,
\"
tableItemBgColor
\"
:
\"
#c6d9f0
\"
,
\"
tableFontColor
\"
:
\"
#000000
\"
,
\"
tableStripe
\"
:true,
\"
dimensionColor
\"
:
\"
#BEBEBD
\"
,
\"
quotaColor
\"
:
\"
#FFC125
\"
},
\"
tableColor
\"
:{
\"
value
\"
:
\"
default
\"
,
\"
colors
\"
:[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
],
\"
alpha
\"
:100,
\"
tableHeaderBgColor
\"
:
\"
#4e81bb
\"
,
\"
tableItemBgColor
\"
:
\"
#c6d9f0
\"
,
\"
tableFontColor
\"
:
\"
#000000
\"
,
\"
tableStripe
\"
:true,
\"
dimensionColor
\"
:
\"
#000000
\"
,
\"
quotaColor
\"
:
\"
#000000
\"
},
\"
size
\"
:{
\"
barDefault
\"
:true,
\"
barWidth
\"
:40,
\"
barGap
\"
:0.4,
\"
lineWidth
\"
:1,
\"
lineType
\"
:
\"
solid
\"
,
\"
lineSymbol
\"
:
\"
emptyCircle
\"
,
\"
lineSymbolSize
\"
:4,
\"
lineSmooth
\"
:false,
\"
lineArea
\"
:false,
\"
pieInnerRadius
\"
:0,
\"
pieOuterRadius
\"
:80,
\"
pieRoseType
\"
:
\"
radius
\"
,
\"
pieRoseRadius
\"
:5,
\"
funnelWidth
\"
:80,
\"
radarShape
\"
:
\"
polygon
\"
,
\"
tableTitleFontSize
\"
:12,
\"
tableItemFontSize
\"
:12,
\"
tableTitleHeight
\"
:36,
\"
tableItemHeight
\"
:36,
\"
gaugeMin
\"
:0,
\"
gaugeMax
\"
:100,
\"
gaugeStartAngle
\"
:225,
\"
gaugeEndAngle
\"
:-45,
\"
dimensionFontSize
\"
:
\"
14
\"
,
\"
quotaFontSize
\"
:
\"
28
\"
,
\"
spaceSplit
\"
:15,
\"
dimensionShow
\"
:true,
\"
quotaShow
\"
:true},
\"
label
\"
:{
\"
show
\"
:false,
\"
position
\"
:
\"
top
\"
,
\"
color
\"
:
\"
#909399
\"
,
\"
fontSize
\"
:
\"
10
\"
,
\"
formatter
\"
:
\"
{c}
\"
,
\"
gaugeFormatter
\"
:
\"
{value}
\"
,
\"
labelLine
\"
:{
\"
show
\"
:true}},
\"
tooltip
\"
:{
\"
show
\"
:true,
\"
trigger
\"
:
\"
item
\"
,
\"
confine
\"
:true,
\"
textStyle
\"
:{
\"
fontSize
\"
:
\"
10
\"
,
\"
color
\"
:
\"
#909399
\"
},
\"
formatter
\"
:
\"\"
}}'
,
'{
\"
text
\"
:{
\"
show
\"
:false,
\"
fontSize
\"
:
\"
18
\"
,
\"
color
\"
:
\"
#303133
\"
,
\"
hPosition
\"
:
\"
center
\"
,
\"
vPosition
\"
:
\"
top
\"
,
\"
isItalic
\"
:false,
\"
isBolder
\"
:false,
\"
title
\"
:
\"
中国金牌总数
\"
},
\"
legend
\"
:{
\"
show
\"
:true,
\"
hPosition
\"
:
\"
center
\"
,
\"
vPosition
\"
:
\"
bottom
\"
,
\"
orient
\"
:
\"
horizontal
\"
,
\"
icon
\"
:
\"
rect
\"
,
\"
textStyle
\"
:{
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:
\"
12
\"
}},
\"
xAxis
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
bottom
\"
,
\"
name
\"
:
\"\"
,
\"
nameTextStyle
\"
:{
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:12},
\"
axisLabel
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
rotate
\"
:0,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:false,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#cccccc
\"
,
\"
width
\"
:1,
\"
style
\"
:
\"
solid
\"
}}},
\"
yAxis
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
left
\"
,
\"
name
\"
:
\"\"
,
\"
nameTextStyle
\"
:{
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:12},
\"
axisLabel
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
rotate
\"
:0,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#cccccc
\"
,
\"
width
\"
:1,
\"
style
\"
:
\"
solid
\"
}}},
\"
background
\"
:{
\"
color
\"
:
\"
#ffffff
\"
,
\"
alpha
\"
:10},
\"
split
\"
:{
\"
name
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#999999
\"
,
\"
fontSize
\"
:
\"
12
\"
},
\"
splitNumber
\"
:5,
\"
axisLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
axisTick
\"
:{
\"
show
\"
:false,
\"
length
\"
:5,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
axisLabel
\"
:{
\"
show
\"
:false,
\"
rotate
\"
:0,
\"
margin
\"
:8,
\"
color
\"
:
\"
#999999
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
splitArea
\"
:{
\"
show
\"
:true}}}'
,
'[]'
,
'admin'
,
'1628127698484'
,
'1628142574715'
,
'view'
);
INSERT
INTO
`chart_view`
(
`id`
,
`name`
,
`scene_id`
,
`table_id`
,
`type`
,
`title`
,
`x_axis`
,
`y_axis`
,
`custom_attr`
,
`custom_style`
,
`custom_filter`
,
`create_by`
,
`create_time`
,
`update_time`
,
`style_priority`
)
VALUES
(
'0de1d446-8300-4ab3-a4ef-4e8f8579cb2e'
,
'中国金牌总数'
,
'bfa7d87f-c76f-4406-9f19-0adccb7c568d'
,
'44e5d4c4-e4da-4007-84af-ac5f58c0ed51'
,
'text'
,
'中国金牌总数'
,
'[{
\"
id
\"
:
\"
c5055c91-f768-46b1-b11f-19c9a47e4d12
\"
,
\"
tableId
\"
:
\"
44e5d4c4-e4da-4007-84af-ac5f58c0ed51
\"
,
\"
originName
\"
:
\"
update_date
\"
,
\"
name
\"
:
\"
update_date
\"
,
\"
dataeaseName
\"
:
\"
C_41747ca060fc704c1c3f7c0ebacde6e7
\"
,
\"
groupType
\"
:
\"
d
\"
,
\"
type
\"
:
\"
DATETIME
\"
,
\"
size
\"
:50,
\"
deType
\"
:1,
\"
deTypeFormat
\"
:null,
\"
deExtractType
\"
:1,
\"
extField
\"
:0,
\"
checked
\"
:true,
\"
columnIndex
\"
:0,
\"
lastSyncTime
\"
:1628142390856,
\"
dateStyle
\"
:
\"
y_M_d
\"
,
\"
datePattern
\"
:
\"
date_sub
\"
,
\"
sort
\"
:
\"
none
\"
,
\"
filter
\"
:[]}]'
,
'[]'
,
'{
\"
color
\"
:{
\"
value
\"
:
\"
default
\"
,
\"
colors
\"
:[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
],
\"
alpha
\"
:100,
\"
tableHeaderBgColor
\"
:
\"
#4e81bb
\"
,
\"
tableItemBgColor
\"
:
\"
#c6d9f0
\"
,
\"
tableFontColor
\"
:
\"
#000000
\"
,
\"
tableStripe
\"
:true,
\"
dimensionColor
\"
:
\"
#BEBEBD
\"
,
\"
quotaColor
\"
:
\"
#FFC125
\"
},
\"
tableColor
\"
:{
\"
value
\"
:
\"
default
\"
,
\"
colors
\"
:[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
],
\"
alpha
\"
:100,
\"
tableHeaderBgColor
\"
:
\"
#4e81bb
\"
,
\"
tableItemBgColor
\"
:
\"
#c6d9f0
\"
,
\"
tableFontColor
\"
:
\"
#000000
\"
,
\"
tableStripe
\"
:true,
\"
dimensionColor
\"
:
\"
#000000
\"
,
\"
quotaColor
\"
:
\"
#000000
\"
},
\"
size
\"
:{
\"
barDefault
\"
:true,
\"
barWidth
\"
:40,
\"
barGap
\"
:0.4,
\"
lineWidth
\"
:1,
\"
lineType
\"
:
\"
solid
\"
,
\"
lineSymbol
\"
:
\"
emptyCircle
\"
,
\"
lineSymbolSize
\"
:4,
\"
lineSmooth
\"
:false,
\"
lineArea
\"
:false,
\"
pieInnerRadius
\"
:0,
\"
pieOuterRadius
\"
:80,
\"
pieRoseType
\"
:
\"
radius
\"
,
\"
pieRoseRadius
\"
:5,
\"
funnelWidth
\"
:80,
\"
radarShape
\"
:
\"
polygon
\"
,
\"
tableTitleFontSize
\"
:12,
\"
tableItemFontSize
\"
:12,
\"
tableTitleHeight
\"
:36,
\"
tableItemHeight
\"
:36,
\"
gaugeMin
\"
:0,
\"
gaugeMax
\"
:100,
\"
gaugeStartAngle
\"
:225,
\"
gaugeEndAngle
\"
:-45,
\"
dimensionFontSize
\"
:
\"
14
\"
,
\"
quotaFontSize
\"
:
\"
28
\"
,
\"
spaceSplit
\"
:15,
\"
dimensionShow
\"
:true,
\"
quotaShow
\"
:true},
\"
label
\"
:{
\"
show
\"
:false,
\"
position
\"
:
\"
top
\"
,
\"
color
\"
:
\"
#909399
\"
,
\"
fontSize
\"
:
\"
10
\"
,
\"
formatter
\"
:
\"
{c}
\"
,
\"
gaugeFormatter
\"
:
\"
{value}
\"
,
\"
labelLine
\"
:{
\"
show
\"
:true}},
\"
tooltip
\"
:{
\"
show
\"
:true,
\"
trigger
\"
:
\"
item
\"
,
\"
confine
\"
:true,
\"
textStyle
\"
:{
\"
fontSize
\"
:
\"
10
\"
,
\"
color
\"
:
\"
#909399
\"
},
\"
formatter
\"
:
\"\"
}}'
,
'{
\"
text
\"
:{
\"
show
\"
:false,
\"
fontSize
\"
:
\"
18
\"
,
\"
color
\"
:
\"
#303133
\"
,
\"
hPosition
\"
:
\"
center
\"
,
\"
vPosition
\"
:
\"
top
\"
,
\"
isItalic
\"
:false,
\"
isBolder
\"
:false,
\"
title
\"
:
\"
中国金牌总数
\"
},
\"
legend
\"
:{
\"
show
\"
:true,
\"
hPosition
\"
:
\"
center
\"
,
\"
vPosition
\"
:
\"
bottom
\"
,
\"
orient
\"
:
\"
horizontal
\"
,
\"
icon
\"
:
\"
rect
\"
,
\"
textStyle
\"
:{
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:
\"
12
\"
}},
\"
xAxis
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
bottom
\"
,
\"
name
\"
:
\"\"
,
\"
nameTextStyle
\"
:{
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:12},
\"
axisLabel
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
rotate
\"
:0,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:false,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#cccccc
\"
,
\"
width
\"
:1,
\"
style
\"
:
\"
solid
\"
}}},
\"
yAxis
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
left
\"
,
\"
name
\"
:
\"\"
,
\"
nameTextStyle
\"
:{
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:12},
\"
axisLabel
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
rotate
\"
:0,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#cccccc
\"
,
\"
width
\"
:1,
\"
style
\"
:
\"
solid
\"
}}},
\"
background
\"
:{
\"
color
\"
:
\"
#ffffff
\"
,
\"
alpha
\"
:10},
\"
split
\"
:{
\"
name
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#999999
\"
,
\"
fontSize
\"
:
\"
12
\"
},
\"
splitNumber
\"
:5,
\"
axisLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
axisTick
\"
:{
\"
show
\"
:false,
\"
length
\"
:5,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
axisLabel
\"
:{
\"
show
\"
:false,
\"
rotate
\"
:0,
\"
margin
\"
:8,
\"
color
\"
:
\"
#999999
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
splitArea
\"
:{
\"
show
\"
:true}}}'
,
'[]'
,
'admin'
,
'1628127698484'
,
'1628142574715'
,
'view'
);
INSERT
INTO
`chart_view`
(
`id`
,
`name`
,
`scene_id`
,
`table_id`
,
`type`
,
`title`
,
`x_axis`
,
`y_axis`
,
`custom_attr`
,
`custom_style`
,
`custom_filter`
,
`create_by`
,
`create_time`
,
`update_time`
,
`style_priority`
)
VALUES
(
'11f03671-396a-49fe-8e2f-9c8213d64e73'
,
'新建视图'
,
'bfa7d87f-c76f-4406-9f19-0adccb7c568d'
,
'44e5d4c4-e4da-4007-84af-ac5f58c0ed51'
,
'bar'
,
'新建视图'
,
'[]'
,
'[]'
,
'{
\"
color
\"
:{
\"
value
\"
:
\"
default
\"
,
\"
colors
\"
:[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
],
\"
alpha
\"
:100,
\"
tableHeaderBgColor
\"
:
\"
#4e81bb
\"
,
\"
tableItemBgColor
\"
:
\"
#c6d9f0
\"
,
\"
tableFontColor
\"
:
\"
#000000
\"
,
\"
tableStripe
\"
:true,
\"
dimensionColor
\"
:
\"
#000000
\"
,
\"
quotaColor
\"
:
\"
#000000
\"
},
\"
tableColor
\"
:{
\"
value
\"
:
\"
default
\"
,
\"
colors
\"
:[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
],
\"
alpha
\"
:100,
\"
tableHeaderBgColor
\"
:
\"
#4e81bb
\"
,
\"
tableItemBgColor
\"
:
\"
#c6d9f0
\"
,
\"
tableFontColor
\"
:
\"
#000000
\"
,
\"
tableStripe
\"
:true,
\"
dimensionColor
\"
:
\"
#000000
\"
,
\"
quotaColor
\"
:
\"
#000000
\"
},
\"
size
\"
:{
\"
barDefault
\"
:true,
\"
barWidth
\"
:40,
\"
barGap
\"
:0.4,
\"
lineWidth
\"
:1,
\"
lineType
\"
:
\"
solid
\"
,
\"
lineSymbol
\"
:
\"
emptyCircle
\"
,
\"
lineSymbolSize
\"
:4,
\"
lineSmooth
\"
:false,
\"
lineArea
\"
:false,
\"
pieInnerRadius
\"
:0,
\"
pieOuterRadius
\"
:80,
\"
pieRoseType
\"
:
\"
radius
\"
,
\"
pieRoseRadius
\"
:5,
\"
funnelWidth
\"
:80,
\"
radarShape
\"
:
\"
polygon
\"
,
\"
tableTitleFontSize
\"
:12,
\"
tableItemFontSize
\"
:12,
\"
tableTitleHeight
\"
:36,
\"
tableItemHeight
\"
:36,
\"
gaugeMin
\"
:0,
\"
gaugeMax
\"
:100,
\"
gaugeStartAngle
\"
:225,
\"
gaugeEndAngle
\"
:-45,
\"
dimensionFontSize
\"
:18,
\"
quotaFontSize
\"
:18,
\"
spaceSplit
\"
:10,
\"
dimensionShow
\"
:true,
\"
quotaShow
\"
:true},
\"
label
\"
:{
\"
show
\"
:false,
\"
position
\"
:
\"
top
\"
,
\"
color
\"
:
\"
#909399
\"
,
\"
fontSize
\"
:
\"
10
\"
,
\"
formatter
\"
:
\"
{c}
\"
,
\"
gaugeFormatter
\"
:
\"
{value}
\"
,
\"
labelLine
\"
:{
\"
show
\"
:true}},
\"
tooltip
\"
:{
\"
show
\"
:true,
\"
trigger
\"
:
\"
item
\"
,
\"
confine
\"
:true,
\"
textStyle
\"
:{
\"
fontSize
\"
:
\"
10
\"
,
\"
color
\"
:
\"
#909399
\"
},
\"
formatter
\"
:
\"\"
}}'
,
'{
\"
text
\"
:{
\"
show
\"
:true,
\"
fontSize
\"
:
\"
18
\"
,
\"
color
\"
:
\"
#303133
\"
,
\"
hPosition
\"
:
\"
center
\"
,
\"
vPosition
\"
:
\"
top
\"
,
\"
isItalic
\"
:false,
\"
isBolder
\"
:false},
\"
legend
\"
:{
\"
show
\"
:true,
\"
hPosition
\"
:
\"
center
\"
,
\"
vPosition
\"
:
\"
bottom
\"
,
\"
orient
\"
:
\"
horizontal
\"
,
\"
icon
\"
:
\"
rect
\"
,
\"
textStyle
\"
:{
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:
\"
12
\"
}},
\"
xAxis
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
bottom
\"
,
\"
name
\"
:
\"\"
,
\"
nameTextStyle
\"
:{
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:12},
\"
axisLabel
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
rotate
\"
:0,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:false,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#cccccc
\"
,
\"
width
\"
:1,
\"
style
\"
:
\"
solid
\"
}}},
\"
yAxis
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
left
\"
,
\"
name
\"
:
\"\"
,
\"
nameTextStyle
\"
:{
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:12},
\"
axisLabel
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
rotate
\"
:0,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#cccccc
\"
,
\"
width
\"
:1,
\"
style
\"
:
\"
solid
\"
}}},
\"
background
\"
:{
\"
color
\"
:
\"
#ffffff
\"
,
\"
alpha
\"
:0},
\"
split
\"
:{
\"
name
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#999999
\"
,
\"
fontSize
\"
:
\"
12
\"
},
\"
splitNumber
\"
:5,
\"
axisLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
axisTick
\"
:{
\"
show
\"
:false,
\"
length
\"
:5,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
axisLabel
\"
:{
\"
show
\"
:false,
\"
rotate
\"
:0,
\"
margin
\"
:8,
\"
color
\"
:
\"
#999999
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
splitArea
\"
:{
\"
show
\"
:true}}}'
,
'[]'
,
'admin'
,
'1628147676596'
,
'1628147691189'
,
'panel'
);
INSERT
INTO
`chart_view`
(
`id`
,
`name`
,
`scene_id`
,
`table_id`
,
`type`
,
`title`
,
`x_axis`
,
`y_axis`
,
`custom_attr`
,
`custom_style`
,
`custom_filter`
,
`create_by`
,
`create_time`
,
`update_time`
,
`style_priority`
)
VALUES
(
'11f03671-396a-49fe-8e2f-9c8213d64e73'
,
'新建视图'
,
'bfa7d87f-c76f-4406-9f19-0adccb7c568d'
,
'44e5d4c4-e4da-4007-84af-ac5f58c0ed51'
,
'bar'
,
'新建视图'
,
'[]'
,
'[]'
,
'{
\"
color
\"
:{
\"
value
\"
:
\"
default
\"
,
\"
colors
\"
:[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
],
\"
alpha
\"
:100,
\"
tableHeaderBgColor
\"
:
\"
#4e81bb
\"
,
\"
tableItemBgColor
\"
:
\"
#c6d9f0
\"
,
\"
tableFontColor
\"
:
\"
#000000
\"
,
\"
tableStripe
\"
:true,
\"
dimensionColor
\"
:
\"
#000000
\"
,
\"
quotaColor
\"
:
\"
#000000
\"
},
\"
tableColor
\"
:{
\"
value
\"
:
\"
default
\"
,
\"
colors
\"
:[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
],
\"
alpha
\"
:100,
\"
tableHeaderBgColor
\"
:
\"
#4e81bb
\"
,
\"
tableItemBgColor
\"
:
\"
#c6d9f0
\"
,
\"
tableFontColor
\"
:
\"
#000000
\"
,
\"
tableStripe
\"
:true,
\"
dimensionColor
\"
:
\"
#000000
\"
,
\"
quotaColor
\"
:
\"
#000000
\"
},
\"
size
\"
:{
\"
barDefault
\"
:true,
\"
barWidth
\"
:40,
\"
barGap
\"
:0.4,
\"
lineWidth
\"
:1,
\"
lineType
\"
:
\"
solid
\"
,
\"
lineSymbol
\"
:
\"
emptyCircle
\"
,
\"
lineSymbolSize
\"
:4,
\"
lineSmooth
\"
:false,
\"
lineArea
\"
:false,
\"
pieInnerRadius
\"
:0,
\"
pieOuterRadius
\"
:80,
\"
pieRoseType
\"
:
\"
radius
\"
,
\"
pieRoseRadius
\"
:5,
\"
funnelWidth
\"
:80,
\"
radarShape
\"
:
\"
polygon
\"
,
\"
tableTitleFontSize
\"
:12,
\"
tableItemFontSize
\"
:12,
\"
tableTitleHeight
\"
:36,
\"
tableItemHeight
\"
:36,
\"
gaugeMin
\"
:0,
\"
gaugeMax
\"
:100,
\"
gaugeStartAngle
\"
:225,
\"
gaugeEndAngle
\"
:-45,
\"
dimensionFontSize
\"
:18,
\"
quotaFontSize
\"
:18,
\"
spaceSplit
\"
:10,
\"
dimensionShow
\"
:true,
\"
quotaShow
\"
:true},
\"
label
\"
:{
\"
show
\"
:false,
\"
position
\"
:
\"
top
\"
,
\"
color
\"
:
\"
#909399
\"
,
\"
fontSize
\"
:
\"
10
\"
,
\"
formatter
\"
:
\"
{c}
\"
,
\"
gaugeFormatter
\"
:
\"
{value}
\"
,
\"
labelLine
\"
:{
\"
show
\"
:true}},
\"
tooltip
\"
:{
\"
show
\"
:true,
\"
trigger
\"
:
\"
item
\"
,
\"
confine
\"
:true,
\"
textStyle
\"
:{
\"
fontSize
\"
:
\"
10
\"
,
\"
color
\"
:
\"
#909399
\"
},
\"
formatter
\"
:
\"\"
}}'
,
'{
\"
text
\"
:{
\"
show
\"
:true,
\"
fontSize
\"
:
\"
18
\"
,
\"
color
\"
:
\"
#303133
\"
,
\"
hPosition
\"
:
\"
center
\"
,
\"
vPosition
\"
:
\"
top
\"
,
\"
isItalic
\"
:false,
\"
isBolder
\"
:false},
\"
legend
\"
:{
\"
show
\"
:true,
\"
hPosition
\"
:
\"
center
\"
,
\"
vPosition
\"
:
\"
bottom
\"
,
\"
orient
\"
:
\"
horizontal
\"
,
\"
icon
\"
:
\"
rect
\"
,
\"
textStyle
\"
:{
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:
\"
12
\"
}},
\"
xAxis
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
bottom
\"
,
\"
name
\"
:
\"\"
,
\"
nameTextStyle
\"
:{
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:12},
\"
axisLabel
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
rotate
\"
:0,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:false,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#cccccc
\"
,
\"
width
\"
:1,
\"
style
\"
:
\"
solid
\"
}}},
\"
yAxis
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
left
\"
,
\"
name
\"
:
\"\"
,
\"
nameTextStyle
\"
:{
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:12},
\"
axisLabel
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#333333
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
rotate
\"
:0,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#cccccc
\"
,
\"
width
\"
:1,
\"
style
\"
:
\"
solid
\"
}}},
\"
background
\"
:{
\"
color
\"
:
\"
#ffffff
\"
,
\"
alpha
\"
:0},
\"
split
\"
:{
\"
name
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#999999
\"
,
\"
fontSize
\"
:
\"
12
\"
},
\"
splitNumber
\"
:5,
\"
axisLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
axisTick
\"
:{
\"
show
\"
:false,
\"
length
\"
:5,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
axisLabel
\"
:{
\"
show
\"
:false,
\"
rotate
\"
:0,
\"
margin
\"
:8,
\"
color
\"
:
\"
#999999
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
splitArea
\"
:{
\"
show
\"
:true}}}'
,
'[]'
,
'admin'
,
'1628147676596'
,
'1628147691189'
,
'panel'
);
INSERT
INTO
`chart_view`
(
`id`
,
`name`
,
`scene_id`
,
`table_id`
,
`type`
,
`title`
,
`x_axis`
,
`y_axis`
,
`custom_attr`
,
`custom_style`
,
`custom_filter`
,
`create_by`
,
`create_time`
,
`update_time`
,
`style_priority`
)
VALUES
(
'137c71f2-d570-477b-a862-28e344915aec'
,
'总奖牌榜'
,
'bfa7d87f-c76f-4406-9f19-0adccb7c568d'
,
'9c7b85bc-2c84-41f8-9051-f4b093a5cffc'
,
'bar-horizontal'
,
'总奖牌榜'
,
'[{
\"
id
\"
:
\"
a0cc4ac5-709a-43a6-92a2-308c3392c1fb
\"
,
\"
tableId
\"
:
\"
9c7b85bc-2c84-41f8-9051-f4b093a5cffc
\"
,
\"
originName
\"
:
\"
name
\"
,
\"
name
\"
:
\"
name
\"
,
\"
dataeaseName
\"
:
\"
C_b068931cc450442b63f5b3d276ea4297
\"
,
\"
groupType
\"
:
\"
d
\"
,
\"
type
\"
:
\"
VARCHAR
\"
,
\"
size
\"
:255,
\"
deType
\"
:0,
\"
deTypeFormat
\"
:null,
\"
deExtractType
\"
:0,
\"
extField
\"
:0,
\"
checked
\"
:true,
\"
columnIndex
\"
:2,
\"
lastSyncTime
\"
:1628071572399,
\"
dateStyle
\"
:
\"
y_M_d
\"
,
\"
datePattern
\"
:
\"
date_sub
\"
,
\"
sort
\"
:
\"
none
\"
,
\"
filter
\"
:[]}]'
,
'[{
\"
id
\"
:
\"
32504142-f44c-429a-939f-c8becc8d8553
\"
,
\"
tableId
\"
:
\"
9c7b85bc-2c84-41f8-9051-f4b093a5cffc
\"
,
\"
originName
\"
:
\"
sort
\"
,
\"
name
\"
:
\"
sort
\"
,
\"
dataeaseName
\"
:
\"
C_cadc8c8db42409733582cb3e2298ef87
\"
,
\"
groupType
\"
:
\"
q
\"
,
\"
type
\"
:
\"
VARCHAR
\"
,
\"
size
\"
:255,
\"
deType
\"
:2,
\"
deTypeFormat
\"
:null,
\"
deExtractType
\"
:0,
\"
extField
\"
:0,
\"
checked
\"
:true,
\"
columnIndex
\"
:1,
\"
lastSyncTime
\"
:1628071572399,
\"
summary
\"
:
\"
sum
\"
,
\"
sort
\"
:
\"
none
\"
,
\"
filter
\"
:[]}]'
,
'{
\"
color
\"
:{
\"
value
\"
:
\"
default
\"
,
\"
colors
\"
:[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
],
\"
alpha
\"
:100,
\"
tableHeaderBgColor
\"
:
\"
#4e81bb
\"
,
\"
tableItemBgColor
\"
:
\"
#c6d9f0
\"
,
\"
tableFontColor
\"
:
\"
#000000
\"
,
\"
tableStripe
\"
:true,
\"
dimensionColor
\"
:
\"
#000000
\"
,
\"
quotaColor
\"
:
\"
#000000
\"
},
\"
tableColor
\"
:{
\"
value
\"
:
\"
default
\"
,
\"
colors
\"
:[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
],
\"
alpha
\"
:100,
\"
tableHeaderBgColor
\"
:
\"
#4e81bb
\"
,
\"
tableItemBgColor
\"
:
\"
#c6d9f0
\"
,
\"
tableFontColor
\"
:
\"
#000000
\"
,
\"
tableStripe
\"
:true,
\"
dimensionColor
\"
:
\"
#000000
\"
,
\"
quotaColor
\"
:
\"
#000000
\"
},
\"
size
\"
:{
\"
barDefault
\"
:false,
\"
barWidth
\"
:10,
\"
barGap
\"
:0.4,
\"
lineWidth
\"
:1,
\"
lineType
\"
:
\"
solid
\"
,
\"
lineSymbol
\"
:
\"
emptyCircle
\"
,
\"
lineSymbolSize
\"
:4,
\"
lineSmooth
\"
:false,
\"
lineArea
\"
:false,
\"
pieInnerRadius
\"
:0,
\"
pieOuterRadius
\"
:80,
\"
pieRoseType
\"
:
\"
radius
\"
,
\"
pieRoseRadius
\"
:5,
\"
funnelWidth
\"
:80,
\"
radarShape
\"
:
\"
polygon
\"
,
\"
tableTitleFontSize
\"
:12,
\"
tableItemFontSize
\"
:12,
\"
tableTitleHeight
\"
:36,
\"
tableItemHeight
\"
:36,
\"
gaugeMin
\"
:0,
\"
gaugeMax
\"
:100,
\"
gaugeStartAngle
\"
:225,
\"
gaugeEndAngle
\"
:-45,
\"
dimensionFontSize
\"
:18,
\"
quotaFontSize
\"
:18,
\"
spaceSplit
\"
:10,
\"
dimensionShow
\"
:true,
\"
quotaShow
\"
:true},
\"
label
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
right
\"
,
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
fontSize
\"
:
\"
10
\"
,
\"
formatter
\"
:
\"
{c}
\"
,
\"
gaugeFormatter
\"
:
\"
{value}
\"
,
\"
labelLine
\"
:{
\"
show
\"
:true}},
\"
tooltip
\"
:{
\"
show
\"
:true,
\"
trigger
\"
:
\"
item
\"
,
\"
confine
\"
:true,
\"
textStyle
\"
:{
\"
fontSize
\"
:
\"
10
\"
,
\"
color
\"
:
\"
#909399
\"
},
\"
formatter
\"
:
\"\"
}}'
,
'{
\"
text
\"
:{
\"
show
\"
:true,
\"
fontSize
\"
:
\"
16
\"
,
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
hPosition
\"
:
\"
center
\"
,
\"
vPosition
\"
:
\"
top
\"
,
\"
isItalic
\"
:false,
\"
isBolder
\"
:false,
\"
title
\"
:
\"
总奖牌榜1
\"
},
\"
legend
\"
:{
\"
show
\"
:true,
\"
hPosition
\"
:
\"
center
\"
,
\"
vPosition
\"
:
\"
bottom
\"
,
\"
orient
\"
:
\"
horizontal
\"
,
\"
icon
\"
:
\"
rect
\"
,
\"
textStyle
\"
:{
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
fontSize
\"
:
\"
12
\"
}},
\"
xAxis
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
bottom
\"
,
\"
name
\"
:
\"\"
,
\"
nameTextStyle
\"
:{
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
fontSize
\"
:
\"
10
\"
},
\"
axisLabel
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
fontSize
\"
:
\"
10
\"
,
\"
rotate
\"
:0,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:false,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#cccccc
\"
,
\"
width
\"
:1,
\"
style
\"
:
\"
solid
\"
}}},
\"
yAxis
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
left
\"
,
\"
name
\"
:
\"\"
,
\"
nameTextStyle
\"
:{
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
fontSize
\"
:12},
\"
axisLabel
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
fontSize
\"
:
\"
10
\"
,
\"
rotate
\"
:0,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:false,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#4D4B4B
\"
,
\"
width
\"
:1,
\"
style
\"
:
\"
solid
\"
}}},
\"
background
\"
:{
\"
color
\"
:
\"
#ffffff
\"
,
\"
alpha
\"
:0},
\"
split
\"
:{
\"
name
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#999999
\"
,
\"
fontSize
\"
:
\"
12
\"
},
\"
splitNumber
\"
:5,
\"
axisLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
axisTick
\"
:{
\"
show
\"
:false,
\"
length
\"
:5,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
axisLabel
\"
:{
\"
show
\"
:false,
\"
rotate
\"
:0,
\"
margin
\"
:8,
\"
color
\"
:
\"
#999999
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
splitArea
\"
:{
\"
show
\"
:true}}}'
,
'[]'
,
'admin'
,
'1628129923009'
,
'1628134190477'
,
'panel'
);
INSERT
INTO
`chart_view`
(
`id`
,
`name`
,
`scene_id`
,
`table_id`
,
`type`
,
`title`
,
`x_axis`
,
`y_axis`
,
`custom_attr`
,
`custom_style`
,
`custom_filter`
,
`create_by`
,
`create_time`
,
`update_time`
,
`style_priority`
)
VALUES
(
'137c71f2-d570-477b-a862-28e344915aec'
,
'总奖牌榜'
,
'bfa7d87f-c76f-4406-9f19-0adccb7c568d'
,
'9c7b85bc-2c84-41f8-9051-f4b093a5cffc'
,
'bar-horizontal'
,
'总奖牌榜'
,
'[{
\"
id
\"
:
\"
a0cc4ac5-709a-43a6-92a2-308c3392c1fb
\"
,
\"
tableId
\"
:
\"
9c7b85bc-2c84-41f8-9051-f4b093a5cffc
\"
,
\"
originName
\"
:
\"
name
\"
,
\"
name
\"
:
\"
name
\"
,
\"
dataeaseName
\"
:
\"
C_b068931cc450442b63f5b3d276ea4297
\"
,
\"
groupType
\"
:
\"
d
\"
,
\"
type
\"
:
\"
VARCHAR
\"
,
\"
size
\"
:255,
\"
deType
\"
:0,
\"
deTypeFormat
\"
:null,
\"
deExtractType
\"
:0,
\"
extField
\"
:0,
\"
checked
\"
:true,
\"
columnIndex
\"
:2,
\"
lastSyncTime
\"
:1628071572399,
\"
dateStyle
\"
:
\"
y_M_d
\"
,
\"
datePattern
\"
:
\"
date_sub
\"
,
\"
sort
\"
:
\"
none
\"
,
\"
filter
\"
:[]}]'
,
'[{
\"
id
\"
:
\"
32504142-f44c-429a-939f-c8becc8d8553
\"
,
\"
tableId
\"
:
\"
9c7b85bc-2c84-41f8-9051-f4b093a5cffc
\"
,
\"
originName
\"
:
\"
sort
\"
,
\"
name
\"
:
\"
sort
\"
,
\"
dataeaseName
\"
:
\"
C_cadc8c8db42409733582cb3e2298ef87
\"
,
\"
groupType
\"
:
\"
q
\"
,
\"
type
\"
:
\"
VARCHAR
\"
,
\"
size
\"
:255,
\"
deType
\"
:2,
\"
deTypeFormat
\"
:null,
\"
deExtractType
\"
:0,
\"
extField
\"
:0,
\"
checked
\"
:true,
\"
columnIndex
\"
:1,
\"
lastSyncTime
\"
:1628071572399,
\"
summary
\"
:
\"
sum
\"
,
\"
sort
\"
:
\"
none
\"
,
\"
filter
\"
:[]}]'
,
'{
\"
color
\"
:{
\"
value
\"
:
\"
default
\"
,
\"
colors
\"
:[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
],
\"
alpha
\"
:100,
\"
tableHeaderBgColor
\"
:
\"
#4e81bb
\"
,
\"
tableItemBgColor
\"
:
\"
#c6d9f0
\"
,
\"
tableFontColor
\"
:
\"
#000000
\"
,
\"
tableStripe
\"
:true,
\"
dimensionColor
\"
:
\"
#000000
\"
,
\"
quotaColor
\"
:
\"
#000000
\"
},
\"
tableColor
\"
:{
\"
value
\"
:
\"
default
\"
,
\"
colors
\"
:[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
],
\"
alpha
\"
:100,
\"
tableHeaderBgColor
\"
:
\"
#4e81bb
\"
,
\"
tableItemBgColor
\"
:
\"
#c6d9f0
\"
,
\"
tableFontColor
\"
:
\"
#000000
\"
,
\"
tableStripe
\"
:true,
\"
dimensionColor
\"
:
\"
#000000
\"
,
\"
quotaColor
\"
:
\"
#000000
\"
},
\"
size
\"
:{
\"
barDefault
\"
:false,
\"
barWidth
\"
:10,
\"
barGap
\"
:0.4,
\"
lineWidth
\"
:1,
\"
lineType
\"
:
\"
solid
\"
,
\"
lineSymbol
\"
:
\"
emptyCircle
\"
,
\"
lineSymbolSize
\"
:4,
\"
lineSmooth
\"
:false,
\"
lineArea
\"
:false,
\"
pieInnerRadius
\"
:0,
\"
pieOuterRadius
\"
:80,
\"
pieRoseType
\"
:
\"
radius
\"
,
\"
pieRoseRadius
\"
:5,
\"
funnelWidth
\"
:80,
\"
radarShape
\"
:
\"
polygon
\"
,
\"
tableTitleFontSize
\"
:12,
\"
tableItemFontSize
\"
:12,
\"
tableTitleHeight
\"
:36,
\"
tableItemHeight
\"
:36,
\"
gaugeMin
\"
:0,
\"
gaugeMax
\"
:100,
\"
gaugeStartAngle
\"
:225,
\"
gaugeEndAngle
\"
:-45,
\"
dimensionFontSize
\"
:18,
\"
quotaFontSize
\"
:18,
\"
spaceSplit
\"
:10,
\"
dimensionShow
\"
:true,
\"
quotaShow
\"
:true},
\"
label
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
right
\"
,
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
fontSize
\"
:
\"
10
\"
,
\"
formatter
\"
:
\"
{c}
\"
,
\"
gaugeFormatter
\"
:
\"
{value}
\"
,
\"
labelLine
\"
:{
\"
show
\"
:true}},
\"
tooltip
\"
:{
\"
show
\"
:true,
\"
trigger
\"
:
\"
item
\"
,
\"
confine
\"
:true,
\"
textStyle
\"
:{
\"
fontSize
\"
:
\"
10
\"
,
\"
color
\"
:
\"
#909399
\"
},
\"
formatter
\"
:
\"\"
}}'
,
'{
\"
text
\"
:{
\"
show
\"
:true,
\"
fontSize
\"
:
\"
16
\"
,
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
hPosition
\"
:
\"
center
\"
,
\"
vPosition
\"
:
\"
top
\"
,
\"
isItalic
\"
:false,
\"
isBolder
\"
:false,
\"
title
\"
:
\"
总奖牌榜1
\"
},
\"
legend
\"
:{
\"
show
\"
:true,
\"
hPosition
\"
:
\"
center
\"
,
\"
vPosition
\"
:
\"
bottom
\"
,
\"
orient
\"
:
\"
horizontal
\"
,
\"
icon
\"
:
\"
rect
\"
,
\"
textStyle
\"
:{
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
fontSize
\"
:
\"
12
\"
}},
\"
xAxis
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
bottom
\"
,
\"
name
\"
:
\"\"
,
\"
nameTextStyle
\"
:{
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
fontSize
\"
:
\"
10
\"
},
\"
axisLabel
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
fontSize
\"
:
\"
10
\"
,
\"
rotate
\"
:0,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:false,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#cccccc
\"
,
\"
width
\"
:1,
\"
style
\"
:
\"
solid
\"
}}},
\"
yAxis
\"
:{
\"
show
\"
:true,
\"
position
\"
:
\"
left
\"
,
\"
name
\"
:
\"\"
,
\"
nameTextStyle
\"
:{
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
fontSize
\"
:12},
\"
axisLabel
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#FFFFFF
\"
,
\"
fontSize
\"
:
\"
10
\"
,
\"
rotate
\"
:0,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:false,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#4D4B4B
\"
,
\"
width
\"
:1,
\"
style
\"
:
\"
solid
\"
}}},
\"
background
\"
:{
\"
color
\"
:
\"
#ffffff
\"
,
\"
alpha
\"
:0},
\"
split
\"
:{
\"
name
\"
:{
\"
show
\"
:true,
\"
color
\"
:
\"
#999999
\"
,
\"
fontSize
\"
:
\"
12
\"
},
\"
splitNumber
\"
:5,
\"
axisLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
axisTick
\"
:{
\"
show
\"
:false,
\"
length
\"
:5,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
axisLabel
\"
:{
\"
show
\"
:false,
\"
rotate
\"
:0,
\"
margin
\"
:8,
\"
color
\"
:
\"
#999999
\"
,
\"
fontSize
\"
:
\"
12
\"
,
\"
formatter
\"
:
\"
{value}
\"
},
\"
splitLine
\"
:{
\"
show
\"
:true,
\"
lineStyle
\"
:{
\"
color
\"
:
\"
#999999
\"
,
\"
width
\"
:1,
\"
type
\"
:
\"
solid
\"
}},
\"
splitArea
\"
:{
\"
show
\"
:true}}}'
,
'[]'
,
'admin'
,
'1628129923009'
,
'1628134190477'
,
'panel'
);
frontend/src/views/panel/list/PanelList.vue
浏览文件 @
d77aa35d
...
@@ -463,6 +463,7 @@ export default {
...
@@ -463,6 +463,7 @@ export default {
message
:
this
.
$t
(
'panel.delete_success'
),
message
:
this
.
$t
(
'panel.delete_success'
),
showClose
:
true
showClose
:
true
})
})
this
.
clearCanvas
()
this
.
tree
(
this
.
groupForm
)
this
.
tree
(
this
.
groupForm
)
this
.
defaultTree
()
this
.
defaultTree
()
})
})
...
@@ -470,6 +471,17 @@ export default {
...
@@ -470,6 +471,17 @@ export default {
})
})
},
},
clearCanvas
()
{
// 清空当前缓存,快照
this
.
$store
.
commit
(
'setComponentData'
,
[])
this
.
$store
.
commit
(
'setCanvasStyle'
,
DEFAULT_COMMON_CANVAS_STYLE_STRING
)
this
.
$store
.
dispatch
(
'panel/setPanelInfo'
,
{
id
:
null
,
name
:
''
,
preStyle
:
null
})
},
close
()
{
close
()
{
this
.
editGroup
=
false
this
.
editGroup
=
false
this
.
groupForm
=
{
this
.
groupForm
=
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论