Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘怀志
pet-business-web
Commits
baa77f0b
Commit
baa77f0b
authored
Aug 04, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据统计-UI修改
parent
9ed50b9d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
78 additions
and
98 deletions
+78
-98
china-map-bigger.vue
...ws/data-statistics/echars-components/china-map-bigger.vue
+1
-1
columnarChart.vue
...views/data-statistics/echars-components/columnarChart.vue
+5
-3
crosswiseColumnarChart.vue
...a-statistics/echars-components/crosswiseColumnarChart.vue
+2
-1
hospital-data-statistics.vue
...ics/hospital-data-statistics/hospital-data-statistics.vue
+10
-3
emptyTool.vue
src/views/data-statistics/other-components/emptyTool.vue
+2
-2
pet-data-statistics.vue
...ta-statistics/pet-data-statistics/pet-data-statistics.vue
+29
-72
service-statistics.vue
...data-statistics/service-statistics/service-statistics.vue
+29
-16
No files found.
src/views/data-statistics/echars-components/china-map-bigger.vue
View file @
baa77f0b
...
@@ -202,7 +202,7 @@ export default {
...
@@ -202,7 +202,7 @@ export default {
<
style
scoped
>
<
style
scoped
>
.chinaecharts
{
.chinaecharts
{
width
:
100%
;
width
:
100%
;
height
:
6
73
px
;
height
:
6
65
px
;
/*background-color: #333;*/
/*background-color: #333;*/
}
}
</
style
>
</
style
>
src/views/data-statistics/echars-components/columnarChart.vue
View file @
baa77f0b
...
@@ -49,9 +49,11 @@ export default {
...
@@ -49,9 +49,11 @@ export default {
}
}
},
},
grid
:
{
grid
:
{
x
:
50
,
left
:
'3%'
,
x2
:
10
,
top
:
'14%'
,
y2
:
40
right
:
'6%'
,
bottom
:
'8%'
,
containLabel
:
true
},
},
xAxis
:
{
xAxis
:
{
type
:
'category'
,
type
:
'category'
,
...
...
src/views/data-statistics/echars-components/crosswiseColumnarChart.vue
View file @
baa77f0b
...
@@ -46,8 +46,9 @@ export default {
...
@@ -46,8 +46,9 @@ export default {
},
},
grid
:
{
grid
:
{
left
:
'3%'
,
left
:
'3%'
,
top
:
'10%'
,
right
:
'6%'
,
right
:
'6%'
,
bottom
:
'
3
%'
,
bottom
:
'
8
%'
,
containLabel
:
true
containLabel
:
true
},
},
xAxis
:
{
xAxis
:
{
...
...
src/views/data-statistics/hospital-data-statistics/hospital-data-statistics.vue
View file @
baa77f0b
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"24"
class=
"row2"
>
<el-row
:gutter=
"24"
class=
"row2
autoRow1_2
"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<div
class=
"cardDiv"
style=
"padding-bottom: 0"
>
<div
class=
"cardDiv"
style=
"padding-bottom: 0"
>
<two-line-chart
v-if=
"yData1"
:y-data1=
"yData1"
:y-data2=
"yData2"
title=
"预储值波动"
/>
<two-line-chart
v-if=
"yData1"
:y-data1=
"yData1"
:y-data2=
"yData2"
title=
"预储值波动"
/>
...
@@ -294,7 +294,7 @@
...
@@ -294,7 +294,7 @@
{{
scope
.
row
.
currentBalance
?
scope
.
row
.
currentBalance
+
'元'
:
'-'
}}
{{
scope
.
row
.
currentBalance
?
scope
.
row
.
currentBalance
+
'元'
:
'-'
}}
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"状态"
align
=
"left"
prop
=
"state"
width
=
"60
"
>
<
el
-
table
-
column
label
=
"状态"
align
=
"left"
prop
=
"state"
min
-
width
=
"60px
"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
span
:
style
=
"showStatus(scope.row.authorizationExpirationDate) === '• 过期' ? 'color: #F8CA96' : 'color: #67C23A'"
>
{{
showStatus
(
scope
.
row
.
authorizationExpirationDate
)
||
'-'
}}
<
/span
>
<
span
:
style
=
"showStatus(scope.row.authorizationExpirationDate) === '• 过期' ? 'color: #F8CA96' : 'color: #67C23A'"
>
{{
showStatus
(
scope
.
row
.
authorizationExpirationDate
)
||
'-'
}}
<
/span
>
<
/template
>
<
/template
>
...
@@ -530,6 +530,7 @@ export default {
...
@@ -530,6 +530,7 @@ export default {
.
cardDiv
{
.
cardDiv
{
padding
:
20
px
;
padding
:
20
px
;
background
-
color
:
#
FFFFFF
;
background
-
color
:
#
FFFFFF
;
box
-
shadow
:
0
px
3
px
8
px
rgba
(
0
,
0
,
0
,
0.06
);
}
}
.
cardTitle
{
.
cardTitle
{
font
-
size
:
14
px
;
font
-
size
:
14
px
;
...
@@ -801,7 +802,7 @@ export default {
...
@@ -801,7 +802,7 @@ export default {
margin
-
bottom
:
24
px
;
margin
-
bottom
:
24
px
;
}
}
.
rankInnerDiv
{
.
rankInnerDiv
{
height
:
389
px
;
//
height: 389px;
}
}
.
emptyDiv
{
.
emptyDiv
{
width
:
100
%
;
width
:
100
%
;
...
@@ -812,4 +813,10 @@ export default {
...
@@ -812,4 +813,10 @@ export default {
font
-
weight
:
400
;
font
-
weight
:
400
;
color
:
#
AFAFAF
;
color
:
#
AFAFAF
;
}
}
// 控制统一行高
.
autoRow1_2
{
::
v
-
deep
.
cardDiv
{
height
:
468
px
;
}
}
<
/style
>
<
/style
>
src/views/data-statistics/other-components/emptyTool.vue
View file @
baa77f0b
<
template
>
<
template
>
<div>
<div
style=
"height: 100%"
>
<div
class=
"cardTitle"
>
<div
class=
"cardTitle"
>
{{
title
}}
{{
title
}}
</div>
</div>
...
@@ -39,7 +39,7 @@ export default {
...
@@ -39,7 +39,7 @@ export default {
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
.emptyDiv
{
.emptyDiv
{
height
:
9
0%
;
height
:
8
0%
;
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
font-size
:
14px
;
font-size
:
14px
;
...
...
src/views/data-statistics/pet-data-statistics/pet-data-statistics.vue
View file @
baa77f0b
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"24"
class=
"row2"
>
<el-row
:gutter=
"24"
class=
"row2
autoRow2_2
"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<div
class=
"cardDiv"
style=
"padding-bottom: 0"
>
<div
class=
"cardDiv"
style=
"padding-bottom: 0"
>
<two-line-chart
<two-line-chart
...
@@ -113,31 +113,15 @@
...
@@ -113,31 +113,15 @@
:y-data2=
"yData2"
:y-data2=
"yData2"
title=
"本年客户统计"
title=
"本年客户统计"
/>
/>
<div
v-else
style=
"height: 361px;"
>
<empty-tool
v-else
title=
"本年客户统计"
/>
<div
class=
"cardTitle"
>
本年客户统计
</div>
<div
class=
"emptyDiv"
>
<div>
<img
src=
"../../../assets/data_statistics/guahao_img_wushuju.png"
>
</div>
<div>
暂无数据
</div>
</div>
</div>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"cardDiv"
>
<div
class=
"cardDiv"
>
<div
class=
"cardTitle"
style=
"margin-bottom: 29px"
>
<div
v-if=
"petOwnerConsumeRank.length > 0"
class=
"cardTitle"
style=
"margin-bottom: 29px"
>
宠主累计消费排行
宠主累计消费排行
</div>
</div>
<div
class=
"rankInnerDiv"
>
<div
v-if=
"petOwnerConsumeRank.length > 0"
class=
"rankInnerDiv"
>
<div
v-if=
"petOwnerConsumeRank.length === 0"
class=
"emptyDiv"
>
<div>
<img
src=
"../../../assets/data_statistics/guahao_img_wushuju.png"
>
</div>
<div>
暂无数据
</div>
</div>
<div
v-for=
"(item, key) in petOwnerConsumeRank"
:key=
"key"
class=
"consumeRankDiv"
>
<div
v-for=
"(item, key) in petOwnerConsumeRank"
:key=
"key"
class=
"consumeRankDiv"
>
<div
class=
"rank_hospital_name_font"
>
<div
class=
"rank_hospital_name_font"
>
<overlong-tool
:text=
"(item.ownerId || '-') + ' (' + item.nickname + ')'"
:max=
"30"
/>
<overlong-tool
:text=
"(item.ownerId || '-') + ' (' + item.nickname + ')'"
:max=
"30"
/>
...
@@ -159,20 +143,15 @@
...
@@ -159,20 +143,15 @@
</el-row>
</el-row>
</div>
</div>
</div>
</div>
<empty-tool
v-else
title=
"宠主累计消费排行"
/>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<div
class=
"cardDiv"
>
<div
class=
"cardDiv"
>
<div
class=
"cardTitle"
style=
"margin-bottom: 29px"
>
<div
v-if=
"petOwnerTimeRank.length > 0"
class=
"cardTitle"
style=
"margin-bottom: 29px"
>
宠主注册天数排行
宠主注册天数排行
</div>
</div>
<div
class=
"rankInnerDiv"
>
<div
v-if=
"petOwnerTimeRank.length > 0"
class=
"rankInnerDiv"
>
<div
v-if=
"petOwnerTimeRank.length === 0"
class=
"emptyDiv"
>
<div>
<img
src=
"../../../assets/data_statistics/guahao_img_wushuju.png"
>
</div>
<div>
暂无数据
</div>
</div>
<div
v-for=
"(item, key) in petOwnerTimeRank"
:key=
"key"
class=
"timeRankDiv"
>
<div
v-for=
"(item, key) in petOwnerTimeRank"
:key=
"key"
class=
"timeRankDiv"
>
<div
class=
"rank_hospital_name_font"
>
<div
class=
"rank_hospital_name_font"
>
<overlong-tool
:text=
"item.nickname"
:max=
"13"
/>
<overlong-tool
:text=
"item.nickname"
:max=
"13"
/>
...
@@ -194,10 +173,11 @@
...
@@ -194,10 +173,11 @@
</el-row>
</el-row>
</div>
</div>
</div>
</div>
<empty-tool
v-else
title=
"宠主注册天数排行"
/>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"24"
class=
"row2"
>
<el-row
:gutter=
"24"
class=
"row2
autoRow2_3
"
>
<el-col
:span=
"9"
>
<el-col
:span=
"9"
>
<div
class=
"cardDiv"
style=
"padding-bottom: 0"
>
<div
class=
"cardDiv"
style=
"padding-bottom: 0"
>
<crosswise-columnar-chart
<crosswise-columnar-chart
...
@@ -208,17 +188,7 @@
...
@@ -208,17 +188,7 @@
:x-data=
"cross_x_data"
:x-data=
"cross_x_data"
unit=
"人"
unit=
"人"
/>
/>
<div
v-else
style=
"height: 31.25rem"
>
<empty-tool
v-else
title=
"宠主绑定宠物数量分析"
/>
<div
class=
"cardTitle"
style=
"margin-bottom: 29px"
>
宠主绑定宠物数量分析
</div>
<div
class=
"emptyDiv"
>
<div>
<img
src=
"../../../assets/data_statistics/guahao_img_wushuju.png"
>
</div>
<div>
暂无数据
</div>
</div>
</div>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
...
@@ -234,17 +204,7 @@
...
@@ -234,17 +204,7 @@
:y-data=
"columnarChartData.yData"
:y-data=
"columnarChartData.yData"
name=
"宠主人数"
name=
"宠主人数"
/>
/>
<div
v-else
style=
"height: 386px;"
>
<empty-tool
v-else
title=
"宠主绑定医院数量分析"
/>
<div
class=
"cardTitle"
style=
"margin-bottom: 29px"
>
宠主绑定医院数量分析
</div>
<div
class=
"emptyDiv"
>
<div>
<img
src=
"../../../assets/data_statistics/guahao_img_wushuju.png"
>
</div>
<div>
暂无数据
</div>
</div>
</div>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"9"
>
<el-col
:span=
"9"
>
...
@@ -267,17 +227,7 @@
...
@@ -267,17 +227,7 @@
:y-data2=
"radarPetOwnerPlatformCurrentYear.yData2"
:y-data2=
"radarPetOwnerPlatformCurrentYear.yData2"
:max=
"getArrayMax([getArrayMax(radarPetOwnerPlatformCurrentYear.yData1),getArrayMax(radarPetOwnerPlatformCurrentYear.yData2)])"
:max=
"getArrayMax([getArrayMax(radarPetOwnerPlatformCurrentYear.yData1),getArrayMax(radarPetOwnerPlatformCurrentYear.yData2)])"
/>
/>
<div
v-else
style=
"height: 386px;"
>
<empty-tool
v-else
title=
"宠主年消费额分析"
/>
<div
class=
"cardTitle"
style=
"margin-bottom: 29px"
>
宠主年消费额分析
</div>
<div
class=
"emptyDiv"
>
<div>
<img
src=
"../../../assets/data_statistics/guahao_img_wushuju.png"
>
</div>
<div>
暂无数据
</div>
</div>
</div>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -708,10 +658,12 @@ import CrosswiseColumnarChartOneLine from '@/views/data-statistics/echars-compon
...
@@ -708,10 +658,12 @@ import CrosswiseColumnarChartOneLine from '@/views/data-statistics/echars-compon
import
RadarChartForPetOwnerHospital
import
RadarChartForPetOwnerHospital
from
'@/views/data-statistics/echars-components/radar-chart-for-petowner-hospital.vue'
from
'@/views/data-statistics/echars-components/radar-chart-for-petowner-hospital.vue'
import
{
getPetDataStatistics
,
listBalance
,
listOwner
}
from
'@/api/business/statistics'
import
{
getPetDataStatistics
,
listBalance
,
listOwner
}
from
'@/api/business/statistics'
import
EmptyTool
from
'@/views/data-statistics/other-components/emptyTool.vue'
export
default
{
export
default
{
name
:
'PetDataStatistics'
,
name
:
'PetDataStatistics'
,
components
:
{
components
:
{
EmptyTool
,
RadarChartForPetOwnerHospital
,
RadarChartForPetOwnerHospital
,
CrosswiseColumnarChartOneLine
,
CrosswiseColumnarChartOneLine
,
CrosswiseColumnarChart
,
CrosswiseColumnarChart
,
...
@@ -776,7 +728,7 @@ export default {
...
@@ -776,7 +728,7 @@ export default {
xData
:
[
'0~2k'
,
'2~5k'
,
'5~20k'
,
'20~50k'
,
'>50k'
],
xData
:
[
'0~2k'
,
'2~5k'
,
'5~20k'
,
'20~50k'
,
'>50k'
],
yData
:
[]
yData
:
[]
},
},
radarSelect
:
'
las
tYear'
,
radarSelect
:
'
curren
tYear'
,
queryParams
:
{
queryParams
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
20
pageSize
:
20
...
@@ -831,6 +783,7 @@ export default {
...
@@ -831,6 +783,7 @@ export default {
if
(
this
.
$store
.
state
.
user
.
userType
===
'00'
)
{
if
(
this
.
$store
.
state
.
user
.
userType
===
'00'
)
{
this
.
isPlatformRole
=
true
this
.
isPlatformRole
=
true
this
.
getStatisticsDataForPlatFrom
()
this
.
getStatisticsDataForPlatFrom
()
// this.loading = false
this
.
getOwnerList
()
this
.
getOwnerList
()
}
else
{
}
else
{
this
.
isPlatformRole
=
false
this
.
isPlatformRole
=
false
...
@@ -952,6 +905,7 @@ export default {
...
@@ -952,6 +905,7 @@ export default {
.cardDiv
{
.cardDiv
{
padding
:
20px
;
padding
:
20px
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
box-shadow
:
0px
3px
8px
rgba
(
0
,
0
,
0
,
0
.06
);
}
}
.row2
{
.row2
{
margin-top
:
24px
;
margin-top
:
24px
;
...
@@ -1267,19 +1221,22 @@ export default {
...
@@ -1267,19 +1221,22 @@ export default {
margin-bottom
:
24px
;
margin-bottom
:
24px
;
}
}
.rankInnerDiv
{
.rankInnerDiv
{
height
:
389px
;
//
height: 389px;
}
}
.crosswiseNull
{
.crosswiseNull
{
height
:
100%
;
height
:
100%
;
}
}
.emptyDiv
{
width
:
100%
;
// 控制统一行高
text-align
:
center
;
.autoRow2_2
{
padding-top
:
100px
;
::v-deep
.cardDiv
{
font-size
:
14px
;
height
:
468px
;
font-family
:
Microsoft
YaHei-Regular
,
Microsoft
YaHei
;
}
font-weight
:
400
;
}
color
:
#AFAFAF
;
.autoRow2_3
{
::v-deep
.cardDiv
{
height
:
500px
;
}
}
}
</
style
>
</
style
>
src/views/data-statistics/service-statistics/service-statistics.vue
View file @
baa77f0b
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
</el-row>
</el-row>
<el-row
:gutter=
"24"
class=
"row2"
>
<el-row
:gutter=
"24"
class=
"row2"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<div
class=
"cardDiv"
style=
"padding-bottom: 0;"
>
<div
class=
"cardDiv
orderDiv
"
style=
"padding-bottom: 0;"
>
<div
style=
"position: absolute;z-index: 10;width: 90%;text-align: right;"
>
<div
style=
"position: absolute;z-index: 10;width: 90%;text-align: right;"
>
<el-radio-group
v-model=
"lineSelect"
>
<el-radio-group
v-model=
"lineSelect"
>
<el-radio-button
label=
"byYear"
class=
"radioButton"
>
年
</el-radio-button>
<el-radio-button
label=
"byYear"
class=
"radioButton"
>
年
</el-radio-button>
...
@@ -97,14 +97,14 @@
...
@@ -97,14 +97,14 @@
:y-data2=
"yData2Month"
:y-data2=
"yData2Month"
title=
"服务预约情况"
title=
"服务预约情况"
/>
/>
<empty-tool
v-else
style=
"height: 468px
"
title=
"服务预约情况"
/>
<empty-tool
v-else
class=
"
"
title=
"服务预约情况"
/>
</div>
</div>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<div
class=
"cardDiv"
style=
"padding-bottom: 0"
>
<div
class=
"cardDiv
mapDiv
"
style=
"padding-bottom: 0"
>
<china-map-bigger
<china-map-bigger
v-if=
"mapData.length > 0"
v-if=
"mapData.length > 0"
:map-data=
"mapData"
:map-data=
"mapData"
...
@@ -112,17 +112,17 @@
...
@@ -112,17 +112,17 @@
:sum=
"mapData.reduce((sum, e) => sum + Number(e.value || 0), 0)"
:sum=
"mapData.reduce((sum, e) => sum + Number(e.value || 0), 0)"
title=
"平台服务设备地区分布"
title=
"平台服务设备地区分布"
/>
/>
<empty-tool
v-else
style=
"height: 629px"
title=
"平台服务设备地区分布"
/>
<empty-tool
v-else
title=
"平台服务设备地区分布"
/>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"24"
class=
"row2"
>
<el-row
:gutter=
"24"
class=
"row2
autoRow3_3
"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<div
class=
"cardDiv"
>
<div
class=
"cardDiv"
>
<div
class=
"cardTitle"
style=
"margin-bottom: 29px"
>
<div
v-if=
"orderRank.length > 0"
class=
"cardTitle"
style=
"margin-bottom: 29px"
>
平台服务项目预约次数排行
平台服务项目预约次数排行
</div>
</div>
<div
class=
"rankInnerDiv"
>
<div
v-if=
"orderRank.length > 0"
class=
"rankInnerDiv"
>
<div
v-for=
"(item, key) in orderRank"
:key=
"key"
class=
"orderRankDiv"
>
<div
v-for=
"(item, key) in orderRank"
:key=
"key"
class=
"orderRankDiv"
>
<div
class=
"rank_name_font"
>
<div
class=
"rank_name_font"
>
<overlong-tool
:text=
"item.itemName"
:max=
"30"
/>
<overlong-tool
:text=
"item.itemName"
:max=
"30"
/>
...
@@ -143,16 +143,16 @@
...
@@ -143,16 +143,16 @@
</el-col>
</el-col>
</el-row>
</el-row>
</div>
</div>
<empty-tool
v-if=
"orderRank.length === 0"
style=
"height: 100%"
title=
""
/>
</div>
</div>
<empty-tool
v-else
title=
"平台服务项目预约次数排行"
/>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<div
class=
"cardDiv"
>
<div
class=
"cardDiv"
>
<div
class=
"cardTitle"
style=
"margin-bottom: 29px"
>
<div
v-if=
"deviceRank.length > 0"
class=
"cardTitle"
style=
"margin-bottom: 29px"
>
平台服务设备服务次数排行
平台服务设备服务次数排行
</div>
</div>
<div
class=
"rankInnerDiv"
>
<div
v-if=
"deviceRank.length > 0"
class=
"rankInnerDiv"
>
<div
v-for=
"(item, key) in deviceRank"
:key=
"key"
class=
"deviceRankDiv"
>
<div
v-for=
"(item, key) in deviceRank"
:key=
"key"
class=
"deviceRankDiv"
>
<div
class=
"rank_name_font"
>
<div
class=
"rank_name_font"
>
<overlong-tool
:text=
"item.itemName"
:max=
"30"
/>
<overlong-tool
:text=
"item.itemName"
:max=
"30"
/>
...
@@ -173,12 +173,12 @@
...
@@ -173,12 +173,12 @@
</el-col>
</el-col>
</el-row>
</el-row>
</div>
</div>
<empty-tool
v-if=
"deviceRank.length === 0"
style=
"height: 100%"
title=
""
/>
</div>
</div>
<empty-tool
v-else
title=
"平台服务设备服务次数排行"
/>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<div
class=
"cardDiv"
style=
"padding-bottom: 0"
>
<div
class=
"cardDiv"
>
<radar-chart-one-line
<radar-chart-one-line
v-if=
"projectUnitPriceDistributionRadarData.yData.length > 0"
v-if=
"projectUnitPriceDistributionRadarData.yData.length > 0"
title=
"现有服务项目单价分布"
title=
"现有服务项目单价分布"
...
@@ -190,11 +190,11 @@
...
@@ -190,11 +190,11 @@
:area-start-color=
"projectUnitPriceDistributionRadarData.areaStartColor"
:area-start-color=
"projectUnitPriceDistributionRadarData.areaStartColor"
:area-end-color=
"projectUnitPriceDistributionRadarData.areaEndColor"
:area-end-color=
"projectUnitPriceDistributionRadarData.areaEndColor"
/>
/>
<empty-tool
v-else
style=
"height: 360px"
title=
"现有服务项目单价分布"
/>
<empty-tool
v-else
title=
"现有服务项目单价分布"
/>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<div
class=
"cardDiv"
style=
"padding-bottom: 0"
>
<div
class=
"cardDiv"
>
<radar-chart-one-line
<radar-chart-one-line
v-if=
"projectIncomeDistributionRadarData.yData.length > 0"
v-if=
"projectIncomeDistributionRadarData.yData.length > 0"
title=
"服务项目收益分布"
title=
"服务项目收益分布"
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
:area-start-color=
"projectIncomeDistributionRadarData.areaStartColor"
:area-start-color=
"projectIncomeDistributionRadarData.areaStartColor"
:area-end-color=
"projectIncomeDistributionRadarData.areaEndColor"
:area-end-color=
"projectIncomeDistributionRadarData.areaEndColor"
/>
/>
<empty-tool
v-else
style=
"height: 360px"
title=
"服务项目收益分布"
/>
<empty-tool
v-else
title=
"服务项目收益分布"
/>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -856,6 +856,7 @@ export default {
...
@@ -856,6 +856,7 @@ export default {
if
(
this
.
$store
.
state
.
user
.
userType
===
'00'
)
{
if
(
this
.
$store
.
state
.
user
.
userType
===
'00'
)
{
this
.
isPlatformRole
=
true
this
.
isPlatformRole
=
true
this
.
getDataForPlatform
()
this
.
getDataForPlatform
()
// this.loading = false
this
.
getOrderList
()
this
.
getOrderList
()
}
else
{
}
else
{
this
.
getDataForHospital
()
this
.
getDataForHospital
()
...
@@ -1014,6 +1015,7 @@ export default {
...
@@ -1014,6 +1015,7 @@ export default {
.
cardDiv
{
.
cardDiv
{
padding
:
20
px
;
padding
:
20
px
;
background
-
color
:
#
FFFFFF
;
background
-
color
:
#
FFFFFF
;
box
-
shadow
:
0
px
3
px
8
px
rgba
(
0
,
0
,
0
,
0.06
);
}
}
.
row2
{
.
row2
{
margin
-
top
:
24
px
;
margin
-
top
:
24
px
;
...
@@ -1426,7 +1428,7 @@ export default {
...
@@ -1426,7 +1428,7 @@ export default {
color
:
#
6
db45d
!
important
;
color
:
#
6
db45d
!
important
;
}
}
.
rankInnerDiv
{
.
rankInnerDiv
{
height
:
389
px
;
//
height: 389px;
}
}
.
tableClass
{
.
tableClass
{
::
v
-
deep
.
el
-
table__cell
{
::
v
-
deep
.
el
-
table__cell
{
...
@@ -1434,4 +1436,15 @@ export default {
...
@@ -1434,4 +1436,15 @@ export default {
//line-height: 40px !important;
//line-height: 40px !important;
}
}
}
}
.
autoRow3_3
{
::
v
-
deep
.
cardDiv
{
height
:
468
px
;
}
}
.
orderDiv
{
height
:
468
px
;
}
.
mapDiv
{
height
:
685
px
;
}
<
/style
>
<
/style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment