@@ -396,6 +428,17 @@
>
{{ $t('Batch Run') }}
+
+ {{ $t('Set Projects') }}
+
{
+ if (!valid) return
+ await this.$store.dispatch('spider/setProjects', {
+ projectId: this.form.projectId,
+ spiderIds: this.selectedSpiders.map(d => d._id)
+ })
+ this.setProjectsVisible = false
+ this.isMultiple = false
+ await this.getList()
+ })
}
}
}