This commit is contained in:
陈红丽 2024-11-18 17:10:03 +08:00
parent f84d557a0a
commit 23addd719c
2 changed files with 9 additions and 14 deletions

View File

@ -49,9 +49,6 @@
<a-card :bordered="false">
<template #title>
<div class="flex items-center">
<a-icon class="a-input__icon" size="16px" style="margin-right: 6px">
<Odometer />
</a-icon>
<DashboardOutlined style="margin-right: 6px" />
内存信息
</div>

View File

@ -1,9 +1,9 @@
<template>
<a-drawer v-model:visible="props.visible" title="调度日志" :width="size" @close="dialogClose">
<el-card :bordered="false" class="pt-3 mb-3 proCard">
<a-card :bordered="false" class="pt-3 mb-3 proCard">
<BasicForm @register="register" @submit="handleSubmit" @reset="handleReset" />
</el-card>
<el-card :bordered="false" class="proCard">
</a-card>
<a-card :bordered="false" class="proCard">
<BasicTable
:columns="columns"
:request="loadDataTable"
@ -12,20 +12,18 @@
:row-selection="{ onChange: onSelectionChange }"
>
<template #tableTitle>
<el-button type="danger" @click="handleDelete()" :disabled="!selectionData.length">
<a-button type="danger" @click="handleDelete()" :disabled="!selectionData.length">
<template #icon>
<el-icon class="el-input__icon">
<Delete />
</el-icon>
<DeleteOutlined />
</template>
删除
</el-button>
</a-button>
</template>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">
<a-space>
<a-button type="primary" @click="handleDetail(record.id)">
<template #icon><EditOutlined /></template>
<template #icon><EyeOutlined /></template>
详情
</a-button>
<a-button type="primary" danger @click="handleDelete(record.id)">
@ -36,7 +34,7 @@
</template>
</template>
</BasicTable>
</el-card>
</a-card>
<editDialog v-if="editVisible" :logId="logId" v-model:visible="editVisible" />
</a-drawer>
</template>
@ -45,7 +43,7 @@
import { reactive, ref, h, nextTick, defineAsyncComponent } from 'vue';
import { schemas } from './querySchemas';
import { useForm } from '@/components/Form/index';
import { PlusOutlined, EditOutlined, DeleteOutlined } from '@ant-design/icons-vue';
import { PlusOutlined, EyeOutlined, DeleteOutlined } from '@ant-design/icons-vue';
import { getJobLogList, jobLogDelete, jobLogBatchDelete } from '@/api/monitor/job';
import { columns } from './columns';
import { Modal, message } from 'ant-design-vue';