feat(M08-B): 补保洁员选择器
This commit is contained in:
@@ -57,7 +57,17 @@ for (const route of [
|
||||
}
|
||||
|
||||
const tasks = read('admin/src/components/CleaningTasksPanel.vue');
|
||||
for (const pattern of ['指派', '验收', '驳回', '回收', '成员', '协作者管理', 'photoUrls']) {
|
||||
for (const pattern of [
|
||||
'指派',
|
||||
'验收',
|
||||
'驳回',
|
||||
'回收',
|
||||
'成员',
|
||||
'协作者管理',
|
||||
'photoUrls',
|
||||
'el-select',
|
||||
'cleanerLabel'
|
||||
]) {
|
||||
assert.match(tasks, new RegExp(pattern.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')));
|
||||
}
|
||||
|
||||
@@ -73,7 +83,9 @@ for (const pattern of [
|
||||
'getCleaningSettlementDetail',
|
||||
'微信转账预检',
|
||||
'preflightWechatTransfer',
|
||||
'MOCK'
|
||||
'MOCK',
|
||||
'el-select',
|
||||
'cleanerLabel'
|
||||
]) {
|
||||
assert.match(settlements, new RegExp(pattern.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')));
|
||||
}
|
||||
@@ -110,6 +122,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, /@media \(max-width: 980px\)/);
|
||||
assert.match(styles, /@media \(max-width: 560px\)/);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user