mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-18 16:32:28 +00:00
perf: 修改 change auth plan (#1561)
* perf: 修改 change auth plan * perf: 还原 Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
@@ -125,7 +125,7 @@ export default {
|
||||
value: attr
|
||||
}
|
||||
}
|
||||
if (routerSearchAttrs.length === 0) {
|
||||
if (routerSearchAttrs.length !== 0) {
|
||||
delete routeFilter.search
|
||||
}
|
||||
|
||||
|
@@ -17,14 +17,21 @@ export default {
|
||||
const vm = this
|
||||
return {
|
||||
tableConfig: {
|
||||
permissions: {
|
||||
'app': 'xpack',
|
||||
'resource': 'applicationchangeauthplan'
|
||||
},
|
||||
url: '/api/v1/xpack/change-auth-plan/app-plan/',
|
||||
columns: [
|
||||
'name', 'password_strategy_display',
|
||||
'is_periodic', 'periodic_display', 'run_times', 'comment', 'org_name', 'actions'
|
||||
'name', 'password_strategy_display', 'is_periodic', 'periodic_display',
|
||||
'run_times', 'comment', 'org_name', 'actions'
|
||||
],
|
||||
columnsShow: {
|
||||
min: ['name', 'actions'],
|
||||
default: ['name', 'password_strategy_display', 'is_periodic', 'periodic_display', 'run_times', 'actions']
|
||||
default: [
|
||||
'name', 'password_strategy_display', 'is_periodic',
|
||||
'periodic_display', 'run_times', 'actions'
|
||||
]
|
||||
},
|
||||
columnsMeta: {
|
||||
name: {
|
||||
|
@@ -25,6 +25,10 @@ export default {
|
||||
const vm = this
|
||||
return {
|
||||
tableConfig: {
|
||||
permissions: {
|
||||
app: 'ops',
|
||||
resource: 'commandexecution'
|
||||
},
|
||||
url: '/api/v1/audits/command-execution-logs/',
|
||||
columns: [
|
||||
'hosts', 'user', 'command', 'run_as', 'result', 'is_finished',
|
||||
|
Reference in New Issue
Block a user