|
|
@@ -46,7 +46,7 @@
|
|
|
@click="$router.push(`${$route.path}/record/${scope.row.id}`)"
|
|
|
>详情</el-button>
|
|
|
<el-divider direction="vertical"/>
|
|
|
- <el-button type="text" class="stop-record-button"
|
|
|
+ <el-button type="text" class="stop-record-button" :disabled="scope.row.status!==`RUNNING`"
|
|
|
@click="handleStopRecordButtonClick(scope.row.id)">
|
|
|
停止
|
|
|
</el-button>
|
|
|
@@ -113,7 +113,7 @@ export default {
|
|
|
// 点击"停止"按钮,停止当前提交的运行;
|
|
|
async handleStopRecordButtonClick(recordId){
|
|
|
const res = (await this.$apis.stopRecordById(recordId)).data;
|
|
|
- console.log(res);
|
|
|
+ this.fetchData();
|
|
|
},
|
|
|
}
|
|
|
};
|