浏览代码

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)
                     }