优化日志详情

This commit is contained in:
zjl 2024-12-14 14:08:37 +08:00
parent 3708eef589
commit a657c26329
6 changed files with 110 additions and 11 deletions

View File

@ -62,7 +62,25 @@
import { onMounted, ref } from 'vue';
const emit = defineEmits(['success', 'update:visible']);
const formData = ref({});
/**
* 定义表单参数
*/
const formData = ref({
title: '',
type: '',
code: '',
receiveEmail: '',
receiveType: '',
consumeTime: '',
bizType: 0,
bizId: 0,
status: 0,
bizContent: '',
param: '',
result: '',
error: '',
});
/**
* 定义接收的参数

View File

@ -59,7 +59,24 @@
import { onMounted, ref } from 'vue';
const emit = defineEmits(['success', 'update:visible']);
const formData = ref({});
/**
* 定义表单参数
*/
const formData = ref({
filePath: '',
originalName: '',
fileType: '',
fileSize: '',
consumeTime: '',
bizType: 0,
bizId: 0,
bizContent: '',
status: 0,
param: '',
result: '',
error: '',
});
/**
* 定义接收的参数

View File

@ -61,15 +61,30 @@
</el-dialog>
</template>
<script lang="ts" setup>
import type { FormInstance } from 'element-plus';
import { getSmsLogDetail } from '@/api/logger/smsLog';
import { onMounted, ref, shallowRef } from 'vue';
import { message } from '@/utils/auth';
import { useLockFn } from '@/utils/useLockFn';
const emit = defineEmits(['success', 'update:visible']);
const formRef = shallowRef<FormInstance>();
const formData = ref({});
/**
* 定义表单参数
*/
const formData = ref({
title: '',
type: '',
typeText: '',
number: '',
receiveMobile: '',
receiveType: '',
consumeTime: '',
bizType: 0,
bizId: 0,
status: 0,
bizContent: '',
param: '',
result: '',
error: '',
});
/**
* 定义接收的参数

View File

@ -1,7 +1,7 @@
<template>
<el-dialog
v-model="props.visible"
title="执行日志详情"
title="日志详情"
width="750"
:close-on-click-modal="false"
:before-close="dialogClose"
@ -53,7 +53,24 @@
import { onMounted, ref } from 'vue';
const emit = defineEmits(['success', 'update:visible']);
const formData = ref({});
/**
* 定义表单参数
*/
const formData = ref({
id: '',
jobName: '',
jobGroup: '',
jobTrigger: '',
jobMessage: '',
status: '',
cronExpression: '',
startTime: '',
endTime: '',
createTime: '',
consumeTime: '',
exceptionInfo: '',
});
/**
* 定义接收的参数

View File

@ -53,7 +53,23 @@
import { onMounted, ref } from 'vue';
const emit = defineEmits(['success', 'update:visible']);
const formData = ref({});
/**
* 定义表单参数
*/
const formData = ref({
createUser: '',
ip: '',
os: '',
browser: '',
consumeTime: '',
location: '',
requestMethod: '',
status: '',
method: '',
param: '',
result: '',
});
/**
* 定义接收的参数

View File

@ -65,7 +65,23 @@
import { onMounted, ref } from 'vue';
const emit = defineEmits(['success', 'update:visible']);
const formData = ref({});
/**
* 定义表单参数
*/
const formData = ref({
title: '',
createUser: '',
ip: '',
os: '',
browser: '',
consumeTime: '',
requestMethod: '',
status: '',
method: '',
param: '',
result: '',
});
/**
* 定义接收的参数