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 1c4fbeb7
authored
Jun 30, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v1.0.0' of
http://192.168.3.233:8090/gh/data-view
into dev_v1.0.0
2 parents
964844ec
eafca61f
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
0 additions
and
30 deletions
src/components/LineChart.vue
src/mixins/changeMixin.js
src/mixins/clientMixin.js
src/mixins/salesMixin.js
src/views/afterSales/analyze.vue
src/views/afterSales/efficient.vue
src/views/afterSales/file.vue
src/views/afterSales/first.vue
src/views/afterSales/keep.vue
src/views/afterSales/lost.vue
src/views/afterSales/mileage.vue
src/views/afterSales/sadayasu.vue
src/components/LineChart.vue
View file @
1c4fbeb
...
@@ -102,20 +102,6 @@ export default {
...
@@ -102,20 +102,6 @@ export default {
return
txt
return
txt
},
},
// autoMove() {
// clearInterval(this.timer)
// this.timer = setInterval(() => {
// this.moveAttr.dataIndex = this.moveAttr.dataIndex + 1
// if (this.moveAttr.dataIndex === this.dataList.length) {
// this.moveAttr.dataIndex = 0
// }
// this.chartAction()
// this.autoMove()
// this.getRankList(this.moveAttr.dataIndex, this.rankFlag + 'List')
// }, this.moveAttr.speed)
// },
chartBindEvent
()
{
chartBindEvent
()
{
// resize
// resize
window
.
addEventListener
(
'resize'
,
()
=>
{
window
.
addEventListener
(
'resize'
,
()
=>
{
...
...
src/mixins/changeMixin.js
View file @
1c4fbeb
export
default
{
export
default
{
data
()
{
return
{
corporateGroupName
:
'集团1'
}
},
watch
:
{
watch
:
{
watchReportParams
:
{
watchReportParams
:
{
immediate
:
true
,
immediate
:
true
,
...
...
src/mixins/clientMixin.js
View file @
1c4fbeb
...
@@ -18,11 +18,9 @@ export default {
...
@@ -18,11 +18,9 @@ export default {
let
clientApi
=
!
this
.
isBrand
?
'overalldistribution'
:
'merchantOveralldistribution'
let
clientApi
=
!
this
.
isBrand
?
'overalldistribution'
:
'merchantOveralldistribution'
const
params
=
{
const
params
=
{
req
:
{
req
:
{
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
this
.
type
,
queryItem
:
this
.
type
,
// queryTime: this.getCurrentDate,
// queryTime: this.getCurrentDate,
queryTime
:
'2022-06-23'
,
queryTime
:
'2022-06-23'
,
// queryType: this.watchReportParams.reportType
}
}
}
}
if
(
this
.
isBrand
)
params
.
req
.
brandName
=
this
.
brandName
if
(
this
.
isBrand
)
params
.
req
.
brandName
=
this
.
brandName
...
...
src/mixins/salesMixin.js
View file @
1c4fbeb
...
@@ -18,7 +18,6 @@ export default {
...
@@ -18,7 +18,6 @@ export default {
let
salesApi
=
!
this
.
isBrand
?
'getSales'
:
'getMerchantSales'
let
salesApi
=
!
this
.
isBrand
?
'getSales'
:
'getMerchantSales'
const
params
=
{
const
params
=
{
req
:
{
req
:
{
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 @
1c4fbeb
...
@@ -134,7 +134,6 @@ export default {
...
@@ -134,7 +134,6 @@ export default {
let
analyzeApi
=
!
this
.
isBrand
?
'aftersaleother'
:
'afterMerchantSaleother'
let
analyzeApi
=
!
this
.
isBrand
?
'aftersaleother'
:
'afterMerchantSaleother'
const
params
=
{
const
params
=
{
req
:
{
req
:
{
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
'valueanalyse'
,
queryItem
:
'valueanalyse'
,
// queryTime: this.getCurrentDate,
// queryTime: this.getCurrentDate,
queryTime
:
'2022-06-23'
,
queryTime
:
'2022-06-23'
,
...
...
src/views/afterSales/efficient.vue
View file @
1c4fbeb
...
@@ -44,7 +44,6 @@ export default {
...
@@ -44,7 +44,6 @@ export default {
this
.
isEmpty
=
true
this
.
isEmpty
=
true
var
params
=
{
var
params
=
{
req
:
{
req
:
{
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
'valid'
,
queryItem
:
'valid'
,
querystartTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
30
)
:
this
.
getNMonth
(
-
12
),
querystartTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
30
)
:
this
.
getNMonth
(
-
12
),
queryendTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
1
)
:
this
.
getNMonth
(
-
1
),
queryendTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
1
)
:
this
.
getNMonth
(
-
1
),
...
...
src/views/afterSales/file.vue
View file @
1c4fbeb
...
@@ -46,7 +46,6 @@ export default {
...
@@ -46,7 +46,6 @@ export default {
this
.
isEmpty
=
true
this
.
isEmpty
=
true
var
params
=
{
var
params
=
{
req
:
{
req
:
{
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
'file'
,
queryItem
:
'file'
,
querystartTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
30
)
:
this
.
getNMonth
(
-
12
),
querystartTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
30
)
:
this
.
getNMonth
(
-
12
),
queryendTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
1
)
:
this
.
getNMonth
(
-
1
),
queryendTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
1
)
:
this
.
getNMonth
(
-
1
),
...
...
src/views/afterSales/first.vue
View file @
1c4fbeb
...
@@ -61,7 +61,6 @@ export default {
...
@@ -61,7 +61,6 @@ export default {
this
.
isEmpty
=
true
this
.
isEmpty
=
true
var
params
=
{
var
params
=
{
req
:
{
req
:
{
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
'first'
,
queryItem
:
'first'
,
querystartTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
30
)
:
this
.
getNMonth
(
-
12
),
querystartTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
30
)
:
this
.
getNMonth
(
-
12
),
queryendTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
1
)
:
this
.
getNMonth
(
-
1
),
queryendTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
1
)
:
this
.
getNMonth
(
-
1
),
...
...
src/views/afterSales/keep.vue
View file @
1c4fbeb
...
@@ -44,7 +44,6 @@ export default {
...
@@ -44,7 +44,6 @@ export default {
this
.
isEmpty
=
true
this
.
isEmpty
=
true
var
params
=
{
var
params
=
{
req
:
{
req
:
{
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
'retain'
,
queryItem
:
'retain'
,
querystartTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
30
)
:
this
.
getNMonth
(
-
12
),
querystartTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
30
)
:
this
.
getNMonth
(
-
12
),
queryendTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
1
)
:
this
.
getNMonth
(
-
1
),
queryendTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
1
)
:
this
.
getNMonth
(
-
1
),
...
...
src/views/afterSales/lost.vue
View file @
1c4fbeb
...
@@ -44,7 +44,6 @@ export default {
...
@@ -44,7 +44,6 @@ export default {
this
.
isEmpty
=
true
this
.
isEmpty
=
true
var
params
=
{
var
params
=
{
req
:
{
req
:
{
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
'loss'
,
queryItem
:
'loss'
,
querystartTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
30
)
:
this
.
getNMonth
(
-
12
),
querystartTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
30
)
:
this
.
getNMonth
(
-
12
),
queryendTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
1
)
:
this
.
getNMonth
(
-
1
),
queryendTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
1
)
:
this
.
getNMonth
(
-
1
),
...
...
src/views/afterSales/mileage.vue
View file @
1c4fbeb
...
@@ -62,7 +62,6 @@ export default {
...
@@ -62,7 +62,6 @@ export default {
let
mileageApi
=
!
this
.
isBrand
?
'aftersaleother'
:
'afterMerchantSaleother'
let
mileageApi
=
!
this
.
isBrand
?
'aftersaleother'
:
'afterMerchantSaleother'
const
params
=
{
const
params
=
{
req
:
{
req
:
{
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
'mileage'
,
queryItem
:
'mileage'
,
// queryTime: this.getCurrentDate,
// queryTime: this.getCurrentDate,
queryTime
:
'2022-06-23'
,
queryTime
:
'2022-06-23'
,
...
...
src/views/afterSales/sadayasu.vue
View file @
1c4fbeb
...
@@ -61,7 +61,6 @@ export default {
...
@@ -61,7 +61,6 @@ export default {
this
.
isEmpty
=
true
this
.
isEmpty
=
true
var
params
=
{
var
params
=
{
req
:
{
req
:
{
corporateGroupName
:
this
.
corporateGroupName
,
queryItem
:
'regular'
,
queryItem
:
'regular'
,
querystartTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
30
)
:
this
.
getNMonth
(
-
12
),
querystartTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
30
)
:
this
.
getNMonth
(
-
12
),
queryendTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
1
)
:
this
.
getNMonth
(
-
1
),
queryendTime
:
+
this
.
watchReportParams
.
reportType
===
1
?
this
.
getNDate
(
-
1
)
:
this
.
getNMonth
(
-
1
),
...
...
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