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
5091a6b6
Commit
5091a6b6
authored
Aug 03, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据统计-接口对接
parent
ed0a56dc
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
122 additions
and
155 deletions
+122
-155
radar-chart-one-line-bigger.vue
...tistics/echars-components/radar-chart-one-line-bigger.vue
+1
-1
increasePercentTool.vue
.../data-statistics/other-components/increasePercentTool.vue
+44
-0
percentTool.vue
src/views/data-statistics/other-components/percentTool.vue
+0
-1
service-statistics.vue
...data-statistics/service-statistics/service-statistics.vue
+77
-153
No files found.
src/views/data-statistics/echars-components/radar-chart-one-line-bigger.vue
View file @
5091a6b6
...
...
@@ -105,6 +105,6 @@ export default {
<
style
scoped
>
.radarChart
{
width
:
100%
;
height
:
584
px
;
height
:
680
px
;
}
</
style
>
src/views/data-statistics/other-components/increasePercentTool.vue
0 → 100644
View file @
5091a6b6
<
template
>
<div>
<div
v-if=
"value >= 0"
class=
"upPercentDiv"
>
+
{{
value
||
0
}}
%
<img
src=
"../../../assets/data_statistics/caiwu_icon_sheng.png"
height=
"12"
width=
"8"
>
</div>
<div
v-else
class=
"downPercentDiv"
>
{{
value
||
0
}}
%
<img
src=
"../../../assets/data_statistics/caiwu_icon_zjiang.png"
height=
"12"
width=
"8"
>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'IncreasePercentTool'
,
props
:
[
'value'
],
data
()
{
return
{}
},
watch
:
{},
created
()
{
},
methods
:
{}
}
</
script
>
<
style
scoped
>
.upPercentDiv
{
padding-top
:
8px
;
font-size
:
12px
;
font-family
:
Microsoft
YaHei
;
font-weight
:
bold
;
color
:
#5FB54B
;
text-align
:
right
;
}
.downPercentDiv
{
padding-top
:
8px
;
font-size
:
12px
;
font-family
:
Microsoft
YaHei
;
font-weight
:
bold
;
color
:
#DB4747
;
text-align
:
right
;
}
</
style
>
src/views/data-statistics/other-components/percentTool.vue
View file @
5091a6b6
...
...
@@ -61,7 +61,6 @@ export default {
},
methods
:
{
formatPercent
(
percentage
)
{
console
.
log
(
'调用格式'
)
if
(
this
.
percent
>
0
)
{
return
'+'
+
this
.
percent
+
'%'
}
else
{
...
...
src/views/data-statistics/service-statistics/service-statistics.vue
View file @
5091a6b6
This diff is collapsed.
Click to expand it.
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