更换定时任务执行一次、日志按钮顺序
This commit is contained in:
parent
7b11616672
commit
6ec7b2e0c8
@ -56,7 +56,12 @@
|
||||
<template #icon><FieldTimeOutlined /></template>
|
||||
暂停
|
||||
</a-button>
|
||||
<a-button type="primary" @click="handleEdit(record.id)" v-perm="['sys:job:update']" :disabled='record.status == 1?true:false'>
|
||||
<a-button
|
||||
type="primary"
|
||||
@click="handleEdit(record.id)"
|
||||
v-perm="['sys:job:update']"
|
||||
:disabled="record.status == 1 ? true : false"
|
||||
>
|
||||
<template #icon><EditOutlined /></template>
|
||||
编辑
|
||||
</a-button>
|
||||
@ -70,17 +75,15 @@
|
||||
删除
|
||||
</a-button>
|
||||
<a-dropdown>
|
||||
<a-button class="ant-dropdown-link" @click.prevent>
|
||||
更多<DownOutlined />
|
||||
</a-button>
|
||||
<a-button class="ant-dropdown-link" @click.prevent> 更多<DownOutlined /> </a-button>
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item>
|
||||
<a href="javascript:;" @click="handleJobLog(record.id)">调度日志</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item v-if="record.status == 2">
|
||||
<a href="javascript:;" @click="handelRunOnce(record.id)">执行一次</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item>
|
||||
<a href="javascript:;" @click="handleJobLog(record.id)">调度日志</a>
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
</template>
|
||||
</a-dropdown>
|
||||
|
Loading…
Reference in New Issue
Block a user