Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shld-databoard-ui
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
潘自豪 Rambo Pan
shld-databoard-ui
Commits
d920a734
Commit
d920a734
authored
Sep 21, 2023
by
王礼鸿 Baimax Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码合并
parent
3b61dddd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
index.vue
src/module/databoard/index.vue
+6
-5
No files found.
src/module/databoard/index.vue
View file @
d920a734
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<display-board
class=
"trade_left"
title=
"营业情况"
>
<display-board
class=
"trade_left"
title=
"营业情况"
>
<div
<div
style=
"height: 100%; display: flex; flex-direction: column; justify-content: space-around; padding: 0 1rem 0 1rem;"
>
style=
"height: 100%; display: flex; flex-direction: column; justify-content: space-around; padding: 0 1rem 0 1rem;"
>
<contrast-card
v-for=
"data in yyqk"
style=
"height: 28%;"
@
click
.
native=
"routerTo
1(
paths[data.title])"
>
<contrast-card
v-for=
"data in yyqk"
style=
"height: 28%;"
@
click
.
native=
"routerTo
('/turnover-detail',
paths[data.title])"
>
<title-content-mark
style=
"width: 40%;color: #369afa;float: left;"
:title=
"data.title"
<title-content-mark
style=
"width: 40%;color: #369afa;float: left;"
:title=
"data.title"
:content=
"data.amount"
:mark=
"data.unit"
/>
:content=
"data.amount"
:mark=
"data.unit"
/>
<div
<div
...
@@ -133,8 +133,8 @@
...
@@ -133,8 +133,8 @@
</div>
</div>
<display-board
class=
"trade_right"
title=
"当日订单量占比"
>
<display-board
class=
"trade_right"
title=
"当日订单量占比"
>
<div
style=
"height: 100%; display: flex; flex-direction: column; justify-content: space-around; padding: 0 1rem 0 1rem;"
>
<div
style=
"height: 100%; display: flex; flex-direction: column; justify-content: space-around; padding: 0 1rem 0 1rem;"
>
<ring-pie-chart
ref=
"transportTypeChart"
style=
"width: 100%;height: 50%;z-index: 999"
name=
"运输类型占比"
:data=
"transportTypeOrderFinishPie"
@
click
.
native=
"routerTo
1
('/order-proportion')"
/>
<ring-pie-chart
ref=
"transportTypeChart"
style=
"width: 100%;height: 50%;z-index: 999"
name=
"运输类型占比"
:data=
"transportTypeOrderFinishPie"
@
click
.
native=
"routerTo('/order-proportion')"
/>
<ring-pie-chart
ref=
"customerChart"
style=
"width: 100%;height: 50%;"
name=
"公司占比"
:data=
"customerOrderFinishPie"
@
click
.
native=
"routerTo
1
('/order-proportion')"
/>
<ring-pie-chart
ref=
"customerChart"
style=
"width: 100%;height: 50%;"
name=
"公司占比"
:data=
"customerOrderFinishPie"
@
click
.
native=
"routerTo('/order-proportion')"
/>
</div>
</div>
</display-board>
</display-board>
</div>
</div>
...
@@ -425,10 +425,11 @@ export default {
...
@@ -425,10 +425,11 @@ export default {
this
.
charts
[
chartsKey
].
resize
();
this
.
charts
[
chartsKey
].
resize
();
}
}
},
},
routerTo
(
code
)
{
routerTo
(
path
,
code
)
{
this
.
$router
.
push
({
path
:
"/turnover-detail"
,
query
:
{
code
:
code
}});
this
.
$router
.
push
({
path
:
path
,
query
:
{
code
:
code
}});
},
},
routerTo1
(
path
){
routerTo1
(
path
){
console
.
log
(
path
)
this
.
$router
.
push
({
path
:
path
});
this
.
$router
.
push
({
path
:
path
});
},
},
//营业情况
//营业情况
...
...
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