项目列表行点击跳转事件添加限制
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2024-08-02 16:05:17 +08:00
parent 8597e0a7e8
commit 8b1679dfc5
1 changed files with 1 additions and 0 deletions

View File

@ -827,6 +827,7 @@ export default {
}).catch(() => { this.listLoading = false })
},
rowClick(row, col) {
if (row.TrialStatusStr === 'Initializing' && !this.hasPermi(['role:pm']) || row.IsDeleted) return
this.$router.push({ path: `/trials/trials-panel?trialId=${row.Id}&trialCode=${row.TrialCode}&researchProgramNo=${row.ResearchProgramNo}` })
},
// panel