feat(M08-B): 补保洁员选择器

This commit is contained in:
Codex
2026-06-30 17:22:31 +08:00
parent 335adcdc22
commit dac353d184
9 changed files with 161 additions and 19 deletions
+16 -2
View File
@@ -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\)/);