任务列表
This commit is contained in:
parent
6acd42544a
commit
b123bb2131
@ -174,19 +174,17 @@
|
|||||||
<el-table-column align="center" label="操作" width="340">
|
<el-table-column align="center" label="操作" width="340">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button
|
<el-button
|
||||||
v-if="scope.row.taskStatus === 0 || scope.row.taskStatus === 1"
|
:disabled="scope.row.taskStatus !== 0 && scope.row.taskStatus !== 1"
|
||||||
type="warning"
|
type="warning"
|
||||||
@click="cancelTask(props.row, scope.row)"
|
@click="cancelTask(props.row, scope.row)"
|
||||||
>取消任务</el-button
|
>取消任务</el-button
|
||||||
>
|
>
|
||||||
<el-popover
|
<el-popover placement="right" :width="300" trigger="click">
|
||||||
placement="right"
|
|
||||||
:width="300"
|
|
||||||
trigger="click"
|
|
||||||
v-if="scope.row.taskStatus === 0 || scope.row.taskStatus === 1"
|
|
||||||
>
|
|
||||||
<template #reference>
|
<template #reference>
|
||||||
<el-button type="primary" @click="modifyPriority(props.row, scope.row)"
|
<el-button
|
||||||
|
:disabled="scope.row.taskStatus !== 0 && scope.row.taskStatus !== 1"
|
||||||
|
type="primary"
|
||||||
|
@click="modifyPriority(props.row, scope.row)"
|
||||||
>修改优先级</el-button
|
>修改优先级</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
@ -203,7 +201,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="success"
|
type="success"
|
||||||
@click="finishTask(props.row, scope.row)"
|
@click="finishTask(props.row, scope.row)"
|
||||||
v-if="scope.row.taskStatus === 0 || scope.row.taskStatus === 1"
|
:disabled="scope.row.taskStatus !== 0 && scope.row.taskStatus !== 1"
|
||||||
>人工完成</el-button
|
>人工完成</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user