Merge pull request #4497 from dataease/pr@dev@refactor_dataset-export

refactor(数据集): 数据集导出权限由管理权限控制
This commit is contained in:
王嘉豪 2023-02-09 15:56:48 +08:00 committed by GitHub
commit a35d01c42c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;