feat(M08-B): 补任务结算筛选
This commit is contained in:
@@ -38,6 +38,8 @@ const api = read('admin/src/api.ts');
|
||||
for (const route of [
|
||||
'/cleaning/tasks?',
|
||||
'/cleaning/statistics',
|
||||
'storeId',
|
||||
'cleanerUserId',
|
||||
'/users?',
|
||||
'/staff',
|
||||
'/reset-sessions',
|
||||
@@ -66,7 +68,10 @@ for (const pattern of [
|
||||
'协作者管理',
|
||||
'photoUrls',
|
||||
'el-select',
|
||||
'cleanerLabel'
|
||||
'cleanerLabel',
|
||||
'filterDraft',
|
||||
'门店 ID',
|
||||
'筛选'
|
||||
]) {
|
||||
assert.match(tasks, new RegExp(pattern.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')));
|
||||
}
|
||||
@@ -85,7 +90,10 @@ for (const pattern of [
|
||||
'preflightWechatTransfer',
|
||||
'MOCK',
|
||||
'el-select',
|
||||
'cleanerLabel'
|
||||
'cleanerLabel',
|
||||
'filterDraft',
|
||||
'门店 ID',
|
||||
'筛选'
|
||||
]) {
|
||||
assert.match(settlements, new RegExp(pattern.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')));
|
||||
}
|
||||
@@ -124,6 +132,8 @@ for (const pattern of [
|
||||
const styles = read('admin/src/styles.css');
|
||||
assert.match(styles, /\.cleaner-select/);
|
||||
assert.match(styles, /\.option-row/);
|
||||
assert.match(styles, /\.filter-select/);
|
||||
assert.match(styles, /\.narrow-input/);
|
||||
assert.match(styles, /@media \(max-width: 980px\)/);
|
||||
assert.match(styles, /@media \(max-width: 560px\)/);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user