2 Commity d9ec2796d4 ... 777862fc28

Autor SHA1 Wiadomość Data
  lixiangrui 777862fc28 feat: 个人画像 1 miesiąc temu
  lixiangrui af9fe4fbb0 feat: 个人画像 1 miesiąc temu

+ 3 - 3
src/views/portraitManagement/employeeProfile/index.vue

@@ -536,7 +536,7 @@ const examScoreStyle = (score) => {
536
 }
536
 }
537
 
537
 
538
 const radarColor = computed(() => {
538
 const radarColor = computed(() => {
539
-  return { line: '#EEBE7C',  fill: 'rgba(246, 238, 202, 0.8)', label: '#000' }
539
+  return { line: '#EEBE7C',  fill: 'rgba(246, 238, 202, 1)', label: '#000' }
540
 })
540
 })
541
 
541
 
542
 const tipRef = ref(null)
542
 const tipRef = ref(null)
@@ -553,9 +553,9 @@ const initChart = () => {
553
       indicator: dims.map(d => ({ name: d.name + '\n\n' + d.score, max: 100 })),
553
       indicator: dims.map(d => ({ name: d.name + '\n\n' + d.score, max: 100 })),
554
       center: ['50%', '52%'],
554
       center: ['50%', '52%'],
555
       radius: '65%',
555
       radius: '65%',
556
-      splitNumber: 7,
556
+      splitNumber: 8,
557
       axisLine: { lineStyle: { color: '#ccc' } },
557
       axisLine: { lineStyle: { color: '#ccc' } },
558
-      splitLine: { lineStyle: { color: ['#fe4322', '#fe4322', '#fe4322', '#fe4322', '#fe4322', '#fe4322', '#28ABE2', '#8EC742'], width: 3  } },
558
+      splitLine: { lineStyle: { color: ['#ccc', '#ccc', '#ccc', '#ccc', '#ccc', '#ccc', '#fe4322', '#8EC742', '#ccc'], width: 3  } },
559
       splitArea: { show: false },
559
       splitArea: { show: false },
560
       axisName: {
560
       axisName: {
561
         color: '#000',
561
         color: '#000',

+ 2 - 2
vite.config.js

@@ -2,8 +2,8 @@ import { defineConfig, loadEnv } from 'vite'
2
 import path from 'path'
2
 import path from 'path'
3
 import createVitePlugins from './vite/plugins'
3
 import createVitePlugins from './vite/plugins'
4
 
4
 
5
-// const baseUrl = 'http://localhost:8088' // 后端接口
6
-const baseUrl = 'http://airport.samsundot.com:9035/prod-api'
5
+const baseUrl = 'http://localhost:8088' // 后端接口
6
+// const baseUrl = 'http://airport.samsundot.com:9035/prod-api'
7
 // https://vitejs.dev/config/
7
 // https://vitejs.dev/config/
8
 export default defineConfig(({ mode, command }) => {
8
 export default defineConfig(({ mode, command }) => {
9
   const env = loadEnv(mode, process.cwd())
9
   const env = loadEnv(mode, process.cwd())