mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-28 17:50:56 +01:00
This commit is contained in:
@@ -12,7 +12,8 @@ const state = {
|
||||
// filter
|
||||
filter: {
|
||||
node_id: '',
|
||||
spider_id: ''
|
||||
spider_id: '',
|
||||
status: ''
|
||||
},
|
||||
// pagination
|
||||
pageNum: 1,
|
||||
@@ -89,7 +90,8 @@ const actions = {
|
||||
page_num: state.pageNum,
|
||||
page_size: state.pageSize,
|
||||
node_id: state.filter.node_id || undefined,
|
||||
spider_id: state.filter.spider_id || undefined
|
||||
spider_id: state.filter.spider_id || undefined,
|
||||
status: state.filter.status || undefined
|
||||
})
|
||||
.then(response => {
|
||||
commit('SET_TASK_LIST', response.data.data || [])
|
||||
|
||||
Reference in New Issue
Block a user