根据角色权限表核对开放页面以及功能
continuous-integration/drone/push Build is passing Details

uat
wangxiaoshuang 2025-03-06 15:37:13 +08:00
parent bf33f9d589
commit cfef89c703
5 changed files with 20 additions and 21 deletions

View File

@ -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">

View File

@ -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"

View File

@ -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"

View File

@ -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">
<!-- 选择受试者 -->

View File

@ -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' "