|
|
@@ -30,7 +30,7 @@ section.w-flex.column.pb5
|
|
30
|
30
|
p {{ tabContent[item].tab }}
|
|
31
|
31
|
SpiderChart(
|
|
32
|
32
|
:labels='aspects.map(label => label.name)'
|
|
33
|
|
- :profile-data='profileScore'
|
|
|
33
|
+ :profile-data='aspects.map(data => data.percentage * 10)'
|
|
34
|
34
|
:target-data='targetScore'
|
|
35
|
35
|
profile-name='lucy'
|
|
36
|
36
|
v-if='isTab'
|
|
|
@@ -87,8 +87,8 @@ export default {
|
|
87
|
87
|
},
|
|
88
|
88
|
emits: ['tab-change'],
|
|
89
|
89
|
data: () => ({
|
|
90
|
|
- profileScore: [5.7, 5.2, 4.8, 5.2, 4.9, 4.9],
|
|
91
|
|
- targetScore: [5.3, 4.8, 5.7, 4.8, 5.6, 4.8],
|
|
|
90
|
+ // profileScore: [5.7, 5.2, 4.8, 5.2, 4.9, 4.9], // lucy
|
|
|
91
|
+ targetScore: [5.3, 4.8, 5.7, 4.8, 5.6, 4.8], // Role
|
|
92
|
92
|
}),
|
|
93
|
93
|
methods: {
|
|
94
|
94
|
onTabChanged(tabs) {
|