[update 资料中心] 增加下载权限

This commit is contained in:
danshihao
2024-07-17 10:05:22 +08:00
parent af21943b50
commit c4c1585cf0
2 changed files with 19 additions and 3 deletions
@@ -3,7 +3,7 @@
<!-- 树部分-->
<div class="page-left-box">
<a-input-search v-model="treeInput" class="tree-search"
:placeholder="$t('standardRegulationLibrary.domesticStandard.treeSearchPlaceholder')"
:placeholder="$t('standardRegulationLibrary.foreignStandard.treeSearchPlaceholder')"
@search="handleTreeSearch" />
<div class="page-tree-box page-tree-box-has-search">
<a-spin :spinning="treeLoading">
@@ -199,7 +199,10 @@ export default {
{
text: this.$t('download'),
clickEvent: 'handleDownload',
has: 'profileCenter:table'
has: 'profileCenter:table',
show: (record) => {
return record.authDownloadTag
}
},
// 编辑
{
@@ -404,7 +407,7 @@ export default {
@import '~@assets/less/common.less';
.tree-operate-node-selected {
background-color: #ffd9d1 !important;
//background-color: #ffd9d1 !important;
}
/deep/ .table-page-search-wrapper .ant-form-inline .ant-form-item > .ant-form-item-label {