diff --git a/src/api/v1/userLoginLog.ts b/src/api/v1/userLoginLog.ts index 767da67..9a77de2 100644 --- a/src/api/v1/userLoginLog.ts +++ b/src/api/v1/userLoginLog.ts @@ -6,11 +6,6 @@ export const fetchGetUserLoginLogList = (data: any) => { return http.request>('get', `userLoginLog/getUserLoginLogList/${data.currentPage}/${data.pageSize}`, { params: data }); }; -/** 用户登录日志---更新用户登录日志 */ -export const fetchUpdateUserLoginLog = (data: any) => { - return http.request>('put', 'userLoginLog/updateUserLoginLog', { data }); -}; - /** 用户登录日志---删除用户登录日志 */ export const fetchDeleteUserLoginLog = (data: any) => { return http.request>('delete', 'userLoginLog/deleteUserLoginLog', { data }); diff --git a/src/store/monitor/userLoginLog.ts b/src/store/monitor/userLoginLog.ts index c86f0e0..c6f11a5 100644 --- a/src/store/monitor/userLoginLog.ts +++ b/src/store/monitor/userLoginLog.ts @@ -1,5 +1,5 @@ import { defineStore } from 'pinia'; -import { fetchDeleteUserLoginLog, fetchGetUserLoginLogList, fetchUpdateUserLoginLog } from '@/api/v1/userLoginLog'; +import { fetchDeleteUserLoginLog, fetchGetUserLoginLogList } from '@/api/v1/userLoginLog'; import { pageSizes } from '@/enums/baseConstant'; import { storeMessage } from '@/utils/message'; import { storePagination } from '@/store/useStorePagination'; @@ -32,34 +32,10 @@ export const useUserLoginLogStore = defineStore('userLoginLogStore', { xRequestedWith: undefined, // 用户代理的品牌和版本 secChUa: undefined, - // 用户代理的底层平台架构 - secChUaArch: undefined, - // 用户代理的底层CPU架构位数 - secChUaBitness: undefined, // 用户代理是否在手机设备上运行 secChUaMobile: undefined, - // 用户代理的设备模型 - secChUaModel: undefined, // 用户代理的底层操作系统/平台 secChUaPlatform: undefined, - // 用户代理的底层操作系统版本 - secChUaPlatformVersion: undefined, - // 客户端设备像素比 - contentDpr: undefined, - // 客户端RAM内存的近似值 - deviceMemory: undefined, - // 客户端设备像素比 - dpr: undefined, - // 布局视口宽度 - viewportWidth: undefined, - // 所需资源宽度 - width: undefined, - // 客户端连接到服务器的近似带宽 - downlink: undefined, - // 有效连接类型 - ect: undefined, - // 应用层往返时间 - rtt: undefined, }, // 分页查询结果 pagination: { @@ -90,12 +66,6 @@ export const useUserLoginLogStore = defineStore('userLoginLogStore', { return pagination(result); }, - /** 修改用户登录日志 */ - async updateUserLoginLog(data: any) { - const result = await fetchUpdateUserLoginLog(data); - return storeMessage(result); - }, - /** 删除用户登录日志 */ async deleteUserLoginLog(data: any) { const result = await fetchDeleteUserLoginLog(data); diff --git a/src/views/monitor/schedulerExecuteLog/index.vue b/src/views/monitor/schedulerExecuteLog/index.vue index 40e20ac..f15675a 100644 --- a/src/views/monitor/schedulerExecuteLog/index.vue +++ b/src/views/monitor/schedulerExecuteLog/index.vue @@ -3,7 +3,7 @@ import { onMounted, ref } from 'vue'; import { columns } from '@/views/monitor/schedulerExecuteLog/utils/columns'; import PureTableBar from '@/components/TableBar/src/bar'; import PureTable from '@pureadmin/table'; -import { deleteIds, onDelete, onDeleteBatch, onSearch } from '@/views/monitor/schedulerExecuteLog/utils/hooks'; +import { deleteIds, onDelete, onDeleteBatch, onSearch, onView } from '@/views/monitor/schedulerExecuteLog/utils/hooks'; import Delete from '@iconify-icons/ep/delete'; import Refresh from '@iconify-icons/ep/refresh'; import { selectUserinfo } from '@/components/Table/Userinfo/columns'; @@ -11,6 +11,7 @@ import { $t } from '@/plugins/i18n'; import { useQuartzExecuteLogStore } from '@/store/monitor/quartzExecuteLog'; import { useRenderIcon } from '@/components/CommonIcon/src/hooks'; import { FormInstance } from 'element-plus'; +import View from '@iconify-icons/ep/view'; const tableRef = ref(); const formRef = ref(); @@ -83,7 +84,7 @@ onMounted(() => { - +