|
@@ -125,10 +125,11 @@
|
|
|
ClientTypeEnum,
|
|
ClientTypeEnum,
|
|
|
} from '@/types/log/constants';
|
|
} from '@/types/log/constants';
|
|
|
import useLoginLogQuery from '../hooks/useLoginLogQuery';
|
|
import useLoginLogQuery from '../hooks/useLoginLogQuery';
|
|
|
- import { ElMessage, ElMessageBox } from 'element-plus';
|
|
|
|
|
|
|
+ import { ElMessage } from 'element-plus';
|
|
|
import { exportLoginLog } from '@/api/system/log';
|
|
import { exportLoginLog } from '@/api/system/log';
|
|
|
import { downloadByData } from '@/utils/file/download';
|
|
import { downloadByData } from '@/utils/file/download';
|
|
|
import { calculateTreeData } from '@/utils';
|
|
import { calculateTreeData } from '@/utils';
|
|
|
|
|
+ import { msgConfirm } from '@/utils/element-plus/messageBox';
|
|
|
|
|
|
|
|
const { requestParams, total, loginLogList, queryLoginLogPage, loading, resetRequestParams } = useLoginLogQuery();
|
|
const { requestParams, total, loginLogList, queryLoginLogPage, loading, resetRequestParams } = useLoginLogQuery();
|
|
|
|
|
|
|
@@ -143,7 +144,7 @@
|
|
|
|
|
|
|
|
/* 导出数据 */
|
|
/* 导出数据 */
|
|
|
const handleExport = () => {
|
|
const handleExport = () => {
|
|
|
- ElMessageBox.confirm('确定导出所查询数据?', '导出', {
|
|
|
|
|
|
|
+ msgConfirm('确定导出所查询数据?', '导出', {
|
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
|
showCancelButton: true,
|
|
showCancelButton: true,
|
|
|
type: 'warning',
|
|
type: 'warning',
|