This commit is contained in:
shijingjing
2022-06-11 14:42:04 +08:00
parent 96f565bbe4
commit 9a2623232c
2 changed files with 2 additions and 1 deletions

View File

@@ -36,6 +36,7 @@
:tableData="tableData"
:col-configs="colConfigs"
:total="total"
:isShowPagination="false"
@getList="getDetail">
</ai-table>
</template>

View File

@@ -14,7 +14,7 @@
:current.sync="page.current" :size.sync="page.size" @getList="getList"
@selection-change="(v) => (ids = v.map((e) => e.id))">
<el-table-column slot="options" label="操作" align="center" width="280" fixed="right">
<template slot-scope="{ row }" v-if="row.taskType == 1">
<template slot-scope="{ row }" v-if="row.taskType == 1 && (row.broadcastStatus == 0 || row.broadcastStatus == 1 || row.broadcastStatus == 2 )">
<el-button type="text" @click="reset(row.id)">撤回任务</el-button>
</template>
</el-table-column>