|
@@ -84,8 +84,8 @@
|
|
|
<!-- <el-button type="text" size="small"
|
|
|
@click="install(scope.row.algorithmTrainingId)">安装</el-button> -->
|
|
|
|
|
|
- <el-button v-if="isAuth('train:run')" type="text" size="small" :disabled="scope.row.missStatus==1?false:true"
|
|
|
- @click="runtrain(scope.row.algorithmTrainingId,scope.row.algFrameId,scope.row.algorithmId)">运行</el-button>
|
|
|
+ <el-button v-if="isAuth('train:run')" type="text" size="small"
|
|
|
+ @click="runtrain(scope.row.algorithmTrainingId,scope.row.algFrameId,scope.row.algorithmId)">{{ scope.row.hasRun !==null ? '再次运行' : '运行' }}</el-button>
|
|
|
|
|
|
<el-button v-if="isAuth('train:stop')" type="text" size="small" :disabled="scope.row.missStatus==2?false:true"
|
|
|
@click="pauseHandle(scope.row.algorithmTrainingId)">暂停</el-button>
|
|
@@ -519,9 +519,9 @@ export default {
|
|
|
algorithmTrainingId:id
|
|
|
}),
|
|
|
}).then(({data})=>{
|
|
|
-
|
|
|
});
|
|
|
});
|
|
|
+ this.getDataList();
|
|
|
}).catch(() => {})
|
|
|
|
|
|
|