mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-26 06:58:53 +00:00
fix: 修改改密计划权限位联动
This commit is contained in:
committed by
Jiangjie.Bai
parent
fc9b09f5fd
commit
edf09d3260
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<GenericDetailPage :object.sync="TaskDetail" :active-menu.sync="config.activeMenu" v-bind="config" v-on="$listeners">
|
<GenericDetailPage :object.sync="TaskDetail" :active-menu.sync="config.activeMenu" v-bind="config" v-on="$listeners">
|
||||||
<keep-alive>
|
<keep-alive>
|
||||||
<component :is="config.activeMenu" :object="TaskDetail" />
|
<component :is="config.activeMenu" :object="TaskDetail" @update:activeMenu="handleUpdate" />
|
||||||
</keep-alive>
|
</keep-alive>
|
||||||
</GenericDetailPage>
|
</GenericDetailPage>
|
||||||
</template>
|
</template>
|
||||||
@@ -55,6 +55,11 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
handleUpdate(data) {
|
||||||
|
this.config.activeMenu = data
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@@ -125,8 +125,12 @@ export default {
|
|||||||
'xpack.view_syncinstancetask': ['xpack.view_account'],
|
'xpack.view_syncinstancetask': ['xpack.view_account'],
|
||||||
'xpack.view_syncinstancedetail': ['xpack.view_syncinstancetask'],
|
'xpack.view_syncinstancedetail': ['xpack.view_syncinstancetask'],
|
||||||
'xpack.view_syncinstancetaskexecution': ['xpack.view_syncinstancetask'],
|
'xpack.view_syncinstancetaskexecution': ['xpack.view_syncinstancetask'],
|
||||||
|
'xpack.view_changeauthplan': ['assets.view_asset'],
|
||||||
'xpack.view_changeauthplantask': ['xpack.view_changeauthplan'],
|
'xpack.view_changeauthplantask': ['xpack.view_changeauthplan'],
|
||||||
'xpack.view_changeauthplanexecution': ['xpack.view_changeauthplan']
|
'xpack.view_changeauthplanexecution': ['xpack.view_changeauthplan'],
|
||||||
|
'xpack.view_applicationchangeauthplan': ['applications.view_application', 'assets.view_systemuser'],
|
||||||
|
'xpack.view_applicationchangeauthplantask': ['xpack.view_applicationchangeauthplan'],
|
||||||
|
'xpack.view_applicationchangeauthplanexecution': ['xpack.view_applicationchangeauthplan']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user