|
@@ -19,7 +19,13 @@
|
|
|
</template>
|
|
|
<!-- 表格操作 -->
|
|
|
<template #operation="scope">
|
|
|
- <el-button type="primary" link icon="View" @click="startVideoStable(scope.row)" v-if="scope.row.status == '0' || scope.row.status == '3'">
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ link
|
|
|
+ icon="View"
|
|
|
+ @click="startVideoStable(scope.row)"
|
|
|
+ v-if="scope.row.status == '0' || scope.row.status == '3' || scope.row.status == '4'"
|
|
|
+ >
|
|
|
开始
|
|
|
</el-button>
|
|
|
<el-popconfirm title="确定终止此任务吗?" @confirm="stopVideoStable(scope.row)" v-if="scope.row.status == '1'">
|
|
@@ -260,7 +266,7 @@ const statusEnums: EnumProps[] = [
|
|
|
tagType: 'primary'
|
|
|
},
|
|
|
{
|
|
|
- label: '已结束',
|
|
|
+ label: '完成',
|
|
|
value: '2',
|
|
|
disabled: false,
|
|
|
tagType: 'success'
|
|
@@ -270,6 +276,12 @@ const statusEnums: EnumProps[] = [
|
|
|
value: '3',
|
|
|
disabled: false,
|
|
|
tagType: 'danger'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '已中断',
|
|
|
+ value: '4',
|
|
|
+ disabled: false,
|
|
|
+ tagType: 'default'
|
|
|
}
|
|
|
]
|
|
|
|