修改对外报告管理按钮权限问题
This commit is contained in:
@@ -475,7 +475,7 @@ module.exports = {
|
|||||||
away: 'Collapse',
|
away: 'Collapse',
|
||||||
toDoProcess: 'To Do',
|
toDoProcess: 'To Do',
|
||||||
processDone: 'Completed',
|
processDone: 'Completed',
|
||||||
sentProcess: 'Create',
|
sentProcess: 'Initiated',
|
||||||
monitoringProcess: 'Monitor',
|
monitoringProcess: 'Monitor',
|
||||||
ConfirmDeployment: 'Confirm Deployment?',
|
ConfirmDeployment: 'Confirm Deployment?',
|
||||||
terminationProcess: 'Termination Process',
|
terminationProcess: 'Termination Process',
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
<span v-else :title="title">
|
<span v-else :title="title">
|
||||||
{{title && title.length > 18?title.slice(0,17)+'...':title}}
|
{{title && title.length > 18?title.slice(0,17)+'...':title}}
|
||||||
</span>
|
</span>
|
||||||
<template #overlay >
|
<template #overlay v-if='manager'>
|
||||||
<a-menu @click="({ key: menuKey }) => onContextMenuClick(treeKey, menuKey, record)">
|
<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="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>
|
<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,
|
pageSize: 10,
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
disabled:false,
|
disabled:false,
|
||||||
|
manager:false,
|
||||||
total: 0,
|
total: 0,
|
||||||
tableData: [],
|
tableData: [],
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
@@ -503,8 +504,9 @@ export default {
|
|||||||
getAction(`extRepo/extRepoFolder/list`, {}).then(res => {
|
getAction(`extRepo/extRepoFolder/list`, {}).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
// this.data = this.toTree(res.result)
|
// this.data = this.toTree(res.result)
|
||||||
this.data = res.result
|
this.data = res.result.list
|
||||||
this.menuId = this.data[0].key
|
this.menuId = this.data[0].key
|
||||||
|
this.manager = res.result.manager
|
||||||
console.log(this.menuId)
|
console.log(this.menuId)
|
||||||
let queryParam = {
|
let queryParam = {
|
||||||
supFolder: this.menuId
|
supFolder: this.menuId
|
||||||
|
|||||||
Reference in New Issue
Block a user