根据角色权限表核对开放页面以及功能
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
|
<el-button
|
||||||
circle
|
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"
|
icon="el-icon-info"
|
||||||
:title="$t('system:retrospect:table:detail')"
|
:title="$t('system:retrospect:table:detail')"
|
||||||
@click.stop="handleDetail(scope.row)"
|
@click.stop="handleDetail(scope.row)"
|
||||||
|
@ -271,19 +283,11 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="UserTypeShortName"
|
prop="UserTypeShortName"
|
||||||
:label="
|
:label="$t('system:retrospect:table:UserTypeShortName')"
|
||||||
$t(
|
|
||||||
'system:retrospect:table:UserTypeShortName'
|
|
||||||
)
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="IsDeleted"
|
prop="IsDeleted"
|
||||||
:label="
|
:label="$t('system:retrospect:table:IsUserRoleDisabled')"
|
||||||
$t(
|
|
||||||
'system:retrospect:table:IsUserRoleDisabled'
|
|
||||||
)
|
|
||||||
"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span> {{ $fd('IsDisable', scope.row.IsDeleted) }}</span>
|
<span> {{ $fd('IsDisable', scope.row.IsDeleted) }}</span>
|
||||||
|
@ -291,11 +295,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="IsDeleted"
|
prop="IsDeleted"
|
||||||
:label="
|
:label="$t('system:retrospect:table:enableTime')"
|
||||||
$t(
|
|
||||||
'system:retrospect:table:enableTime'
|
|
||||||
)
|
|
||||||
"
|
|
||||||
min-width="120px"
|
min-width="120px"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
@ -306,11 +306,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="IsDeleted"
|
prop="IsDeleted"
|
||||||
:label="
|
:label="$t('system:retrospect:table:forbiddenTime')"
|
||||||
$t(
|
|
||||||
'system:retrospect:table:forbiddenTime'
|
|
||||||
)
|
|
||||||
"
|
|
||||||
min-width="120px"
|
min-width="120px"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|
|
@ -76,6 +76,7 @@
|
||||||
{{ $t('common:button:reset') }}
|
{{ $t('common:button:reset') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
|
v-if="hasPermi(['trials:trials-panel:setting:email-manage:edit'])"
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="small"
|
size="small"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
:label="item.TrialReadingCriterionName"
|
:label="item.TrialReadingCriterionName"
|
||||||
:name="item.TrialReadingCriterionId"
|
: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
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
|
|
|
@ -129,6 +129,7 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:label="$t('common:action:action')"
|
:label="$t('common:action:action')"
|
||||||
width="120"
|
width="120"
|
||||||
|
v-hasPermi="['trials:trials-panel:subject:brainMetastasis:Edit']"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- 选择受试者 -->
|
<!-- 选择受试者 -->
|
||||||
|
|
|
@ -216,6 +216,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</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"
|
: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') : ''"
|
: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' "
|
:width="(otherInfo.IsReadingPeriod || otherInfo.IsClinicalReading) && ReadingInfoSignTime && hasPermi(['trials:trials-panel:subject:readingPeriod:edit']) ? '150px' : '80px' "
|
||||||
|
|
Loading…
Reference in New Issue