mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-04 00:16:32 +00:00
fix: 应用改密去掉redis
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
import { GenericListTable } from '@/layout/components'
|
import { GenericListTable } from '@/layout/components'
|
||||||
import { DetailFormatter } from '@/components/TableFormatters'
|
import { DetailFormatter } from '@/components/TableFormatters'
|
||||||
import { openTaskPage } from '@/utils/jms'
|
import { openTaskPage } from '@/utils/jms'
|
||||||
import { DATABASE } from '@/views/perms/const'
|
import { AppPlanDatabase } from '@/views/perms/const'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AppChangeAuthPlanList',
|
name: 'AppChangeAuthPlanList',
|
||||||
@@ -126,7 +126,7 @@ export default {
|
|||||||
type: option.name.toLowerCase()
|
type: option.name.toLowerCase()
|
||||||
}})
|
}})
|
||||||
},
|
},
|
||||||
dropdown: DATABASE
|
dropdown: AppPlanDatabase
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -97,6 +97,45 @@ export const DATABASE = [
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
export const AppPlanDatabase = [
|
||||||
|
{
|
||||||
|
name: MYSQL,
|
||||||
|
title: i18n.t(`applications.applicationsType.${MYSQL}`),
|
||||||
|
type: 'primary',
|
||||||
|
category: DATABASE_CATEGORY,
|
||||||
|
has: true,
|
||||||
|
group: i18n.t('applications.RDBProtocol')
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: ORACLE,
|
||||||
|
title: i18n.t(`applications.applicationsType.${ORACLE}`),
|
||||||
|
type: 'primary',
|
||||||
|
category: DATABASE_CATEGORY,
|
||||||
|
has: hasLicence
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: POSTGRESQL,
|
||||||
|
title: i18n.t(`applications.applicationsType.${POSTGRESQL}`),
|
||||||
|
type: 'primary',
|
||||||
|
category: DATABASE_CATEGORY,
|
||||||
|
has: hasLicence
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: MARIADB,
|
||||||
|
title: i18n.t(`applications.applicationsType.${MARIADB}`),
|
||||||
|
type: 'primary',
|
||||||
|
category: DATABASE_CATEGORY,
|
||||||
|
has: hasLicence
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: SQLSERVER,
|
||||||
|
title: i18n.t(`applications.applicationsType.${SQLSERVER}`),
|
||||||
|
type: 'primary',
|
||||||
|
category: DATABASE_CATEGORY,
|
||||||
|
has: hasLicence
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
export const KUBERNETES = 'k8s'
|
export const KUBERNETES = 'k8s'
|
||||||
export const CLOUD_CATEGORY = 'cloud'
|
export const CLOUD_CATEGORY = 'cloud'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user