根据角色权限表核对开放页面以及功能
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
bf33f9d589
commit
cfef89c703
|
@ -223,6 +223,18 @@
|
|||
<!-- 详情 -->
|
||||
<el-button
|
||||
circle
|
||||
: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'])
|
||||
))
|
||||
"
|
||||
icon="el-icon-info"
|
||||
:title="$t('system:retrospect:table:detail')"
|
||||
@click.stop="handleDetail(scope.row)"
|
||||
|
@ -271,19 +283,11 @@
|
|||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="UserTypeShortName"
|
||||
:label="
|
||||
$t(
|
||||
'system:retrospect:table:UserTypeShortName'
|
||||
)
|
||||
"
|
||||
:label="$t('system:retrospect:table:UserTypeShortName')"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="IsDeleted"
|
||||
:label="
|
||||
$t(
|
||||
'system:retrospect:table:IsUserRoleDisabled'
|
||||
)
|
||||
"
|
||||
:label="$t('system:retrospect:table:IsUserRoleDisabled')"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<span> {{ $fd('IsDisable', scope.row.IsDeleted) }}</span>
|
||||
|
@ -291,11 +295,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="IsDeleted"
|
||||
:label="
|
||||
$t(
|
||||
'system:retrospect:table:enableTime'
|
||||
)
|
||||
"
|
||||
:label="$t('system:retrospect:table:enableTime')"
|
||||
min-width="120px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
|
@ -306,11 +306,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="IsDeleted"
|
||||
:label="
|
||||
$t(
|
||||
'system:retrospect:table:forbiddenTime'
|
||||
)
|
||||
"
|
||||
:label="$t('system:retrospect:table:forbiddenTime')"
|
||||
min-width="120px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
{{ $t('common:button:reset') }}
|
||||
</el-button>
|
||||
<el-button
|
||||
v-if="hasPermi(['trials:trials-panel:setting:email-manage:edit'])"
|
||||
type="primary"
|
||||
icon="el-icon-plus"
|
||||
size="small"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
:label="item.TrialReadingCriterionName"
|
||||
:name="item.TrialReadingCriterionId"
|
||||
>
|
||||
<div style="text-align: right; padding: 5px 0px" v-if="!hasPermi(['role:admin'])">
|
||||
<div style="text-align: right; padding: 5px 0px" v-if="!hasPermi(['role:admin','role:qa','role:ea'])">
|
||||
<!-- 同步当前标准 -->
|
||||
<el-button
|
||||
type="primary"
|
||||
|
|
|
@ -129,6 +129,7 @@
|
|||
<el-table-column
|
||||
:label="$t('common:action:action')"
|
||||
width="120"
|
||||
v-hasPermi="['trials:trials-panel:subject:brainMetastasis:Edit']"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<!-- 选择受试者 -->
|
||||
|
|
|
@ -216,6 +216,7 @@
|
|||
</el-table-column>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
v-if="hasPermi(['trials:trials-panel:subject:readingPeriod:edit'])"
|
||||
:fixed="(otherInfo.IsReadingPeriod || otherInfo.IsClinicalReading) && ReadingInfoSignTime && hasPermi(['trials:trials-panel:subject:readingPeriod:edit']) ? 'right':false"
|
||||
:label="(otherInfo.IsReadingPeriod || otherInfo.IsClinicalReading) && ReadingInfoSignTime && hasPermi(['trials:trials-panel:subject:readingPeriod:edit']) ? $t('common:action:action') : ''"
|
||||
:width="(otherInfo.IsReadingPeriod || otherInfo.IsClinicalReading) && ReadingInfoSignTime && hasPermi(['trials:trials-panel:subject:readingPeriod:edit']) ? '150px' : '80px' "
|
||||
|
|
Loading…
Reference in New Issue