fix: 告警确认相关提示Tip多语言显示
This commit is contained in:
@@ -531,7 +531,7 @@ const onSelectChange = (
|
||||
*/
|
||||
function fnCancelConfirm() {
|
||||
Modal.confirm({
|
||||
title: 'Tip',
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.faultManage.activeAlarm.cancelSure'),
|
||||
onOk() {
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
@@ -582,7 +582,7 @@ function fnSync() {
|
||||
*/
|
||||
function fnClear() {
|
||||
Modal.confirm({
|
||||
title: 'Tip',
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.faultManage.activeAlarm.delSure'),
|
||||
onOk() {
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
@@ -651,7 +651,7 @@ function mapKeysWithReduce(data: any[], titleMapping: Record<string, string>) {
|
||||
*/
|
||||
function fnExportAll() {
|
||||
Modal.confirm({
|
||||
title: 'Tip',
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.faultManage.activeAlarm.exportSure'),
|
||||
onOk() {
|
||||
const key = 'exportAlarm';
|
||||
|
||||
@@ -323,7 +323,7 @@ function mapKeysWithReduce(data: any, titleMapping: any) {
|
||||
*/
|
||||
function fnExportAll() {
|
||||
Modal.confirm({
|
||||
title: 'Tip',
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.faultManage.eventAlarm.exportSure'),
|
||||
onOk() {
|
||||
const key = 'exportAlarm';
|
||||
|
||||
@@ -420,7 +420,7 @@ const onSelectChange = (
|
||||
*/
|
||||
function fnCancelConfirm() {
|
||||
Modal.confirm({
|
||||
title: 'Tip',
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.faultManage.activeAlarm.cancelSure'),
|
||||
onOk() {
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
@@ -465,7 +465,7 @@ function mapKeysWithReduce(data: any[], titleMapping: Record<string, string>) {
|
||||
*/
|
||||
function fnExportAll() {
|
||||
Modal.confirm({
|
||||
title: 'Tip',
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.faultManage.activeAlarm.exportSure'),
|
||||
onOk() {
|
||||
const key = 'exportAlarmHis';
|
||||
|
||||
@@ -265,7 +265,7 @@ const statsColumns: TableColumnType<any>[] = [
|
||||
*/
|
||||
function fnRecordExport() {
|
||||
Modal.confirm({
|
||||
title: 'Tip',
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.perfManage.goldTarget.exportSure'),
|
||||
onOk() {
|
||||
const key = 'exportKPI';
|
||||
|
||||
@@ -276,7 +276,7 @@ const statsColumns: TableColumnType<any>[] = [
|
||||
*/
|
||||
function fnRecordExport() {
|
||||
Modal.confirm({
|
||||
title: 'Tip',
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.perfManage.goldTarget.exportSure'),
|
||||
onOk() {
|
||||
const key = 'exportKPI';
|
||||
|
||||
Reference in New Issue
Block a user