|
@@ -192,18 +192,19 @@ export default {
|
|
|
if (item.loading === true) {
|
|
|
return
|
|
|
}
|
|
|
- const { id, type } = item
|
|
|
+ const { id } = item
|
|
|
// const { id, type } = Object.values(item.nodeProperty).pop()
|
|
|
item.loading = true
|
|
|
- if (type === 'data_resource') {
|
|
|
- await this.handleRunResource(id)
|
|
|
- }
|
|
|
- if (type === 'modelTraining') {
|
|
|
- await this.sourceModelTrain(id)
|
|
|
- }
|
|
|
- if (type === 'readUnstructuredResource') {
|
|
|
- await this.handleRunUnstructuredResource(id)
|
|
|
- }
|
|
|
+ await this.handleRunResource(id)
|
|
|
+ // if (type === 'data_resource') {
|
|
|
+ // await this.handleRunResource(id)
|
|
|
+ // }
|
|
|
+ // if (type === 'data_model') {
|
|
|
+ // await this.sourceModelTrain(id)
|
|
|
+ // }
|
|
|
+ // if (type === 'readUnstructuredResource') {
|
|
|
+ // await this.handleRunUnstructuredResource(id)
|
|
|
+ // }
|
|
|
item.loading = false
|
|
|
},
|
|
|
// 结构化 运行
|