Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
E
enterprise-opt-kit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fubaole
enterprise-opt-kit
Commits
b76c2b29
Commit
b76c2b29
authored
Jun 01, 2021
by
乐宝呗666
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改图谱色值
parent
6e70cf13
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
barChart.vue
src/components/echarts/barChart.vue
+3
-1
knowledgeDialog.vue
src/views/system/index/components/knowledgeDialog.vue
+3
-3
knowledgeGraph.vue
src/views/system/index/components/knowledgeGraph.vue
+2
-3
No files found.
src/components/echarts/barChart.vue
View file @
b76c2b29
...
@@ -86,7 +86,9 @@ export default {
...
@@ -86,7 +86,9 @@ export default {
if
(
vm
.
idstr
===
'lastMonthPerformance'
||
vm
.
idstr
===
'peopleCenter'
)
{
if
(
vm
.
idstr
===
'lastMonthPerformance'
||
vm
.
idstr
===
'peopleCenter'
)
{
vm
.
option
.
series
[
0
].
large
=
true
vm
.
option
.
series
[
0
].
large
=
true
vm
.
option
.
dataZoom
=
[{
vm
.
option
.
dataZoom
=
[{
type
:
'inside'
type
:
'inside'
,
startValue
:
0
,
endValue
:
8
},
{
},
{
type
:
'slider'
,
type
:
'slider'
,
fillerColor
:
'#30DDF4'
,
fillerColor
:
'#30DDF4'
,
...
...
src/views/system/index/components/knowledgeDialog.vue
View file @
b76c2b29
...
@@ -56,7 +56,7 @@ import * as API_KNOWLED from '@/api/sys.knowled.js'
...
@@ -56,7 +56,7 @@ import * as API_KNOWLED from '@/api/sys.knowled.js'
import
graphChart
from
'@/components/echarts/graphChart'
import
graphChart
from
'@/components/echarts/graphChart'
// import knowledgeJSON from '@/assets/js/knowledgeJSON.js'
// import knowledgeJSON from '@/assets/js/knowledgeJSON.js'
const
colorMap
=
new
Map
()
const
colorMap
=
new
Map
()
colorMap
.
set
(
1
,
'#
8419c7
'
)
colorMap
.
set
(
1
,
'#
E23AA2
'
)
colorMap
.
set
(
2
,
'#b9c719'
)
colorMap
.
set
(
2
,
'#b9c719'
)
colorMap
.
set
(
3
,
'#199fc7'
)
colorMap
.
set
(
3
,
'#199fc7'
)
colorMap
.
set
(
4
,
'#4f19c7'
)
colorMap
.
set
(
4
,
'#4f19c7'
)
...
@@ -85,7 +85,7 @@ export default {
...
@@ -85,7 +85,7 @@ export default {
],
],
colorMap
:
{
colorMap
:
{
'#30DDF4'
:
null
,
'#30DDF4'
:
null
,
'#
8419c7
'
:
1
,
'#
E23AA2
'
:
1
,
'#b9c719'
:
2
,
'#b9c719'
:
2
,
'#199fc7'
:
3
,
'#199fc7'
:
3
,
'#4f19c7'
:
4
,
'#4f19c7'
:
4
,
...
@@ -97,7 +97,7 @@ export default {
...
@@ -97,7 +97,7 @@ export default {
knowledData
:
[],
knowledData
:
[],
checked
:
[
1
,
2
,
3
,
4
,
5
],
checked
:
[
1
,
2
,
3
,
4
,
5
],
checkList
:
[
checkList
:
[
{
name
:
'项目'
,
value
:
1
,
color
:
'#
8419c7
'
},
{
name
:
'项目'
,
value
:
1
,
color
:
'#
E23AA2
'
},
{
name
:
'销售'
,
value
:
2
,
color
:
'#b9c719'
},
{
name
:
'销售'
,
value
:
2
,
color
:
'#b9c719'
},
{
name
:
'商机'
,
value
:
3
,
color
:
'#199fc7'
},
{
name
:
'商机'
,
value
:
3
,
color
:
'#199fc7'
},
{
name
:
'客户'
,
value
:
4
,
color
:
'#4f19c7'
},
{
name
:
'客户'
,
value
:
4
,
color
:
'#4f19c7'
},
...
...
src/views/system/index/components/knowledgeGraph.vue
View file @
b76c2b29
...
@@ -48,8 +48,7 @@ export default {
...
@@ -48,8 +48,7 @@ export default {
label
:
'项目'
label
:
'项目'
},
{
},
{
value
:
2
,
value
:
2
,
label
:
'销售'
,
label
:
'销售'
color
:
'#8419c7'
},
{
},
{
value
:
3
,
value
:
3
,
label
:
'商机'
label
:
'商机'
...
@@ -63,7 +62,7 @@ export default {
...
@@ -63,7 +62,7 @@ export default {
],
],
colorMap
:
{
colorMap
:
{
'#30DDF4'
:
null
,
'#30DDF4'
:
null
,
'#
8419c7
'
:
1
,
'#
E23AA2
'
:
1
,
'#b9c719'
:
2
,
'#b9c719'
:
2
,
'#199fc7'
:
3
,
'#199fc7'
:
3
,
'#4f19c7'
:
4
,
'#4f19c7'
:
4
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment