fix 79791

This commit is contained in:
赵霄
2024-01-08 17:15:28 +08:00
parent 5a2a90957a
commit c2496581be
2 changed files with 15 additions and 3 deletions
@@ -55,6 +55,8 @@ module.exports = {
// 资料中心
profileCenter: {
typeOfOwnership: '所属类型',
uploadData: '上传资料'
uploadData: '上传资料',
addAPeer: '新增同级',
newChild: '新增子级'
}
}
@@ -27,23 +27,27 @@
v-if="hasManagePermission(record)">
<!--新增同级-->
<a-button icon="plus"
:title="$t('standardRegulationLibrary.profileCenter.addAPeer')"
class="tree-operate-node-btn"
@click.stop="handleAddPeerFolder(record)"
v-has="'profileCenter:addPeer'" />
<!--新增子级-->
<a-button class="tree-operate-node-btn"
:title="$t('standardRegulationLibrary.profileCenter.newChild')"
@click.stop="handleAddChildrenFolder(record)"
v-has="'profileCenter:addChildren'">
<i class="iconfont icon-wenjian-tianjia" />
</a-button>
<!--编辑-->
<a-button class="tree-operate-node-btn"
:title="$t('edit')"
@click.stop="handleEditTreeNode(record)"
v-has="'profileCenter:editFolder'">
<i class="iconfont icon-bianji" />
</a-button>
<!--删除根节点不能删除-->
<a-button class="tree-operate-node-btn"
:title="$t('delete')"
@click.stop="handleDelTreeNode(record)"
v-has="'profileCenter:deleteFolder'">
<i class="iconfont icon-shanchu_" />
@@ -199,13 +203,19 @@ export default {
{
text: this.$t('edit'),
clickEvent: 'handleEdit',
has: 'profileCenter:table'
has: 'profileCenter:table',
show: (record) => {
return record.authManageTag
}
},
// 删除
{
text: this.$t('delete'),
clickEvent: 'handleDelete',
has: 'profileCenter:table'
has: 'profileCenter:table',
show: (record) => {
return record.authManageTag
}
}
],
url: {