feat(M08-B): 补保洁员绩效排行
This commit is contained in:
@@ -186,6 +186,15 @@ for (const pattern of [
|
||||
'paidSettlementCents',
|
||||
'门店明细',
|
||||
'成员分账',
|
||||
'保洁员绩效排行',
|
||||
'cleanerPerformanceRows',
|
||||
'completionRate',
|
||||
'filterByCleaner',
|
||||
'exportCleanerPerformance',
|
||||
'cleaning-cleaner-performance',
|
||||
'completedTaskCount',
|
||||
'rejectedTaskCount',
|
||||
'导出排行',
|
||||
'pendingSettlementCents',
|
||||
'filterDraft.cleanerUserId',
|
||||
'cleanerLabel',
|
||||
@@ -198,6 +207,16 @@ for (const pattern of [
|
||||
assert.match(statistics, new RegExp(pattern.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')));
|
||||
}
|
||||
|
||||
const cleaningRepository = read('backend/src/cleaning/cleaning-task-repository.ts');
|
||||
for (const pattern of [
|
||||
'completedTaskCount',
|
||||
'rejectedTaskCount',
|
||||
"t.status IN ('COMPLETED', 'SETTLED')",
|
||||
"t.status = 'REJECTED'"
|
||||
]) {
|
||||
assert.match(cleaningRepository, new RegExp(pattern.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')));
|
||||
}
|
||||
|
||||
const cleaners = read('admin/src/components/CleanersPanel.vue');
|
||||
for (const pattern of [
|
||||
'新增保洁员',
|
||||
@@ -356,6 +375,9 @@ assert.match(styles, /\.handoff-verdict/);
|
||||
assert.match(styles, /\.handoff-status-select/);
|
||||
assert.match(styles, /\.handoff-bulk-form/);
|
||||
assert.match(styles, /\.handoff-blockers/);
|
||||
assert.match(styles, /\.cleaner-performance-board/);
|
||||
assert.match(styles, /\.cleaner-performance-grid/);
|
||||
assert.match(styles, /\.cleaner-performance-card/);
|
||||
assert.match(styles, /\.hidden-file-input/);
|
||||
assert.match(styles, /\.transfer-preflight-alert/);
|
||||
assert.match(styles, /@media \(max-width: 980px\)/);
|
||||
|
||||
Reference in New Issue
Block a user