Jelajahi Sumber

2022.8.4 项目阶段修改漏洞

ggooalice 2 tahun lalu
induk
melakukan
94ec921bc4

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