---用户管理,网元管理等中英文
This commit is contained in:
@@ -248,7 +248,7 @@ function fnFormLogOutFinish() {
|
||||
logOutState.confirmLoading = true;
|
||||
const from = toRaw(logOutState.from);
|
||||
const key = 'exportLog';
|
||||
message.loading({ content: '请稍等...', key });
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
exportLog(from)
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
@@ -288,12 +288,12 @@ let backState: ModalStateType = reactive({
|
||||
/**日志备份对象保存 */
|
||||
function fnFormBackFinish() {
|
||||
Modal.confirm({
|
||||
title: '提示',
|
||||
title: t('common.tipTitle'),
|
||||
content: `确认手动备份该日志类型数据到文件吗?`,
|
||||
onOk() {
|
||||
backState.confirmLoading = true;
|
||||
const key = 'backupLog';
|
||||
message.loading({ content: '请稍等...', key });
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
backupLog(backState.from.logType)
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
@@ -335,12 +335,12 @@ function fnBackFileList() {
|
||||
/**日志备份文件下载 */
|
||||
function fnBackDownload(name: string, path: string) {
|
||||
Modal.confirm({
|
||||
title: '提示',
|
||||
title: t('common.tipTitle'),
|
||||
content: `确认下载该文件吗?`,
|
||||
onOk() {
|
||||
backState.confirmLoading = true;
|
||||
const key = 'backupDownload';
|
||||
message.loading({ content: '请稍等...', key });
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
backupDownload(path)
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
|
||||
Reference in New Issue
Block a user