vue3:review 代码生成、文件配置、文件列表、配置管理、访问日志、错误日志、定时任务

This commit is contained in:
YunaiV
2022-11-26 23:05:29 +08:00
parent c5f1cad033
commit e1a05c1374
11 changed files with 32 additions and 3 deletions

View File

@@ -58,18 +58,21 @@
v-hasPermi="['infra:job:delete']"
@click="handleDelete(row.id)"
/>
<!-- 操作执行 -->
<XTextButton
preIcon="ep:view"
title="执行一次"
v-hasPermi="['infra:job:trigger']"
@click="handleRun(row)"
/>
<!-- 操作日志 -->
<XTextButton
preIcon="ep:view"
title="调度日志"
v-hasPermi="['infra:job:query']"
@click="handleJobLog(row.id)"
/>
<!-- TODO @星语执行一次任务详情调度日志可以收成更多 -->
</template>
</vxe-grid>
</ContentWrap>
@@ -97,6 +100,7 @@
<template #monitorTimeout="{ row }">
<span>{{ row.monitorTimeout > 0 ? row.monitorTimeout + ' 毫秒' : '未开启' }}</span>
</template>
<!-- TODO @星语有个后续执行时间字段2022-11-26 23:03:16; 2022-11-26 23:03:17; 2022-11-26 23:03:18; 2022-11-26 23:03:19; 2022-11-26 23:03:20 -->
</Descriptions>
<!-- 操作按钮 -->
<template #footer>

View File

@@ -16,6 +16,7 @@ export const rules = reactive({
const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id',
primaryType: 'seq',
primaryTitle: '任务编号',
action: true,
actionWidth: '500px',
columns: [

View File

@@ -8,6 +8,7 @@ const { t } = useI18n()
const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id',
primaryType: 'seq',
primaryTitle: '日志编号',
action: true,
columns: [
{