Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
data-view
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 bc8a39f7
authored
Jun 30, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
9fe4756f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
10 deletions
src/mixins/changeMixin.js
src/mixins/clientMixin.js
src/mixins/salesMixin.js
src/views/afterSales/analyze.vue
src/views/afterSales/mileage.vue
src/mixins/changeMixin.js
View file @
bc8a39f
export
default
{
data
()
{
return
{
corporateGroupName
:
'集团1'
}
},
watch
:
{
watchReportParams
:
{
immediate
:
true
,
...
...
src/mixins/clientMixin.js
View file @
bc8a39f
...
...
@@ -18,7 +18,7 @@ export default {
let
clientApi
=
!
this
.
isBrand
?
'overalldistribution'
:
'merchantOveralldistribution'
const
params
=
{
req
:
{
corporateGroupName
:
'集团1'
,
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
this
.
type
,
// queryTime: this.getCurrentDate,
queryTime
:
'2022-06-23'
,
...
...
src/mixins/salesMixin.js
View file @
bc8a39f
...
...
@@ -18,7 +18,7 @@ export default {
let
salesApi
=
!
this
.
isBrand
?
'getSales'
:
'getMerchantSales'
const
params
=
{
req
:
{
corporateGroupName
:
'集团1'
,
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
this
.
type
,
// queryTime: this.getCurrentDate,
queryTime
:
'2022-06-23'
,
...
...
src/views/afterSales/analyze.vue
View file @
bc8a39f
...
...
@@ -134,7 +134,7 @@ export default {
let
analyzeApi
=
!
this
.
isBrand
?
'aftersaleother'
:
'afterMerchantSaleother'
const
params
=
{
req
:
{
corporateGroupName
:
'集团1'
,
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
'valueanalyse'
,
// queryTime: this.getCurrentDate,
queryTime
:
'2022-06-23'
,
...
...
src/views/afterSales/mileage.vue
View file @
bc8a39f
...
...
@@ -17,7 +17,7 @@
<div>
客户数
</div>
</div>
<div
class=
"ranking"
>
<div
class=
"brand flex"
v-for=
"(item, index) in rankingData.slice(0,5)"
:key=
"index"
>
<div
class=
"brand flex"
v-for=
"(item, index) in rankingData.slice(0,
5)"
:key=
"index"
>
<span
class=
"brand-num"
>
{{
index
+
1
}}
</span>
<marquee
class=
"marquee"
:direction=
"directionTimer"
:delay=
"delayTimer"
:text=
"item.brand"
/>
<span>
{{
item
.
value
}}
</span>
...
...
@@ -62,7 +62,7 @@ export default {
let
mileageApi
=
!
this
.
isBrand
?
'aftersaleother'
:
'afterMerchantSaleother'
const
params
=
{
req
:
{
corporateGroupName
:
'集团1'
,
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
'mileage'
,
// queryTime: this.getCurrentDate,
queryTime
:
'2022-06-23'
,
...
...
@@ -108,8 +108,8 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
.title
{
padding
:
1vh
0.556vw
;
.title
{
padding
:
1vh
0.556vw
;
}
.ranking-container
{
flex
:
1
;
...
...
@@ -120,14 +120,14 @@ export default {
background
:
#262525
;
.ranking-title
{
padding
:
0.5vh
1.5vw
0.4vh
1.5vw
;
font-size
:
0.833vw
;
font-size
:
0.833vw
;
color
:
#eb6001
;
letter-spacing
:
0
;
font-weight
:
400
;
background
:
rgba
(
53
,
53
,
53
,
0.6
);
display
:
flex
;
align-items
:
center
;
div{
div
{
white-space
:
nowrap
;
}
.ranking-title-brand
{
...
...
@@ -136,7 +136,7 @@ export default {
}
}
.ranking
{
font-size
:
0.694vw
;
font-size
:
0.694vw
;
color
:
#ffffff
;
letter-spacing
:
0
;
font-weight
:
400
;
...
...
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