|
|
@ -4,7 +4,8 @@ |
|
|
|
<template #bodyCell="{ column, record }"> |
|
|
|
<template #bodyCell="{ column, record }"> |
|
|
|
<template v-if="column.key === 'name'"> |
|
|
|
<template v-if="column.key === 'name'"> |
|
|
|
{{ record.name }} |
|
|
|
{{ record.name }} |
|
|
|
<a-button size="small" |
|
|
|
<a-button v-if="record.rollBack" |
|
|
|
|
|
|
|
size="small" |
|
|
|
type="primary" |
|
|
|
type="primary" |
|
|
|
@click="handleRollBackTask(record)" |
|
|
|
@click="handleRollBackTask(record)" |
|
|
|
>回滚任务</a-button> |
|
|
|
>回滚任务</a-button> |
|
|
|