mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-23 17:31:11 +01:00
added part of the system tasks logic
This commit is contained in:
@@ -13,7 +13,8 @@ const state = {
|
||||
node_id: '',
|
||||
spider_id: '',
|
||||
status: '',
|
||||
schedule_id: ''
|
||||
schedule_id: '',
|
||||
type: 'spider'
|
||||
},
|
||||
// pagination
|
||||
pageNum: 1,
|
||||
@@ -174,7 +175,8 @@ const actions = {
|
||||
node_id: state.filter.node_id || undefined,
|
||||
spider_id: state.filter.spider_id || undefined,
|
||||
status: state.filter.status || undefined,
|
||||
schedule_id: state.filter.schedule_id || undefined
|
||||
schedule_id: state.filter.schedule_id || undefined,
|
||||
type: state.filter.type || undefined
|
||||
})
|
||||
.then(response => {
|
||||
commit('SET_TASK_LIST', response.data.data || [])
|
||||
|
||||
Reference in New Issue
Block a user