Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
25f81b5b
提交
25f81b5b
authored
9月 22, 2023
作者:
龚洪江
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复:数据看板样式调整
上级
4b1679c2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
25 行删除
+5
-25
index.scss
src/pages/dataDashboards/components/joinInfo/index.scss
+3
-3
index.tsx
src/pages/dataDashboards/components/tradeInfo/index.tsx
+2
-22
没有找到文件。
src/pages/dataDashboards/components/joinInfo/index.scss
浏览文件 @
25f81b5b
...
@@ -61,7 +61,7 @@ $design_height:856;
...
@@ -61,7 +61,7 @@ $design_height:856;
}
}
.card-progress
{
.card-progress
{
padding
:
0
40px
0
39px
;
padding
-left
:
39px
;
margin-bottom
:
19px
;
margin-bottom
:
19px
;
.progress-item
{
.progress-item
{
display
:
flex
;
display
:
flex
;
...
@@ -73,7 +73,7 @@ $design_height:856;
...
@@ -73,7 +73,7 @@ $design_height:856;
}
}
&
-info
{
&
-info
{
flex
:
1
;
flex
:
1
;
margin
:
0
36
px
0
24px
;
margin
:
0
10
px
0
24px
;
}
}
}
}
}
}
...
@@ -92,7 +92,7 @@ $design_height:856;
...
@@ -92,7 +92,7 @@ $design_height:856;
font-size
:
1
.67rem
;
font-size
:
1
.67rem
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#000000
;
color
:
#000000
;
margin-bottom
:
5
px
;
line-height
:
24
px
;
text-align
:
center
;
text-align
:
center
;
}
}
}
}
...
...
src/pages/dataDashboards/components/tradeInfo/index.tsx
浏览文件 @
25f81b5b
...
@@ -15,7 +15,7 @@ const TradeInfo = () => {
...
@@ -15,7 +15,7 @@ const TradeInfo = () => {
[],
[],
);
);
// 初始化柱状图
// 初始化柱状图
const
initEchartsBar
=
(
total
OrderCount
:
number
[],
total
PriceCount
:
number
[])
=>
{
const
initEchartsBar
=
(
totalPriceCount
:
number
[])
=>
{
const
myChart
=
echarts
.
init
(
document
.
getElementById
(
'histogram'
));
const
myChart
=
echarts
.
init
(
document
.
getElementById
(
'histogram'
));
myChart
.
setOption
({
myChart
.
setOption
({
legend
:
{
legend
:
{
...
@@ -23,10 +23,6 @@ const TradeInfo = () => {
...
@@ -23,10 +23,6 @@ const TradeInfo = () => {
top
:
0
,
top
:
0
,
data
:
[
data
:
[
{
{
name
:
'总订单数'
,
icon
:
'pin'
,
},
{
name
:
'总交易额'
,
name
:
'总交易额'
,
icon
:
'pin'
,
icon
:
'pin'
,
},
},
...
@@ -42,19 +38,6 @@ const TradeInfo = () => {
...
@@ -42,19 +38,6 @@ const TradeInfo = () => {
yAxis
:
{},
yAxis
:
{},
series
:
[
series
:
[
{
{
name
:
'总订单数'
,
type
:
'bar'
,
data
:
totalOrderCount
,
barWidth
:
'13'
,
itemStyle
:
{
barBorderRadius
:
[
7
,
7
,
0
,
0
],
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[
{
offset
:
0
,
color
:
'#0B7CFE'
},
{
offset
:
1
,
color
:
'#FFFFFF'
},
]),
},
},
{
name
:
'总交易额'
,
name
:
'总交易额'
,
type
:
'bar'
,
type
:
'bar'
,
data
:
totalPriceCount
,
data
:
totalPriceCount
,
...
@@ -78,10 +61,7 @@ const TradeInfo = () => {
...
@@ -78,10 +61,7 @@ const TradeInfo = () => {
DataDashboardsAPI
.
getOrderReportData
().
then
(({
result
})
=>
{
DataDashboardsAPI
.
getOrderReportData
().
then
(({
result
})
=>
{
if
(
result
)
{
if
(
result
)
{
setOrderData
(
result
);
setOrderData
(
result
);
initEchartsBar
(
initEchartsBar
([
result
.
saleOrderCount
,
result
.
leaseOrderCount
,
result
.
serviceOrderCount
]);
[
result
.
saleOrderCount
,
result
.
leaseOrderCount
,
result
.
serviceOrderCount
],
[
result
.
saleGMV
,
result
.
leaseGMV
,
result
.
serviceGMV
],
);
setTableData
([
setTableData
([
{
{
label
:
'商城售卖'
,
label
:
'商城售卖'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论