lixiangrui 1 месяц назад
Родитель
Сommit
6ee2540a69
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      src/views/portraitManagement/employeeProfile/index.vue

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

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