Explorar o código

feat: 个人画像

lixiangrui hai 1 mes
pai
achega
6ee2540a69
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/views/portraitManagement/employeeProfile/index.vue

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

@@ -118,9 +118,9 @@
118 118
                   <div class="basic-label">标签:</div>
119 119
                   <div style="display: flex; flex-wrap: wrap; gap: 8px;">
120 120
                     <el-tag size="small" type="primary" style="margin-right:6px" v-if="portrait.roleNames">{{ portrait.roleNames }}</el-tag>
121
-                    <template v-if="portrait.postNames">
121
+                    <!-- <template v-if="portrait.postNames">
122 122
                       <el-tag size="small" v-for="value in portrait.postNames.split('、')" :key="value" type="warning" >{{ value }}</el-tag>
123
-                    </template>
123
+                    </template> -->
124 124
                   </div>
125 125
                   
126 126
                 </div>
@@ -494,7 +494,7 @@ const scoreLevel = computed(() => {
494 494
 })
495 495
 
496 496
 const positionList = computed(() => {
497
-  const pos = portrait.value?.securityInspectionPosition
497
+  const pos = portrait.value?.postNames
498 498
   if (!pos) return []
499 499
   return pos.split(/[,,、/]/).map(s => s.trim()).filter(Boolean)
500 500
 })