瀏覽代碼

2022.10.11 无甚改动

ggooalice 2 年之前
父節點
當前提交
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]