소스 검색

2022.8.4 项目阶段修改漏洞

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

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

@@ -1258,11 +1258,11 @@ a {
                 column.index=columnIndex;
             },
             clickCell(row,column) {
-                console.log(this.permissions.projectManagement || this.user.id==row.inchargerId || this.user.id==row.creatorId)
+                // console.log('can can need',row,column)
                 if(this.permissions.projectManagement || this.user.id==row.inchargerId || this.user.id==row.creatorId) {
                     this.phaseProjectValie = row.currentStageId  ? row.currentStageId : ''
                     this.currentCell = row.index + ',' + column.index;
-                    if(column.index == 6) {
+                    if(column.label == '项目阶段') {
                         this.phaseProjectId = row.id
                         // this.obtainPhase(row)
                     }