Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-pd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c9797f2a
authored
Aug 03, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.0' into v1.3.0
2 parents
8ebcdcd3
8df715dd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
src/views/boutique/rightCompoments/StaffRanking.vue
src/views/boutiqueDetail/BusinessDetailTrends.vue
src/views/boutique/rightCompoments/StaffRanking.vue
View file @
c9797f2
...
@@ -3,23 +3,26 @@
...
@@ -3,23 +3,26 @@
<!-- 第一个盒子 -->
<!-- 第一个盒子 -->
<div
class=
"rank-box"
>
<div
class=
"rank-box"
>
<box-title
title=
"员工业绩排名"
></box-title>
<box-title
title=
"员工业绩排名"
></box-title>
<div
class=
"content"
>
<div
v-if=
"staffOutputList.length"
class=
"content"
>
<Ranking
:id=
"'staffOutput'"
:rankingsList=
"staffOutputList"
:rankingDataObj=
"rankingDataObj"
></Ranking>
<Ranking
:id=
"'staffOutput'"
:rankingsList=
"staffOutputList"
:rankingDataObj=
"rankingDataObj"
></Ranking>
</div>
</div>
<div
v-else
class=
"empty"
><Empty></Empty></div>
</div>
</div>
<!-- 第二个盒子 -->
<!-- 第二个盒子 -->
<div
class=
"rank-box"
>
<div
class=
"rank-box"
>
<box-title
title=
"员工转化率排行"
></box-title>
<box-title
title=
"员工转化率排行"
></box-title>
<div
class=
"content"
>
<div
v-if=
"staffPercentList.length"
class=
"content"
>
<Ranking
:id=
"'staffPercent'"
:rankingsList=
"staffPercentList"
:rankingDataObj=
"rankPercentObj"
></Ranking>
<Ranking
:id=
"'staffPercent'"
:rankingsList=
"staffPercentList"
:rankingDataObj=
"rankPercentObj"
></Ranking>
</div>
</div>
<div
v-else
class=
"empty"
><Empty></Empty></div>
</div>
</div>
<!-- 第三个盒子 -->
<!-- 第三个盒子 -->
<div
class=
"rank-box"
>
<div
class=
"rank-box"
>
<box-title
title=
"员工客单价排行"
></box-title>
<box-title
title=
"员工客单价排行"
></box-title>
<div
class=
"content"
>
<div
class=
"content"
v-if=
"staffPriceList.length"
>
<Ranking
:id=
"'staffPrice'"
:rankingsList=
"staffPriceList"
:rankingDataObj=
"rankingDataObj"
></Ranking>
<Ranking
:id=
"'staffPrice'"
:rankingsList=
"staffPriceList"
:rankingDataObj=
"rankingDataObj"
></Ranking>
</div>
</div>
<div
v-else
class=
"empty"
><Empty></Empty></div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -106,5 +109,12 @@ export default {
...
@@ -106,5 +109,12 @@ export default {
.content
{
.content
{
padding
:
1.67vh
1.39vw
;
padding
:
1.67vh
1.39vw
;
}
}
.empty
{
height
:
19.44vh
;
display
:
flex
;
//
justify-content
:
center
;
text-align
:
center
;
align-items
:
center
;
}
}
}
</
style
>
</
style
>
src/views/boutiqueDetail/BusinessDetailTrends.vue
View file @
c9797f2
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-07-19 17:18:33
* @Date: 2023-07-19 17:18:33
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-0
7-31 10:40:36
* @LastEditTime: 2023-0
8-02 17:47:33
-->
-->
<
template
>
<
template
>
<div
class=
"trends-box"
>
<div
class=
"trends-box"
>
...
@@ -69,13 +69,13 @@ export default {
...
@@ -69,13 +69,13 @@ export default {
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
init
()
{
init
()
{
this
.
getDataList
()
this
.
getDataList
(
this
.
merchantid
)
},
},
getDataList
()
{
getDataList
(
value
)
{
this
.
dataList
=
[]
this
.
dataList
=
[]
this
.
isFlag
=
false
this
.
isFlag
=
false
if
(
!
this
.
isFlag
)
{
if
(
!
this
.
isFlag
)
{
this
.
api
.
boutique
.
getMerchantTrend
({
year
:
this
.
year
,
MerchantId
:
this
.
merchantid
}).
then
(
res
=>
{
this
.
api
.
boutique
.
getMerchantTrend
({
year
:
this
.
year
,
MerchantId
:
value
}).
then
(
res
=>
{
const
_dataList
=
res
.
data
.
dataList
const
_dataList
=
res
.
data
.
dataList
if
(
!
_dataList
.
length
)
{
if
(
!
_dataList
.
length
)
{
this
.
isEmpty
=
true
this
.
isEmpty
=
true
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment