|
@@ -58,7 +58,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<template v-if="scope.row.status === 0">
|
|
|
<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>
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-edit" @click="handleStop(scope.row)">终止</el-button>
|
|
|
</template>
|
|
|
<template v-else-if="scope.row.status === 2">
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="goRealTime(scope.row)">测流成果</el-button>
|
|
@@ -144,11 +144,11 @@ export default {
|
|
|
window.open(`${process.env.VUE_APP_BASE_API}/achievement/downAchievement?resultId=${task.resultId}`, '_blank')
|
|
|
},
|
|
|
handleStop(task) {
|
|
|
- this.$modal.confirm('是否确认中止编号为"' + task.taskid + '"的测流任务?').then(function() {
|
|
|
+ this.$modal.confirm('是否确认终止编号为"' + task.taskid + '"的测流任务?').then(function() {
|
|
|
return taskAction(task.siteId, 0);
|
|
|
}).then(() => {
|
|
|
this.getList();
|
|
|
- this.$modal.msgSuccess("中止成功");
|
|
|
+ this.$modal.msgSuccess("终止成功");
|
|
|
}).catch(() => {});
|
|
|
},
|
|
|
}
|