修改
This commit is contained in:
parent
f84d557a0a
commit
23addd719c
3
src/views/monitor/cache/index.vue
vendored
3
src/views/monitor/cache/index.vue
vendored
@ -49,9 +49,6 @@
|
|||||||
<a-card :bordered="false">
|
<a-card :bordered="false">
|
||||||
<template #title>
|
<template #title>
|
||||||
<div class="flex items-center">
|
<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" />
|
<DashboardOutlined style="margin-right: 6px" />
|
||||||
内存信息
|
内存信息
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-drawer v-model:visible="props.visible" title="调度日志" :width="size" @close="dialogClose">
|
<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" />
|
<BasicForm @register="register" @submit="handleSubmit" @reset="handleReset" />
|
||||||
</el-card>
|
</a-card>
|
||||||
<el-card :bordered="false" class="proCard">
|
<a-card :bordered="false" class="proCard">
|
||||||
<BasicTable
|
<BasicTable
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:request="loadDataTable"
|
:request="loadDataTable"
|
||||||
@ -12,20 +12,18 @@
|
|||||||
:row-selection="{ onChange: onSelectionChange }"
|
:row-selection="{ onChange: onSelectionChange }"
|
||||||
>
|
>
|
||||||
<template #tableTitle>
|
<template #tableTitle>
|
||||||
<el-button type="danger" @click="handleDelete()" :disabled="!selectionData.length">
|
<a-button type="danger" @click="handleDelete()" :disabled="!selectionData.length">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<el-icon class="el-input__icon">
|
<DeleteOutlined />
|
||||||
<Delete />
|
|
||||||
</el-icon>
|
|
||||||
</template>
|
</template>
|
||||||
删除
|
删除
|
||||||
</el-button>
|
</a-button>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
<template v-if="column.key === 'action'">
|
<template v-if="column.key === 'action'">
|
||||||
<a-space>
|
<a-space>
|
||||||
<a-button type="primary" @click="handleDetail(record.id)">
|
<a-button type="primary" @click="handleDetail(record.id)">
|
||||||
<template #icon><EditOutlined /></template>
|
<template #icon><EyeOutlined /></template>
|
||||||
详情
|
详情
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button type="primary" danger @click="handleDelete(record.id)">
|
<a-button type="primary" danger @click="handleDelete(record.id)">
|
||||||
@ -36,7 +34,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</BasicTable>
|
</BasicTable>
|
||||||
</el-card>
|
</a-card>
|
||||||
<editDialog v-if="editVisible" :logId="logId" v-model:visible="editVisible" />
|
<editDialog v-if="editVisible" :logId="logId" v-model:visible="editVisible" />
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
</template>
|
</template>
|
||||||
@ -45,7 +43,7 @@
|
|||||||
import { reactive, ref, h, nextTick, defineAsyncComponent } from 'vue';
|
import { reactive, ref, h, nextTick, defineAsyncComponent } from 'vue';
|
||||||
import { schemas } from './querySchemas';
|
import { schemas } from './querySchemas';
|
||||||
import { useForm } from '@/components/Form/index';
|
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 { getJobLogList, jobLogDelete, jobLogBatchDelete } from '@/api/monitor/job';
|
||||||
import { columns } from './columns';
|
import { columns } from './columns';
|
||||||
import { Modal, message } from 'ant-design-vue';
|
import { Modal, message } from 'ant-design-vue';
|
||||||
|
Loading…
Reference in New Issue
Block a user