sftp 操作日志.

This commit is contained in:
lijiahang
2024-02-23 18:20:48 +08:00
parent 471f149a04
commit f8e96a6b54
45 changed files with 442 additions and 151 deletions

View File

@@ -32,6 +32,7 @@
</template>
<!-- 操作日志 -->
<template #originLogInfo="{ record }">
<icon-copy class="copy-left" @click="copy(record.originLogInfo, '已复制')" />
<span v-html="replaceHtmlTag(record.logInfo)" />
</template>
<!-- 操作 -->
@@ -64,6 +65,7 @@
import { replaceHtmlTag, clearHtmlTag, dateFormat } from '@/utils';
import { pick } from 'lodash';
import { getCurrentUserOperatorLog } from '@/api/user/mine';
import useCopy from '@/hooks/copy';
const emits = defineEmits(['viewDetail']);
const props = defineProps({
@@ -83,12 +85,13 @@
}
});
const tableColumns = ref();
const tableRenderData = ref<OperatorLogQueryResponse[]>([]);
const pagination = usePagination();
const { loading, setLoading } = useLoading();
const { getDictValue } = useDictStore();
const { copy } = useCopy();
const tableColumns = ref();
const tableRenderData = ref<OperatorLogQueryResponse[]>([]);
// 查看详情
const viewDetail = (record: OperatorLogQueryResponse) => {

View File

@@ -49,7 +49,7 @@ const columns = [
ellipsis: true,
tooltip: true,
}, {
title: '创建时间',
title: '操作时间',
dataIndex: 'createTime',
slotName: 'createTime',
align: 'center',