更改推送日志功能

This commit is contained in:
chenxing
2026-08-17 22:54:49 +08:00
parent 4b73cc7b29
commit 58a606764b
2 changed files with 26 additions and 36 deletions
+6 -5
View File
@@ -2,8 +2,8 @@
<div class="main-wrapper">
<div class="main-container">
<div class="search-wrap fix">
<Select v-model="dataParams.appKey" class="ml-12" clearable filterable placeholder="应用" style="width: 180px"
@on-change="handleSearch">
<Select v-model="dataParams.appKey" class="ml-12" clearable filterable placeholder="应用"
style="width: 180px" @on-change="handleSearch">
<Option v-for="opt in appOptions" :key="opt.value" :value="opt.value">{{ opt.label }}</Option>
</Select>
@@ -117,7 +117,7 @@ const tableHeight = ref($utils.useTableHeight({ isOperat: false, isPage: true, i
const columns = [
{ type: 'index', title: '序号', width: 70, align: 'center' },
{ title: '应用', key: 'appName', width: 160, ellipsis: true, tooltip: true },
{ title: '应用', key: 'appName', ellipsis: true, tooltip: true },
{
title: '接口',
key: 'interfaceLabel',
@@ -138,7 +138,7 @@ const columns = [
{
title: '日志时间',
key: 'createdAt',
width: 170,
width: 200,
render: (h: any, { row }: any) =>
h('span', row.createdAt ? Utils.dateFormat(row.createdAt, 'yyyy-MM-dd HH:mm:ss') : '-'),
},
@@ -163,7 +163,7 @@ const columns = [
align: 'left',
render: (h: any, { row }: any) => {
const actions = [
h('a', { style: { color: '#577afb', marginRight: '12px' }, onClick: () => openDetail(row) }, '详情'),
h('a', { style: { color: '#577afb', marginRight: '12px' }, onClick: () => openDetail(row) }, '查看详情'),
];
if (row.success !== 1) {
actions.push(
@@ -211,6 +211,7 @@ loadApps();
<style lang="scss" scoped>
.search-wrap {
.ivu-select,
.ivu-input-wrapper,
.ivu-date-picker {