ggooalice 2 лет назад
Родитель
Сommit
a5eb69a9ce
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      fhKeeper/formulahousekeeper/timesheet/src/views/project/info.vue

+ 3 - 0
fhKeeper/formulahousekeeper/timesheet/src/views/project/info.vue

@@ -755,6 +755,9 @@
         methods: {
             levelTextShow(lev){
                 if(this.user.timeType.projectLevelState == 1){
+                    if(this.levelList.filter(item => item.id == lev).length == 0){
+                        return this.levelTxt[lev]
+                    }
                     return this.levelList.filter(item => item.id == lev)[0].projectLevelName
                 }else{
                     return this.levelTxt[lev]