---用户管理,网元管理等中英文
This commit is contained in:
@@ -203,11 +203,11 @@ function fnTableSelectedRows(
|
||||
function fnRecordDelete() {
|
||||
const ids = tableState.selectedRowKeys.join(',');
|
||||
Modal.confirm({
|
||||
title: '提示',
|
||||
title: t('common.tipTitle'),
|
||||
content: `确认删除访问编号为 【${ids}】 的数据项吗?`,
|
||||
onOk() {
|
||||
const key = 'delSysLogLogin';
|
||||
message.loading({ content: '请稍等...', key });
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
delSysLogLogin(ids).then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
message.success({
|
||||
@@ -231,11 +231,11 @@ function fnRecordDelete() {
|
||||
/**列表清空 */
|
||||
function fnCleanList() {
|
||||
Modal.confirm({
|
||||
title: '提示',
|
||||
title: t('common.tipTitle'),
|
||||
content: `确认清空所有登录日志数据项?`,
|
||||
onOk() {
|
||||
const key = 'cleanSysLogLogin';
|
||||
message.loading({ content: '请稍等...', key });
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
cleanSysLogLogin().then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
message.success({
|
||||
@@ -260,10 +260,10 @@ function fnCleanList() {
|
||||
function fnUnlock() {
|
||||
const username = tableState.selectedUserName;
|
||||
Modal.confirm({
|
||||
title: '提示',
|
||||
title: t('common.tipTitle'),
|
||||
content: `确认解锁用户 【${username}】 数据项?`,
|
||||
onOk() {
|
||||
const hide = message.loading('请稍等...', 0);
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
unlock(username).then(res => {
|
||||
hide();
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
@@ -285,11 +285,11 @@ function fnUnlock() {
|
||||
/**列表导出 */
|
||||
function fnExportList() {
|
||||
Modal.confirm({
|
||||
title: '提示',
|
||||
title: t('common.tipTitle'),
|
||||
content: `确认根据搜索条件导出xlsx表格文件吗?`,
|
||||
onOk() {
|
||||
const key = 'exportSysLogLogin';
|
||||
message.loading({ content: '请稍等...', key });
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
exportSysLogLogin(toRaw(queryParams)).then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
message.success({
|
||||
|
||||
Reference in New Issue
Block a user