refactor(数据集): 数据集导出权限由管理权限控制

This commit is contained in:
wangjiahao 2023-02-09 15:55:32 +08:00
parent 157d66523f
commit 4dc3e3d877

View File

@ -59,6 +59,7 @@
:span="8"
>
<deBtn
v-if="hasDataPermission('manage', param.privileges)"
:disabled="!previewDataSuccess"
type="primary"
icon="el-icon-download"
@ -233,7 +234,8 @@
<deBtn
secondary
@click="closeExport"
>{{ $t('dataset.cancel') }}</deBtn>
>{{ $t('dataset.cancel') }}
</deBtn>
<deBtn
type="primary"
@click="exportDatasetRequest"
@ -520,12 +522,14 @@ export default {
border-radius: 4px;
border: 1px solid var(--deBorderBase, #DCDFE6);
overflow: auto;
.content {
height: 100%;
width: 100%;
}
}
}
.icon-class {
color: #6c6c6c;
}
@ -546,6 +550,7 @@ export default {
overflow-y: hidden;
width: 100%;
box-sizing: border-box;
.de-dataset-name {
display: flex;
font-family: PingFang SC;