fix:修改所有的 high medium low 为 P1 P2 P3

This commit is contained in:
zhangyu
2020-10-14 14:24:07 +08:00
parent 55bd2fde5b
commit d1d1f00b52
15 changed files with 121 additions and 115 deletions

View File

@@ -97,9 +97,9 @@ export const asset = {
export const alertMessage = {
severityData: [
{value: 'medium', label: i18n.t("alert.config.medium")},
{value: 'high', label: i18n.t("alert.config.high")},
{value: 'low', label: i18n.t("alert.config.low")}
{value: 'P2', label: i18n.t("alert.config.P2")},
{value: 'P1', label: i18n.t("alert.config.P1")},
{value: 'P3', label: i18n.t("alert.config.P3")}
],
typeData: [
{value: 1, label: i18n.t('alert.config.typeOption.project')},
@@ -107,9 +107,9 @@ export const alertMessage = {
{value: 3, label: i18n.t('alert.config.typeOption.asset')}
],
levels:[
{value: 'medium', label: i18n.t("alert.config.medium")},
{value: 'high', label: i18n.t("alert.config.high")},
{value: 'low', label: i18n.t("alert.config.low")}
{value: 'P2', label: i18n.t("alert.config.P2")},
{value: 'P1', label: i18n.t("alert.config.P1")},
{value: 'P3', label: i18n.t("alert.config.P3")}
],
states:[
{value: '1', label: i18n.t('alert.list.pending')},