|
@@ -52,11 +52,15 @@
|
|
|
<span class="status-circle"></span>
|
|
|
<span class="status-text">已完成</span>
|
|
|
</span>
|
|
|
+ <span class="status status-running" v-else-if="scope.row.status === 3">
|
|
|
+ <span class="status-circle"></span>
|
|
|
+ <span class="status-text">已暂停</span>
|
|
|
+ </span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
- <template v-if="scope.row.status === 0">
|
|
|
+ <template v-if="scope.row.status === 0 || scope.row.status === 3">
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="goRealTime(scope.row)">实时动态</el-button>
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleStop(scope.row)">终止</el-button>
|
|
|
</template>
|