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 cd40aa36
authored
Jul 25, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'gh_v1.2.0' into ty_v1.2.0
2 parents
8bdea5fd
8c9638ad
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
src/config/env.development.js
src/views/afterSales/analyze.vue
src/views/salesData/flow.vue
src/views/salesData/trend.vue
src/config/env.development.js
View file @
cd40aa3
...
...
@@ -12,9 +12,9 @@ module.exports = {
title
:
'XXX汽车服务'
,
request
:
{
// baseURL: 'http://192.168.3.126:8081', // 本地测试项目地址,
//
baseURL: 'http://192.168.1.160:8081', // 本地开发项目地址,
baseURL
:
'http://192.168.1.160:8081'
,
// 本地开发项目地址,
// baseURL: 'http://192.168.1.158:9996',
baseURL
:
'http://192.168.1.152:8081'
,
//
baseURL: 'http://192.168.1.152:8081',
// 设置超时时间
timeout
:
180000
,
// 携带凭证
...
...
src/views/afterSales/analyze.vue
View file @
cd40aa3
...
...
@@ -30,6 +30,7 @@
<
script
>
import
*
as
echarts
from
'echarts'
import
datas
from
'../../utils/data'
import
utils
from
'../../utils/util'
import
{
changeMixin
}
from
'../../mixins/index'
export
default
{
name
:
'Analyze'
,
...
...
@@ -143,7 +144,7 @@ export default {
this
.
barChart
.
clear
()
this
.
barChart
.
setOption
(
this
.
option
)
this
.
chartAction
()
this
.
barChart
.
getZr
().
on
(
'mousemove'
,
params
=>
{
this
.
barChart
.
getZr
().
on
(
'mousemove'
,
utils
.
debounce
(
params
=>
{
const
pointInPixel
=
[
params
.
offsetX
,
params
.
offsetY
]
const
pointInGrid
=
this
.
barChart
.
convertFromPixel
({
seriesIndex
:
0
},
pointInPixel
)
const
yIndex
=
pointInGrid
[
1
]
...
...
@@ -154,7 +155,7 @@ export default {
name
,
dataIndex
:
yIndex
}
})
})
,
500
)
// 鼠标划入
// this.barChart.on('mouseup', data => {
// this.initPieData(data.name)
...
...
src/views/salesData/flow.vue
View file @
cd40aa3
...
...
@@ -97,7 +97,7 @@ export default {
isBrand
:
false
,
currentName
:
''
,
bgColor
:
'#BF98FF'
,
colorList
:
[
'#BF98FF'
,
'#
E60115
'
,
'#4FA0FF'
,
'#EB6001'
,
'#F5AA01'
]
colorList
:
[
'#BF98FF'
,
'#
58D9F9
'
,
'#4FA0FF'
,
'#EB6001'
,
'#F5AA01'
]
}
},
mounted
()
{
...
...
src/views/salesData/trend.vue
View file @
cd40aa3
...
...
@@ -35,7 +35,7 @@ export default {
paramsData
:
[],
list
:
[
'enter'
,
'stayfile'
,
'test'
,
'placeorder'
,
'success'
],
hasData
:
true
,
colorList
:
[
'#BF98FF'
,
'#
E60115
'
,
'#4FA0FF'
,
'#EB6001'
,
'#F5AA01'
]
colorList
:
[
'#BF98FF'
,
'#
58D9F9
'
,
'#4FA0FF'
,
'#EB6001'
,
'#F5AA01'
]
}
},
mounted
()
{
...
...
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