ggooalice 2 anos atrás
pai
commit
ade0a63b1c

+ 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>
             <!-- 供应商 -->