소스 검색

2022.7.25

ggooalice 2 년 전
부모
커밋
ade0a63b1c
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      fhKeeper/formulahousekeeper/timesheet/src/views/project/list.vue

+ 3 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/project/list.vue

@@ -209,9 +209,10 @@
             </template>
             </el-table-column>
             <!-- 级别 -->
-            <el-table-column prop="level" label="级别" min-width="190"   v-if="user.company.packageProject == 1">
+            <el-table-column :prop="user.timeType.projectLevelState == 1 ? 'levelName' : 'level'" label="级别" min-width="190"   v-if="user.company.packageProject == 1">
                 <template slot-scope="scope">
-                    {{importanceListLable[scope.row.level - 1]}}
+                    <span v-if="user.timeType.projectLevelState == 1">{{scope.row.levelName}}</span>
+                    <span v-else>{{importanceListLable[scope.row.level - 1]}}</span>
                 </template>
             </el-table-column>
             <!-- 供应商 -->