feat(M08-B): 补任务免清洁
This commit is contained in:
@@ -33,6 +33,7 @@ for (const pattern of [
|
||||
'handleSyncTransferMany',
|
||||
'handleCompleteMany',
|
||||
'handleRejectMany',
|
||||
'handleExempt',
|
||||
'运营待处理',
|
||||
'jumpToTaskStatus',
|
||||
'jumpToSettlementStatus',
|
||||
@@ -62,6 +63,7 @@ for (const route of [
|
||||
'/assign',
|
||||
'/complete',
|
||||
'/reject',
|
||||
'/exempt',
|
||||
'/members',
|
||||
'/cleaning/reclaim-timeouts',
|
||||
'/cleaning/settlements?',
|
||||
@@ -94,6 +96,9 @@ for (const pattern of [
|
||||
'selectedSubmittedTasks',
|
||||
'complete-many',
|
||||
'reject-many',
|
||||
'exempt',
|
||||
'canExempt',
|
||||
'EXEMPT',
|
||||
'photo-grid',
|
||||
'timeline-grid',
|
||||
'el-image',
|
||||
@@ -212,7 +217,10 @@ for (const pattern of [
|
||||
'completedTaskCount',
|
||||
'rejectedTaskCount',
|
||||
"t.status IN ('COMPLETED', 'SETTLED')",
|
||||
"t.status = 'REJECTED'"
|
||||
"t.status = 'REJECTED'",
|
||||
'async exempt',
|
||||
"status = 'EXEMPT'",
|
||||
'reward_cents = 0'
|
||||
]) {
|
||||
assert.match(cleaningRepository, new RegExp(pattern.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user