[manager,webapp]优化监控类型参数,告警处理提示

This commit is contained in:
tomsun28
2022-01-30 12:39:23 +08:00
parent 9b08d8d19b
commit 6a9fe9912f
12 changed files with 194 additions and 58 deletions

View File

@@ -106,7 +106,7 @@ export class AlertCenterComponent implements OnInit {
return;
}
this.modal.confirm({
nzTitle: '请确认是否批量标记已',
nzTitle: '请确认是否批量标记已处理',
nzOkText: '确定',
nzCancelText: '取消',
nzOkDanger: true,
@@ -120,7 +120,7 @@ export class AlertCenterComponent implements OnInit {
return;
}
this.modal.confirm({
nzTitle: '请确认是否批量标记未',
nzTitle: '请确认是否批量标记未处理',
nzOkText: '确定',
nzCancelText: '取消',
nzOkDanger: true,
@@ -146,7 +146,7 @@ export class AlertCenterComponent implements OnInit {
let alerts = new Set<number>();
alerts.add(alertId);
this.modal.confirm({
nzTitle: '请确认是否标记已',
nzTitle: '请确认是否标记已处理',
nzOkText: '确定',
nzCancelText: '取消',
nzOkDanger: true,
@@ -159,7 +159,7 @@ export class AlertCenterComponent implements OnInit {
let alerts = new Set<number>();
alerts.add(alertId);
this.modal.confirm({
nzTitle: '请确认是否标记未',
nzTitle: '请确认是否标记未处理',
nzOkText: '确定',
nzCancelText: '取消',
nzOkDanger: true,

View File

@@ -1,6 +1,6 @@
{
"app": {
"name": "探云",
"name": "TANCLOUD",
"description": "易用友好的高性能监控云"
},
"user": {
@@ -50,9 +50,9 @@
"i18n": "monitor.app.ping"
},
{
"text": "telnet",
"link": "/monitors?app=telnet",
"i18n": "monitor.app.telnet"
"text": "port",
"link": "/monitors?app=port",
"i18n": "monitor.app.port"
}
]
},
@@ -63,7 +63,7 @@
"children": [
{
"text": "Mysql",
"link": "/monitors",
"link": "/monitors?app=mysql",
"i18n": "monitor.app.mysql"
},
{
@@ -105,6 +105,20 @@
"link": "/alert/notice"
}
]
},
{
"text": "More",
"i18n": "menu.extras",
"group": true,
"hideInBreadcrumb": true,
"children": [
{
"text": "Settings",
"link": "/account/settings",
"i18n": "menu.extras.setting",
"icon": "anticon-setting"
}
]
}
]
}

View File

@@ -17,7 +17,9 @@
"account": {
"": "个人页",
"center": "个人中心",
"settings": "个人设置",
"settings": "账户设置",
"security": "安全设置",
"binding": "账号绑定",
"trigger": "触发错误",
"logout": "退出登录"
},
@@ -49,7 +51,7 @@
"api": "HTTP API",
"http": "HTTP API",
"ping": "PING连通性",
"telnet": "Telnet端口可用性",
"port": "端口可用性",
"mysql": "Mysql",
"oracle": "Oracle",
"redis": "Redis"
@@ -71,7 +73,9 @@
}
},
"app.lock": "锁屏",
"app.login.message-invalid-credentials": "账户或密码错误admin/ant.design",
"app.login.message-need-identifier": "请输入邮箱或手机号",
"app.login.message-need-credential": "请输入密码",
"app.login.message-invalid-credentials": "账户或密码错误",
"app.login.message-invalid-verification-code": "验证码错误",
"app.login.tab-login-credentials": "账户密码登录",
"app.login.tab-login-mobile": "手机号登录",
@@ -80,16 +84,22 @@
"app.login.sign-in-with": "其他登录方式",
"app.login.signup": "注册账户",
"app.login.login": "登录",
"app.password.forgot": "忘记密码",
"app.password.reset": "重置密码",
"app.register.register": "注册",
"app.register.get-verification-code": "获取验证码",
"app.register.sign-in": "使用已有账户登录",
"app.register-result.msg": "你的账户:{{email}} 注册成功",
"app.register-result.activation-email":
"激活邮件已发送到你的邮箱中邮件有效期为24小时。请及时登录邮箱,点击邮件中的链接激活帐户。",
"额外赠送监控额度邮件已发送到你的邮箱中。请及时登录邮箱,点击邮件中的链接领取。",
"app.register-result.login": "开始登陆",
"app.register-result.back-home": "返回首页",
"app.register-result.view-mailbox": "查看邮箱",
"validation.email.required": "请输入邮箱地址!",
"validation.email.wrong-format": "邮箱地址格式错误!",
"validation.email.invalid": "无效的邮箱地址!",
"validation.phone.invalid": "无效的手机号!",
"validation.verification-code.invalid": "无效的验证码,应是6位数字",
"validation.password.required": "请输入密码!",
"validation.password.twice": "两次输入的密码不匹配!",
"validation.password.strength.msg": "请至少输入 6 个字符。请不要使用容易被猜到的密码。",
@@ -103,5 +113,6 @@
"validation.title.required": "请输入标题",
"validation.date.required": "请选择起止日期",
"validation.goal.required": "请输入目标描述",
"validation.standard.required": "请输入衡量标准"
"validation.standard.required": "请输入衡量标准",
"validation.required": "请填充必填项! "
}