Quellcode durchsuchen

feat: 个人画像

lixiangrui vor 1 Monat
Ursprung
Commit
4968c57f0c
3 geänderte Dateien mit 8 neuen und 8 gelöschten Zeilen
  1. 3 3
      script/deploy.mjs
  2. 3 3
      src/views/portraitManagement/employeeProfile/index.vue
  3. 2 2
      vite.config.js

+ 3 - 3
script/deploy.mjs

@@ -34,10 +34,10 @@ const config = options.env === 'prod' ? {
34 34
   localPath: join(projectRoot, 'dist'),
35 35
   accessLocation: 'http://airport.samsundot.com:9011'
36 36
 } : {
37
-  host: '192.168.3.221',
37
+  host: '36.112.109.202',
38 38
   username: 'root',
39
-  password: 'root', // 运行时输入
40
-  remotePath: '/opt/data/airport-web/dist',
39
+  password: '2wsx12!@', // 运行时输入
40
+  remotePath: '/opt/chongqing-test/airport-web/dist',
41 41
   localPath: join(projectRoot, 'dist')
42 42
 }
43 43
 

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

@@ -312,15 +312,15 @@
312 312
               </div>
313 313
               <div class="supp-item">
314 314
                 <span class="s-lbl">监察问题记录</span>
315
-                <span class="s-val">{{ portrait.d ?? '-' }}</span>
315
+                <span class="s-val">{{ portrait.qualityControlEventCount ?? '-' }}</span>
316 316
               </div>
317 317
               <div class="supp-item">
318 318
                 <span class="s-lbl">三级质控巡查记录</span>
319
-                <span class="s-val">{{ portrait.e ?? '-' }}</span>
319
+                <span class="s-val">{{ portrait.level3QualityControlCount ?? '-' }}</span>
320 320
               </div>
321 321
               <div class="supp-item">
322 322
                 <span class="s-lbl">实时质控拦截记录</span>
323
-                <span class="s-val">{{ portrait.q ?? '-' }}</span>
323
+                <span class="s-val">{{ portrait.realtimeInterceptionCount ?? '-' }}</span>
324 324
               </div>
325 325
             </div>
326 326
           </div>

+ 2 - 2
vite.config.js

@@ -2,8 +2,8 @@ import { defineConfig, loadEnv } from 'vite'
2 2
 import path from 'path'
3 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 7
 // https://vitejs.dev/config/
8 8
 export default defineConfig(({ mode, command }) => {
9 9
   const env = loadEnv(mode, process.cwd())