项目文档按钮权限更改
parent
b93ab130fb
commit
d616512a72
|
@ -620,7 +620,18 @@
|
||||||
]"
|
]"
|
||||||
circle
|
circle
|
||||||
icon="el-icon-folder-opened"
|
icon="el-icon-folder-opened"
|
||||||
:disabled="scope.row.IsDeleted"
|
:disabled="
|
||||||
|
(scope.row.TrialStatusStr === 'Initializing' &&
|
||||||
|
!hasPermi(['role:pm'])) ||
|
||||||
|
scope.row.IsDeleted ||
|
||||||
|
((scope.row.TrialStatusStr === 'Completed' ||
|
||||||
|
scope.row.TrialStatusStr === 'Stopped') &&
|
||||||
|
!(
|
||||||
|
hasPermi(['role:qa']) ||
|
||||||
|
hasPermi(['role:ea']) ||
|
||||||
|
hasPermi(['role:pm'])
|
||||||
|
))
|
||||||
|
"
|
||||||
:title="$t('trials:trials-list:action:trialDocument')"
|
:title="$t('trials:trials-list:action:trialDocument')"
|
||||||
@click.stop="toTrialDocument(scope.row)"
|
@click.stop="toTrialDocument(scope.row)"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue