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
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
8 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
{
export
default
{
data
()
{
return
{
corporateGroupName
:
'集团1'
}
},
watch
:
{
watch
:
{
watchReportParams
:
{
watchReportParams
:
{
immediate
:
true
,
immediate
:
true
,
...
...
src/mixins/clientMixin.js
View file @
bc8a39f
...
@@ -18,7 +18,7 @@ export default {
...
@@ -18,7 +18,7 @@ export default {
let
clientApi
=
!
this
.
isBrand
?
'overalldistribution'
:
'merchantOveralldistribution'
let
clientApi
=
!
this
.
isBrand
?
'overalldistribution'
:
'merchantOveralldistribution'
const
params
=
{
const
params
=
{
req
:
{
req
:
{
corporateGroupName
:
'集团1'
,
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
this
.
type
,
queryItem
:
this
.
type
,
// queryTime: this.getCurrentDate,
// queryTime: this.getCurrentDate,
queryTime
:
'2022-06-23'
,
queryTime
:
'2022-06-23'
,
...
...
src/mixins/salesMixin.js
View file @
bc8a39f
...
@@ -18,7 +18,7 @@ export default {
...
@@ -18,7 +18,7 @@ export default {
let
salesApi
=
!
this
.
isBrand
?
'getSales'
:
'getMerchantSales'
let
salesApi
=
!
this
.
isBrand
?
'getSales'
:
'getMerchantSales'
const
params
=
{
const
params
=
{
req
:
{
req
:
{
corporateGroupName
:
'集团1'
,
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
this
.
type
,
queryItem
:
this
.
type
,
// queryTime: this.getCurrentDate,
// queryTime: this.getCurrentDate,
queryTime
:
'2022-06-23'
,
queryTime
:
'2022-06-23'
,
...
...
src/views/afterSales/analyze.vue
View file @
bc8a39f
...
@@ -134,7 +134,7 @@ export default {
...
@@ -134,7 +134,7 @@ export default {
let
analyzeApi
=
!
this
.
isBrand
?
'aftersaleother'
:
'afterMerchantSaleother'
let
analyzeApi
=
!
this
.
isBrand
?
'aftersaleother'
:
'afterMerchantSaleother'
const
params
=
{
const
params
=
{
req
:
{
req
:
{
corporateGroupName
:
'集团1'
,
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
'valueanalyse'
,
queryItem
:
'valueanalyse'
,
// queryTime: this.getCurrentDate,
// queryTime: this.getCurrentDate,
queryTime
:
'2022-06-23'
,
queryTime
:
'2022-06-23'
,
...
...
src/views/afterSales/mileage.vue
View file @
bc8a39f
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<div>
客户数
</div>
<div>
客户数
</div>
</div>
</div>
<div
class=
"ranking"
>
<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>
<span
class=
"brand-num"
>
{{
index
+
1
}}
</span>
<marquee
class=
"marquee"
:direction=
"directionTimer"
:delay=
"delayTimer"
:text=
"item.brand"
/>
<marquee
class=
"marquee"
:direction=
"directionTimer"
:delay=
"delayTimer"
:text=
"item.brand"
/>
<span>
{{
item
.
value
}}
</span>
<span>
{{
item
.
value
}}
</span>
...
@@ -62,7 +62,7 @@ export default {
...
@@ -62,7 +62,7 @@ export default {
let
mileageApi
=
!
this
.
isBrand
?
'aftersaleother'
:
'afterMerchantSaleother'
let
mileageApi
=
!
this
.
isBrand
?
'aftersaleother'
:
'afterMerchantSaleother'
const
params
=
{
const
params
=
{
req
:
{
req
:
{
corporateGroupName
:
'集团1'
,
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
'mileage'
,
queryItem
:
'mileage'
,
// queryTime: this.getCurrentDate,
// queryTime: this.getCurrentDate,
queryTime
:
'2022-06-23'
,
queryTime
:
'2022-06-23'
,
...
@@ -108,8 +108,8 @@ export default {
...
@@ -108,8 +108,8 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.title
{
.title
{
padding
:
1vh
0.556vw
;
padding
:
1vh
0.556vw
;
}
}
.ranking-container
{
.ranking-container
{
flex
:
1
;
flex
:
1
;
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
background
:
rgba
(
53
,
53
,
53
,
0.6
);
background
:
rgba
(
53
,
53
,
53
,
0.6
);
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
div{
div
{
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
.ranking-title-brand
{
.ranking-title-brand
{
...
...
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