修改对外报告管理按钮权限问题

This commit is contained in:
zyx.net
2022-08-11 09:32:37 +08:00
parent 9cb0b88fcd
commit 8d009c6b15
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -475,7 +475,7 @@ module.exports = {
away: 'Collapse',
toDoProcess: 'To Do',
processDone: 'Completed',
sentProcess: 'Create',
sentProcess: 'Initiated',
monitoringProcess: 'Monitor',
ConfirmDeployment: 'Confirm Deployment?',
terminationProcess: 'Termination Process',
+4 -2
View File
@@ -40,7 +40,7 @@
<span v-else :title="title">
{{title && title.length > 18?title.slice(0,17)+'...':title}}
</span>
<template #overlay >
<template #overlay v-if='manager'>
<a-menu @click="({ key: menuKey }) => onContextMenuClick(treeKey, menuKey, record)">
<a-menu-item key="1" @click="orgAdd" v-has="'externalReports:folder'">{{$t('Addingfolder')}}</a-menu-item>
<a-menu-item key="4" @click="orgAdds" v-has="'externalReports:folder'" v-if="deleteNode">{{$t('Addingsubfolders')}}</a-menu-item>
@@ -296,6 +296,7 @@ export default {
pageSize: 10,
pageNo: 1,
disabled:false,
manager:false,
total: 0,
tableData: [],
selectedRowKeys: [],
@@ -503,8 +504,9 @@ export default {
getAction(`extRepo/extRepoFolder/list`, {}).then(res => {
if (res.success) {
// this.data = this.toTree(res.result)
this.data = res.result
this.data = res.result.list
this.menuId = this.data[0].key
this.manager = res.result.manager
console.log(this.menuId)
let queryParam = {
supFolder: this.menuId