定时任务
This commit is contained in:
parent
47589c5d11
commit
408a320001
|
|
@ -16,6 +16,9 @@
|
|||
<el-form-item label="是否记录日志" prop="skip_log">
|
||||
<el-switch v-model="form.skip_log" :active-value="1" :inactive-value="0"></el-switch>
|
||||
</el-form-item>
|
||||
<el-form-item label="是否启用" prop="enable">
|
||||
<el-switch v-model="form.enable" :active-value="1" :inactive-value="0"></el-switch>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注" prop="memo">
|
||||
<el-input type="textarea" v-model="form.memo" placeholder="请输入备注" clearable></el-input>
|
||||
</el-form-item>
|
||||
|
|
@ -52,7 +55,7 @@ let form = ref({
|
|||
crontab_id: null,
|
||||
crontab_name: '',
|
||||
singleton: 1,
|
||||
enable: 0,
|
||||
enable: 1,
|
||||
skip_log: 1,
|
||||
rule: '',
|
||||
callback: ''
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<pi-table ref="tableRef" :apiObj="api.system.crontab_log.list" @selection-change="selectionChange">
|
||||
<pi-table ref="tableRef" :apiObj="api.system.crontab_log.list" :params="search" @selection-change="selectionChange">
|
||||
<template #do>
|
||||
<el-button v-auth="'crontab:log:del'" type="danger" plain icon="el-icon-delete"
|
||||
:disabled="selection.length===0" @click="batch_del">删除</el-button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue