---用户管理,网元管理等中英文
This commit is contained in:
@@ -587,7 +587,7 @@ function fnCancelConfirm() {
|
||||
title: 'Tip',
|
||||
content: `确认是否取消确认告警?`,
|
||||
onOk() {
|
||||
const hide = message.loading('请稍等...', 0);
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
cancelConfirm(state.selectedRowKeys).then(res => {
|
||||
hide();
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
@@ -611,7 +611,7 @@ function fnCancelConfirm() {
|
||||
* 手工同步
|
||||
*/
|
||||
function fnSync() {
|
||||
const hide = message.loading('请稍等...', 0);
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
listSync().then(res => {
|
||||
hide();
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
@@ -637,7 +637,7 @@ function fnClear() {
|
||||
title: 'Tip',
|
||||
content: `是否清除该告警?`,
|
||||
onOk() {
|
||||
const hide = message.loading('请稍等...', 0);
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
clearAlarm(state.selectedRowKeys).then(res => {
|
||||
hide();
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
@@ -662,7 +662,7 @@ function fnClear() {
|
||||
*/
|
||||
function fnShowSet() {
|
||||
if (modalState.confirmLoading) return;
|
||||
const hide = message.loading('正在打开...', 0);
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
modalState.confirmLoading = true;
|
||||
getPass().then(res => {
|
||||
modalState.confirmLoading = false;
|
||||
@@ -689,7 +689,7 @@ function fnExportAll() {
|
||||
content: `确认是否导出全部活动告警信息?`,
|
||||
onOk() {
|
||||
const key = 'exportAlarm';
|
||||
message.loading({ content: '请稍等...', key });
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
exportAll(queryParams).then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
message.success({
|
||||
|
||||
@@ -466,7 +466,7 @@ function fnCancelConfirm() {
|
||||
title: 'Tip',
|
||||
content: `确认是否取消确认告警?`,
|
||||
onOk() {
|
||||
const hide = message.loading('请稍等...', 0);
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
cancelConfirm(state.selectedRowKeys).then(res => {
|
||||
hide();
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
@@ -495,7 +495,7 @@ function fnExportAll() {
|
||||
content: `确认是否导出全部历史告警信息?`,
|
||||
onOk() {
|
||||
const key = 'exportAlarmHis';
|
||||
message.loading({ content: '请稍等...', key });
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
exportAll(queryParams).then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
message.success({
|
||||
|
||||
Reference in New Issue
Block a user